/* 시세 분석 (마켓) — 선수 DB(player_db.css)의 .pp · .enb · .dcd · .dd-* · .dbp-mt · .dbs 를 그대로 쓰고, 여기엔 이 화면에만 있는 것만 둔다. pxa- 접두사.
   색 토큰(--pt-*)은 player_tier.css 의 .pt-root 값과 같게 .pxa-root 에 한 번 더 둔다 (이 화면은 선수 티어 페이지 밖이라서). */
.pxa-root {
    --pt-panel: var(--bg-card); --pt-ink: var(--text-primary); --pt-mut: var(--text-secondary); --pt-line: var(--border-color);
    --pt-inset: #f1f5f9; --pt-inset2: #e8eef7; --pt-hover: #eef3fb; --pt-th: #f4f7fb; --pt-line2: #e6ecf5; --pt-hero: #e6eeff; --pt-grid: #cbd5e6;
    --pt-green: #1fae45; --pt-blue: #3b6cf0; --pt-gold: #d99a00; --pt-track: #dbe3ef;
    max-width: 1040px; margin: 0 auto; padding: 18px 14px 40px; color: var(--pt-ink);
}
:root[data-theme="dark"] .pxa-root {
    --pt-inset: #0e1626; --pt-inset2: #0f192b; --pt-hover: #18233b; --pt-th: #101a2d; --pt-line2: #1c2740; --pt-hero: #17264a; --pt-grid: #2a3957;
    --pt-green: #34ce57; --pt-blue: #4f7cff; --pt-gold: #f5b301; --pt-track: #26334f;
}
.pxa-mk h1 { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.3px; }
.pxa-mk p { margin: 4px 0 0; color: var(--pt-mut); font-size: .9rem; }
/* 시세 분석 탭 — 선수 DB 탭(player_db.css)의 .pp · .enb · .lc · .dcd · .dd-* · .dbp-mt 를 그대로 쓰고, 여기엔 이 탭에만 있는 것만 둔다. pxa- 접두사 */
.pxa-panel { padding: 8px 0 0; --pf: #e5484d; --pm: #2fae6d; --pd: #3b82f6; --pg: #d99a00; --up: #e5484d; --dn: #3b82f6; }
:root[data-theme="dark"] .pxa-panel { --pf: #f0605f; --pm: #3ec584; --pd: #5b98f0; --pg: #f0b90f; --up: #f0605f; --dn: #5b98f0; }
.pxa-panel .g-fw { --gc: var(--pf); } .pxa-panel .g-mf { --gc: var(--pm); } .pxa-panel .g-df { --gc: var(--pd); } .pxa-panel .g-gk { --gc: var(--pg); }
.pxa-panel .up { color: var(--up); } .pxa-panel .dn { color: var(--dn); } .pxa-panel .mu { color: var(--pt-mut); }
.pxa-se { height: 20px; width: auto; max-width: 40px; object-fit: contain; vertical-align: middle; }
.pxa-card { border: 1px solid var(--pt-line); border-radius: 16px; background: var(--pt-panel); padding: 14px; margin-top: 12px; }
.pxa-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pxa-hd h4 { margin: 0; font-size: .98rem; font-weight: 800; }
.pxa-hd h4 small, .dd-h small { font-size: .7rem; font-weight: 600; color: var(--pt-mut); margin-left: 6px; }
.pxa-hd .dbp-mt { margin: 0; }
.pxa-conf { font-size: .68rem; font-weight: 800; color: var(--pt-gold); background: color-mix(in srgb, var(--pt-gold) 16%, transparent); padding: 2px 8px; border-radius: 999px; }
.pxa-lead { margin: 0 0 10px; font-size: .82rem; line-height: 1.55; color: var(--pt-mut); }
.pxa-lead b { color: var(--pt-ink); }
.pxa-ft { margin: 10px 2px 0; font-size: .72rem; line-height: 1.5; color: var(--pt-mut); }
.pxa-ft b { color: var(--pt-ink); }
/* 검색 */
.pxa-res { position: relative; z-index: 30; list-style: none; margin: 6px 0 0; padding: 4px; max-height: 330px; overflow: auto; border: 1px solid var(--pt-line); border-radius: 14px; background: var(--pt-panel); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.pxa-res[hidden] { display: none; }
.pxa-res .m { padding: 14px; text-align: center; color: var(--pt-mut); font-size: .84rem; }
.pxa-res button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--pt-ink); font: inherit; padding: 8px 10px; border-radius: 10px; cursor: pointer; text-align: left; }
.pxa-res button:hover { background: var(--pt-hover); }
.pxa-res .n { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pxa-res em { font-style: normal; font-weight: 800; color: var(--pt-mut); font-size: .84rem; }
.pxa-panel .dbq { margin-top: 10px; }
.pxa-panel .dbp-sub { padding-bottom: 10px; }
/* 선수 머리 */
.pxa-card .dd-head { margin-bottom: 14px; }
.pxa-chg { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pxa-chg span { font-size: .76rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--pt-inset); }
.dd-lvs .lc em { font-style: normal; font-size: .62rem; font-weight: 800; }
.pxa-card .dd-h { margin-top: 2px; }
/* 한눈에 */
.pxa-hl { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.pxa-tg { flex: none; padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 900; color: #fff; background: var(--pt-mut); }
.pxa-tg.hi { background: var(--up); } .pxa-tg.lo { background: var(--dn); }
.pxa-vd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pxa-v { background: var(--pt-inset); border-radius: 12px; padding: 12px; min-width: 0; }
.pxa-v h5 { margin: 0 0 10px; font-size: .78rem; font-weight: 800; color: var(--pt-mut); }
.pxa-v p { margin: 8px 0 0; font-size: .74rem; line-height: 1.5; color: var(--pt-mut); }
.pxa-v p b { color: var(--pt-ink); }
.pxa-g { position: relative; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--dn), var(--pt-track) 50%, var(--up)); }
.pxa-g i { position: absolute; top: -4px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; background: var(--pt-ink); box-shadow: 0 0 0 2px var(--pt-inset); }
.pxa-gl { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; font-size: .68rem; color: var(--pt-mut); gap: 4px; }
.pxa-gl em { font-style: normal; font-weight: 900; color: var(--pt-ink); }
.pxa-gl em.hi { color: var(--up); } .pxa-gl em.lo { color: var(--dn); }
.pxa-wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.pxa-wd span { text-align: center; padding: 6px 0; border-radius: 7px; font-size: .78rem; font-weight: 800; background: var(--pt-inset2); color: var(--pt-mut); }
.pxa-wd span.u { background: color-mix(in srgb, var(--up) 18%, transparent); color: var(--up); } .pxa-wd span.d { background: color-mix(in srgb, var(--dn) 18%, transparent); color: var(--dn); }
.pxa-wd span.t { outline: 2px solid var(--pt-ink); outline-offset: -2px; }
.pxa-big { font-size: 1.6rem; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pxa-big.mu { color: var(--pt-mut); }
/* 차트 */
.pxa-cw { position: relative; }
.pxa-svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-y; }
.pxa-svg text { font-size: 10px; fill: var(--pt-mut); font-weight: 600; }
.pxa-svg .gl { stroke: var(--pt-line2); stroke-width: 1; }
.pxa-svg .ln { fill: none; stroke: var(--pt-green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pxa-svg .ar { fill: url(#pxg); stroke: none; }
.pxa-svg .g1 { stop-color: var(--pt-green); stop-opacity: .3; } .pxa-svg .g2 { stop-color: var(--pt-green); stop-opacity: 0; }
.pxa-svg .dt { fill: var(--pt-green); stroke: var(--pt-panel); stroke-width: 2; }
.pxa-svg .pin { fill: var(--pt-panel); stroke: var(--pt-ink); stroke-width: 1.5; }
.pxa-svg .pt { fill: var(--pt-ink); font-weight: 800; }
.pxa-svg .ev { stroke-width: 1; opacity: .55; stroke-dasharray: 2 3; }
.pxa-svg .evn { fill: #fff; font-size: 9px; font-weight: 900; }
.pxa-svg .wk { stroke: var(--pt-grid); stroke-width: 1.4; } .pxa-svg .wk.lg { stroke: #f97316; stroke-width: 2; }
.pxa-svg .sh { fill: var(--pt-inset); } .pxa-svg .sht { font-size: 9.5px; }
.pxa-svg .fu { fill: var(--pt-green); fill-opacity: .07; } .pxa-svg .fut { fill: var(--pt-green); font-size: 9.5px; font-weight: 800; }
.pxa-svg .bd { fill: var(--pt-green); fill-opacity: .2; } .pxa-svg .md { fill: none; stroke: var(--pt-green); stroke-width: 1.6; stroke-dasharray: 4 3; }
.pxa-svg .cr { stroke: var(--pt-ink); stroke-width: 1; opacity: .5; }
.pxa-tip { position: absolute; top: 20px; z-index: 5; max-width: 230px; padding: 7px 10px; border-radius: 10px; background: var(--pt-ink); color: var(--pt-panel); font-size: .74rem; line-height: 1.45; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.pxa-tip[hidden] { display: none; }
.pxa-tip b { font-weight: 800; margin-right: 4px; }
.pxa-tip .te { display: flex; align-items: flex-start; gap: 5px; margin-top: 3px; font-weight: 600; }
.pxa-tip .te i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; }
.pxa-tip .te i.wki { background: #f97316; }
.pxa-leg { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: .72rem; color: var(--pt-mut); align-items: center; }
.pxa-leg button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--pt-line); background: transparent; color: var(--pt-ink); border-radius: 999px; padding: 3px 9px; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.pxa-leg button i { width: 8px; height: 8px; border-radius: 50%; }
.pxa-leg button.off { opacity: .4; text-decoration: line-through; }
.pxa-leg u { display: inline-block; width: 3px; height: 10px; background: var(--pt-grid); vertical-align: middle; margin: 0 3px 0 6px; }
.pxa-leg u.lg { background: #f97316; height: 14px; }
.pxa-leg u.fut { width: 14px; height: 8px; background: color-mix(in srgb, var(--pt-green) 25%, transparent); border-radius: 2px; }
.pxa-leg u.bd { width: 14px; height: 8px; background: color-mix(in srgb, var(--pt-green) 25%, transparent); border-radius: 2px; margin-left: 0; }
.pxa-evl { list-style: none; margin: 6px 0 0; padding: 0; }
.pxa-evl li { display: grid; grid-template-columns: 8px 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 2px; border-top: 1px solid var(--pt-line2); font-size: .8rem; }
.pxa-evl li:first-child { border-top: 0; }
.pxa-evl li i { width: 8px; height: 8px; border-radius: 50%; }
.pxa-evl .d { font-weight: 800; color: var(--pt-mut); font-variant-numeric: tabular-nums; }
.pxa-evl .t { font-weight: 600; min-width: 0; }
.pxa-evl .c { font-weight: 800; font-size: .78rem; font-variant-numeric: tabular-nums; }
.pxa-evl.rel li { grid-template-columns: 56px minmax(0, 1fr) auto; }
.pxa-evl.rel .t { display: flex; gap: 6px; flex-wrap: wrap; }
/* 일정 */
.pxa-fut { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pxa-fut li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 12px; padding: 11px 12px; background: var(--pt-inset); border-radius: 12px; align-items: baseline; }
.pxa-fut .k { font-size: .76rem; font-weight: 800; color: var(--pt-mut); }
.pxa-fut .v b { font-size: 1.05rem; font-weight: 900; }
.pxa-fut p { grid-column: 2; margin: 0; font-size: .76rem; line-height: 1.55; color: var(--pt-mut); }
/* 표 */
.pxa-tw { overflow-x: auto; }
.pxa-t { width: 100%; border-collapse: collapse; font-size: .82rem; font-variant-numeric: tabular-nums; }
.pxa-t th { font-size: .72rem; font-weight: 700; color: var(--pt-mut); text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--pt-line); white-space: nowrap; }
.pxa-t th:first-child, .pxa-t td:first-child { text-align: left; }
.pxa-t td { text-align: right; padding: 8px; border-bottom: 1px solid var(--pt-line2); font-weight: 700; white-space: nowrap; }
.pxa-t td small { margin-left: 6px; font-size: .66rem; color: var(--pt-mut); font-weight: 600; }
.pxa-t tr.on td { background: color-mix(in srgb, var(--pt-green) 11%, transparent); }
.pxa-t tr.sub th { border-top: 0; }
.pxa-t .pp { min-width: 56px; }
.pxa-t td.se { text-align: left; }
.pxa-out { padding: 12px 14px; border-radius: 12px; background: var(--pt-inset); margin-top: 10px; display: grid; gap: 2px; }
.pxa-out small { font-size: .72rem; color: var(--pt-mut); }
.pxa-out b { font-size: 1.3rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.pxa-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border: 1px solid var(--pt-line); border-radius: 12px; background: var(--pt-inset); font-size: .86rem; font-weight: 700; }
.pxa-in input { width: 96px; border: 0; background: transparent; color: var(--pt-ink); font: inherit; font-size: 1.2rem; font-weight: 900; text-align: right; }
.pxa-in input:focus { outline: none; }
/* 시즌 선택 */
.pxa-seas { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.pxa-seas::-webkit-scrollbar { display: none; }
.pxa-sb { flex: none; border: 1px solid var(--pt-line); background: var(--pt-inset); border-radius: 12px; padding: 7px 12px; cursor: pointer; }
.pxa-sb.on { border-color: var(--pt-green); background: color-mix(in srgb, var(--pt-green) 12%, var(--pt-panel)); }
.pxa-sb .pxa-se { height: 22px; }
.pxa-ml { grid-template-columns: repeat(6, 1fr); margin-bottom: 12px; }
.pxa-wb { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; align-items: end; height: 96px; }
.pxa-wb div { display: grid; justify-items: center; align-content: end; gap: 3px; }
.pxa-wb small { font-size: .66rem; color: var(--pt-mut); font-weight: 700; }
.pxa-wb i { width: 70%; max-width: 26px; border-radius: 4px 4px 0 0; opacity: .6; }
.pxa-wb i.u { background: var(--up); } .pxa-wb i.d { background: var(--dn); }
.pxa-wb div.td i { opacity: 1; } .pxa-wb div.td b { color: var(--pt-green); }
.pxa-wb b { font-size: .78rem; }
@media (max-width: 640px) {
    .pxa-panel { padding: 10px 0; }
    .pxa-card { padding: 12px; }
    .pxa-vd { grid-template-columns: minmax(0, 1fr); }
    .pxa-fut li { grid-template-columns: minmax(0, 1fr); }
    .pxa-fut p { grid-column: 1; }
    .pxa-ml { grid-template-columns: repeat(3, 1fr); }
}

.pxa-tg.wild { background: var(--pt-gold); }
.pxa-gl em.wild { color: var(--pt-gold); }
.pxa-chg span.mkt { background: transparent; border: 1px dashed var(--pt-line); color: var(--pt-mut); font-weight: 700; }
.pxa-card .dd-lvs { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.pxa-tw .pxa-t { max-width: 620px; }

/* ───── 윗줄 · 선택 버튼 · 가운데 목록 창 ───── */
.pxa-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pxa-top .dbp-mt { margin: 0; }
.pxa-asof { font-size: .72rem; font-weight: 700; color: var(--pt-mut); }
.pxa-sels { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pxa-sel { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px 0 12px; border-radius: 12px; border: 1.5px solid var(--pt-line); background: var(--pt-inset); color: var(--pt-ink); font: inherit; font-size: .9rem; cursor: pointer; max-width: 100%; }
.pxa-sel.on { border-color: var(--pt-green); background: color-mix(in srgb, var(--pt-green) 9%, var(--pt-panel)); }
.pxa-sel .k { font-size: .7rem; font-weight: 800; color: var(--pt-mut); }
.pxa-sel .v { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; min-width: 0; }
.pxa-sel .v em { font-style: normal; font-weight: 700; font-size: .78rem; color: var(--pt-mut); }
.pxa-sel > i { font-style: normal; color: var(--pt-mut); font-size: .8rem; }
.pxa-rs { border: 0; background: transparent; color: var(--pt-mut); font: inherit; font-size: .78rem; font-weight: 800; text-decoration: underline; cursor: pointer; padding: 0 6px; }
.pxa-lvb { margin-top: 8px; }
.pxa-lvb .pxa-sel { background: var(--pt-panel); }
.pxa-mo { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8,12,22,.55); }
.pxa-md { width: min(440px, 100%); max-height: min(72vh, 620px); display: flex; flex-direction: column; border-radius: 18px; background: var(--pt-panel); border: 1px solid var(--pt-line); box-shadow: 0 18px 50px rgba(0,0,0,.4); overflow: hidden; }
.pxa-mh { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; font-size: 1rem; }
.pxa-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--pt-inset); color: var(--pt-ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.pxa-ms { display: block; padding: 0 14px 8px; }
.pxa-ms input { width: 100%; box-sizing: border-box; height: 40px; border-radius: 12px; border: 1px solid var(--pt-line); background: var(--pt-inset); color: var(--pt-ink); padding: 0 12px; font: inherit; font-size: .9rem; }
.pxa-ml2 { list-style: none; margin: 0; padding: 4px 8px 12px; overflow-y: auto; overscroll-behavior: contain; }
.pxa-ml2 li[hidden] { display: none; }
.pxa-ml2 button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--pt-ink); font: inherit; padding: 10px 10px; border-radius: 12px; cursor: pointer; text-align: left; min-height: 44px; }
.pxa-ml2 button:hover { background: var(--pt-hover); }
.pxa-ml2 button.on { background: color-mix(in srgb, var(--pt-green) 13%, transparent); }
.pxa-ml2 .o { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: .88rem; }
.pxa-ml2 .o small { color: var(--pt-mut); font-size: .72rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pxa-ml2 .p { font-weight: 800; font-size: .84rem; font-variant-numeric: tabular-nums; }
.pxa-ml2 .c { min-width: 48px; text-align: right; font-weight: 800; font-size: .78rem; }
html.pxa-lock { overflow: hidden; }
.pxa-toast { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9100; padding: 12px 18px; border-radius: 12px; background: var(--pt-ink); color: var(--pt-panel); font-size: .86rem; font-weight: 700; box-shadow: 0 8px 28px rgba(0,0,0,.35); transition: opacity .3s; }
.pxa-toast.out { opacity: 0; }
/* ───── 검색 + 닉네임 ───── */
.pxa-hd2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.pxa-nick { display: flex; gap: 6px; align-items: center; }
.pxa-nick label { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 14px; border-radius: 24px; border: 1px solid var(--pt-line); background: var(--pt-inset); }
.pxa-nick label span { font-size: .72rem; font-weight: 800; color: var(--pt-mut); white-space: nowrap; }
.pxa-nick input { width: 112px; border: 0; background: transparent; color: var(--pt-ink); font: inherit; font-size: .94rem; font-weight: 700; }
.pxa-nick input:focus { outline: none; }
.pxa-nick button { height: 48px; padding: 0 16px; border-radius: 24px; border: 0; background: var(--pt-green); color: #fff; font: inherit; font-weight: 800; font-size: .86rem; cursor: pointer; white-space: nowrap; }
.pxa-panel .qlb { flex: none; font-size: .72rem; font-weight: 800; color: var(--pt-mut); margin-right: 2px; }
/* ───── 내 스쿼드 ───── */
.pxa-sk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 8px; }
.pxa-sk .t { background: var(--pt-inset); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.pxa-sk small { display: block; font-size: .7rem; font-weight: 700; color: var(--pt-mut); }
.pxa-sk b { display: block; margin-top: 3px; font-size: 1.04rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pxa-sk .w b { font-size: .86rem; margin-top: 2px; }
.pxa-sk .w b:first-of-type { margin-top: 4px; }
.pxa-sbar { display: flex; gap: 2px; height: 10px; margin-top: 12px; border-radius: 6px; overflow: hidden; }
.pxa-sbar i { display: block; min-width: 3px; background: var(--gc); opacity: .8; }
.pxa-sbar i.g-fw { --gc: var(--pf); } .pxa-sbar i.g-mf { --gc: var(--pm); } .pxa-sbar i.g-df { --gc: var(--pd); } .pxa-sbar i.g-gk { --gc: var(--pg); }
.pxa-sl { display: grid; }
.pxa-sr { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) 62px 62px minmax(0, .9fr); gap: 8px; align-items: center; width: 100%; padding: 10px 6px; border: 0; border-top: 1px solid var(--pt-line2); background: transparent; color: var(--pt-ink); font: inherit; text-align: left; cursor: pointer; border-radius: 0; }
.pxa-sr:first-child { border-top: 0; }
.pxa-sr:hover { background: var(--pt-hover); }
.pxa-sr .a { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pxa-sr .n { font-weight: 800; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pxa-sr .b { display: grid; gap: 3px; }
.pxa-sr .p { font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pxa-sr .sh { display: flex; align-items: center; gap: 6px; font-size: .66rem; color: var(--pt-mut); font-weight: 700; }
.pxa-sr .sh i { display: block; height: 4px; border-radius: 2px; background: var(--pt-blue); opacity: .55; max-width: 60px; }
.pxa-sr .c { display: grid; text-align: right; font-weight: 800; font-size: .84rem; font-variant-numeric: tabular-nums; }
.pxa-sr .c small { font-size: .62rem; color: var(--pt-mut); font-weight: 700; }
.pxa-sr .d { display: grid; gap: 5px; justify-items: end; }
.pxa-sr .d em { font-style: normal; font-size: .68rem; font-weight: 900; padding: 1px 7px; border-radius: 999px; background: var(--pt-inset2); color: var(--pt-mut); }
.pxa-sr .d em.hi { color: var(--up); } .pxa-sr .d em.lo { color: var(--dn); } .pxa-sr .d em.wild { color: var(--pt-gold); }
.pxa-g.sm { width: 72px; height: 5px; } .pxa-g.sm i { top: -3px; height: 11px; width: 3px; margin-left: -1.5px; box-shadow: 0 0 0 1.5px var(--pt-panel); }
/* ───── 카드 줄(시즌·포지션 / 출시 비교) ───── */
.pxa-cl { display: grid; }
.pxa-cr { display: grid; grid-template-columns: minmax(0, 1fr) auto 58px 58px; gap: 8px; align-items: center; width: 100%; padding: 9px 4px; border: 0; border-top: 1px solid var(--pt-line2); background: transparent; color: var(--pt-ink); font: inherit; text-align: left; cursor: pointer; }
.pxa-cr.st { cursor: default; grid-template-columns: minmax(0, 1fr) auto 70px; }
.pxa-cr:first-child { border-top: 0; }
button.pxa-cr:hover { background: var(--pt-hover); }
.pxa-cr .a { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pxa-cr .n { font-weight: 800; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pxa-cr .a small { color: var(--pt-mut); font-weight: 700; font-size: .7rem; white-space: nowrap; }
.pxa-cr .p { font-weight: 800; font-size: .86rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pxa-cr .c { display: grid; text-align: right; font-weight: 800; font-size: .82rem; font-variant-numeric: tabular-nums; }
.pxa-cr .c small { font-size: .6rem; color: var(--pt-mut); font-weight: 700; }
.pxa-stat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.pxa-stat > div { background: var(--pt-inset); border-radius: 12px; padding: 10px 12px; }
.pxa-stat small { display: block; font-size: .7rem; color: var(--pt-mut); font-weight: 700; }
.pxa-stat b { display: block; margin-top: 3px; font-size: 1.1rem; font-weight: 900; }
.pxa-sortb { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .74rem; font-weight: 800; color: var(--pt-mut); }
.pxa-sortb .dbp-mt { margin: 0; }
.pxa-tall { max-height: 520px; overflow: auto; border-radius: 10px; }
.pxa-tall th { position: sticky; top: 0; background: var(--pt-panel); z-index: 1; }
.pxa-t tr.clk { cursor: pointer; }
.pxa-t tr.clk:hover td { background: var(--pt-hover); }
.pxa-t td.se b { margin-left: 8px; font-size: .84rem; vertical-align: middle; }
.pxa-t td.se { display: table-cell; white-space: nowrap; }
.pxa-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.pxa-two > .pxa-card { margin-top: 12px; }
/* ───── 신규 출시: 요인 ───── */
.pxa-lcard { margin-top: 12px; }
.pxa-out.big b { font-size: 1.7rem; }
.pxa-fac { list-style: none; margin: 6px 0 0; padding: 0; }
.pxa-fac li { display: grid; grid-template-columns: 84px minmax(0, 1.4fr) minmax(70px, 1fr) 54px; gap: 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--pt-line2); font-size: .84rem; }
.pxa-fac li:first-child { border-top: 0; }
.pxa-fac .k { font-weight: 800; }
.pxa-fac .n { min-width: 0; font-weight: 600; }
.pxa-fac .n small { color: var(--pt-mut); font-size: .7rem; font-weight: 600; }
.pxa-fac .bar { position: relative; height: 8px; border-radius: 4px; background: var(--pt-inset2); }
.pxa-fac .bar::after { content: ""; position: absolute; left: 50%; top: -2px; width: 1px; height: 12px; background: var(--pt-grid); }
.pxa-fac .bar i { position: absolute; top: 0; height: 100%; border-radius: 4px; }
.pxa-fac .bar i.u { background: var(--up); } .pxa-fac .bar i.d { background: var(--dn); }
.pxa-fac b { text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; }
.pxa-fac li.sm { opacity: .55; }
.pxa-warn { display: flex; gap: 10px; align-items: flex-start; }
.pxa-warn p { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--pt-mut); }
.pxa-leg u.sh { width: 14px; height: 8px; background: var(--pt-inset2); border: 1px solid var(--pt-line); border-radius: 2px; margin-left: 0; }
.pxa-panel .dd-info h3 { margin: 0 0 6px; }
.pxa-sr em.mid { }
/* ───── PC 에서는 한 줄에 두 카드 ───── */
@media (min-width: 900px) {
    .pxa-sum .pxa-vd { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
    .pxa-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 640px) {
    .pxa-root { padding: 14px 4px 30px; }
    .pxa-hd2 { grid-template-columns: minmax(0, 1fr); }
    .pxa-nick label { flex: 1; } .pxa-nick input { width: 100%; min-width: 0; }
    .pxa-sk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pxa-sk .t:first-child, .pxa-sk .w { grid-column: 1 / -1; }
    .pxa-sk b { font-size: 1.02rem; }
    .pxa-sr { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "a a a" "b c1 c2" "d d d"; gap: 6px 12px; padding: 12px 4px; }
    .pxa-sr .a { grid-area: a; } .pxa-sr .b { grid-area: b; display: flex; align-items: center; gap: 8px; } .pxa-sr .c:nth-of-type(3) { grid-area: c1; } .pxa-sr .c:nth-of-type(4) { grid-area: c2; } .pxa-sr .d { grid-area: d; display: flex; align-items: center; justify-content: space-between; }
    .pxa-sr .c { display: flex; gap: 4px; align-items: baseline; }
    .pxa-cr { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "a a a" "p c1 c2"; gap: 4px 12px; }
    .pxa-cr .a { grid-area: a; } .pxa-cr .p { grid-area: p; } .pxa-cr .c { display: flex; gap: 4px; align-items: baseline; }
    .pxa-cr.st { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a a" "p c1"; }
    .pxa-fac li { grid-template-columns: 70px minmax(0, 1fr) 54px; grid-template-areas: "k n v" "bar bar bar"; gap: 6px 10px; }
    .pxa-fac .k { grid-area: k; } .pxa-fac .n { grid-area: n; } .pxa-fac b { grid-area: v; } .pxa-fac .bar { grid-area: bar; }
    .pxa-stat b { font-size: .98rem; }
    }

@media (max-width: 640px) {
    .pxa-t th, .pxa-t td { padding: 8px 5px; }
    .pxa-t { font-size: .78rem; }
    .pxa-t td small { display: none; }
    .pxa-t.mk th:last-child, .pxa-t.mk td:last-child { display: none; }
    .pxa-tw .pxa-t { max-width: none; }
}
.pxa-warn .pxa-conf { white-space: nowrap; flex: none; align-self: flex-start; }

/* 얼마에 팔까 · 고점 */
.pxa-svg path.ex { fill: none; stroke: var(--pt-blue, #60a5fa); stroke-width: 1.15; opacity: .55; stroke-linejoin: round; }
.pxa-leg u.ex { display: inline-block; width: 14px; height: 0; border-top: 2px solid var(--pt-blue, #60a5fa); opacity: .7; vertical-align: middle; margin-right: 5px; }
.pxa-tgl, .pxa-hil { list-style: none; margin: 0; padding: 0; }
.pxa-tgl li { display: grid; grid-template-columns: minmax(0, 1.25fr) auto auto; grid-template-areas: "k p c" "k n n"; gap: 2px 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--pt-line2); }
.pxa-tgl li:first-child { border-top: 0; }
.pxa-tgl .k { grid-area: k; font-weight: 800; font-size: .92rem; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pxa-tgl .k small, .pxa-hil .k small { font-size: .7rem; color: var(--pt-mut); font-weight: 600; }
.pxa-tgl .p { grid-area: p; font-size: 1.12rem; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pxa-tgl .c { grid-area: c; font-size: .78rem; font-weight: 800; text-align: right; white-space: nowrap; min-width: 74px; }
.pxa-tgl .n { grid-area: n; justify-self: end; font-size: .72rem; color: var(--pt-mut); font-weight: 600; }
.pxa-hil li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; }
.pxa-hil .k { font-weight: 800; font-size: .84rem; display: flex; flex-direction: column; gap: 1px; }
.pxa-hil .bar { height: 8px; border-radius: 99px; background: var(--pt-inset); overflow: hidden; }
.pxa-hil .bar i { display: block; height: 100%; border-radius: 99px; background: var(--pt-green); }
.pxa-hil .p { font-weight: 800; font-size: .86rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pxa-hil .c { font-size: .76rem; font-weight: 800; min-width: 44px; text-align: right; white-space: nowrap; }
@media (max-width: 640px) { .pxa-hil li { grid-template-columns: 74px minmax(0, 1fr) auto auto; gap: 8px; } .pxa-tgl .c { min-width: 0; } }
.pxa-more { display: block; width: 100%; margin-top: 10px; height: 42px; border-radius: 12px; border: 1.5px solid var(--pt-line); background: transparent; color: var(--pt-ink); font-weight: 800; font-size: .88rem; }
.pxa-more small { color: var(--pt-mut); font-weight: 700; margin-left: 4px; }

/* 신규 출시 계산기 입력 */
.pxa-sel .k:empty { display: none; }
.pxa-cin { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 14px 16px; align-items: end; justify-content: start; }
.pxa-cf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pxa-cf.w { grid-column: 1 / -1; }
.pxa-cl2 { font-size: .74rem; font-weight: 800; color: var(--pt-mut); }
.pxa-cl2 small { font-weight: 600; margin-left: 4px; }
.pxa-step { display: inline-flex; align-items: stretch; height: 42px; border: 1.5px solid var(--pt-line); border-radius: 12px; background: var(--pt-inset); overflow: hidden; }
.pxa-step button { width: 42px; border: 0; background: transparent; color: var(--pt-ink); font: inherit; font-size: 1.15rem; font-weight: 800; cursor: pointer; }
.pxa-step button:hover { background: var(--pt-hover); }
.pxa-step input { width: 56px; border: 0; border-left: 1px solid var(--pt-line2); border-right: 1px solid var(--pt-line2); background: transparent; color: var(--pt-ink); font: inherit; font-size: 1.05rem; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; min-width: 0; }
.pxa-step input:focus { outline: 0; background: color-mix(in srgb, var(--pt-green) 9%, var(--pt-panel)); }
.pxa-chs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pxa-chip, .pxa-add { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 999px; font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.pxa-chip { border: 1.5px solid var(--pt-green); background: color-mix(in srgb, var(--pt-green) 9%, var(--pt-panel)); color: var(--pt-ink); }
.pxa-chip i { font-style: normal; color: var(--pt-mut); font-size: 1rem; line-height: 1; }
.pxa-add { border: 1.5px dashed var(--pt-line); background: transparent; color: var(--pt-mut); }
.pxa-add:hover { border-color: var(--pt-green); color: var(--pt-ink); }
@media (max-width: 640px) { .pxa-cin { grid-template-columns: 1fr 1fr; } .pxa-cf:first-child { grid-column: 1 / -1; } .pxa-cf .pxa-sel { width: 100%; justify-content: space-between; } .pxa-cf .pxa-sel .v { flex: 1; } }
.pxa-sortb > span { white-space: nowrap; flex: none; }
.pxa-sortb .dbp-mt { flex: 1; min-width: 0; }

/* 거래/시세분석 상단 탭 — 티어/랭킹/DB 의 .game-mode-tabs 를 그대로 쓰고 링크용 보정만 */
.pxa-pt { margin: 14px 0 6px; }
.pxa-pt .tab-item { display: block; text-decoration: none; }

/* 2차 수정: 선수 카드 머리 · 예상 · 계산 근거 */
.pxa-np { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 6px; }
.pxa-np small { font-size: .74rem; font-weight: 700; color: var(--pt-mut); }
.pxa-np b { font-size: 1.55rem; font-weight: 900; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pxa-fh { margin: -2px 0 10px; }
.pxa-fh .pxa-sel { min-height: 34px; padding: 0 10px; border-radius: 10px; font-size: .84rem; }
.pxa-v p small { display: block; margin-top: 2px; font-size: .7rem; }
.pxa-svg .mk { fill: var(--pt-green); stroke: var(--pt-panel); stroke-width: 2; }
.pxa-leg u.md { display: inline-block; width: 16px; height: 0; border-top: 2px dashed var(--pt-green); vertical-align: middle; margin-right: 5px; }
.pxa-fac b small { display: block; font-size: .68rem; font-weight: 700; color: var(--pt-mut); }
.pxa-fac li.bs b { color: var(--pt-ink); }
.pxa-fac li.bs .n { color: var(--pt-mut); font-weight: 600; font-size: .78rem; }
.pxa-sk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pxa-sk .w { grid-column: 1 / -1; }
@media (max-width: 640px) { .pxa-sk { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pxa-sk .t.f { grid-column: 1 / -1; } .pxa-fac li.bs { grid-template-columns: 70px minmax(0, 1fr) 54px; grid-template-areas: "k n v"; } .pxa-fac li.bs .bar { display: none; } .pxa-np b { font-size: 1.4rem; } }
.pxa-sortb > span { white-space: nowrap; flex: none; }

/* ───── 3차: 선수 사진 · 되돌아가기 · 머리 카드 · 판매가 3열 · 정렬 · 계산기 아이콘 ───── */
.pxa-av { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--pt-inset2); display: inline-block; }
.pxa-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.pxa-av b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .86rem; font-weight: 900; color: var(--pt-mut); }
.pxa-res .pxa-av { width: 30px; height: 30px; }
.pxa-sr .a, .pxa-cr .a { gap: 10px; }
.pxa-nn, .nn { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nn .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nn .sb { display: flex; align-items: center; gap: 6px; min-width: 0; line-height: 1; }
.nn .sb .pxa-se { height: 16px; }
.nn .sb small { color: var(--pt-mut); font-weight: 700; font-size: .7rem; }
.pxa-sr .nn .pp { min-width: 0; font-size: .66rem; padding: 2px 5px; }
.pxa-sr .nn .enb { transform: scale(.9); transform-origin: left center; }
.pxa-cr .a small { margin: 0; }

.pxa-bk { margin: 14px 0 -4px; }
.pxa-back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 1.5px solid var(--pt-line); background: var(--pt-panel); color: var(--pt-ink); font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
.pxa-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pxa-back:hover { background: var(--pt-hover); }
.pxa-back:focus-visible, .pxa-th:focus-visible { outline: 2px solid var(--pt-green); outline-offset: 2px; }

/* 머리 카드: 넓으면 왼쪽 이름·특성 / 오른쪽 현재 시세 */
.pxa-hdc { container-type: inline-size; }
.pxa-hdc .dd-head { margin-bottom: 0; grid-template-columns: 124px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.pxa-hdc .dd-card { padding-left: 0; }
.pxa-hdc .dd-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 20px; align-content: start; }
.pxa-hdc .dd-info h3 { font-size: 1.18rem; }
.pxa-hdc .pxa-hp { min-width: 0; }
.pxa-hdc .pxa-np { margin-top: 4px; }
@container (min-width: 600px) {
    .pxa-hdc .dd-head { grid-template-columns: 150px minmax(0, 1fr); gap: 26px; }
    .pxa-hdc .dd-info { grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: 24px; align-items: stretch; align-content: stretch; }
    .pxa-hdc .dd-info h3 { font-size: 1.45rem; margin-bottom: 10px; }
    .pxa-hdc .pxa-hi { padding-top: 6px; }
    .pxa-hdc .pxa-hp { display: flex; flex-direction: column; justify-content: center; padding: 6px 0 6px 24px; border-left: 1px solid var(--pt-line2); }
    .pxa-hdc .pxa-np { margin-top: 0; }
    .pxa-hdc .pxa-np b { font-size: 2.05rem; }
    .pxa-hdc .pxa-lvb { margin-top: 14px; }
    .pxa-hdc .pxa-lvb .pxa-sel { width: 100%; justify-content: space-between; }
}

/* 앞으로 7일 말풍선 */
.pxa-tip .mu2 { font-size: .7rem; opacity: .7; font-weight: 700; }
.pxa-tip .fr { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; }
.pxa-tip .fr em { font-style: normal; font-size: .7rem; opacity: .7; min-width: 28px; font-weight: 700; }
.pxa-tip .fr b { margin: 0; }
.pxa-tip .fr small { font-size: .68rem; opacity: .75; }

/* 얼마에 팔까: 한 줄 세 칸 */
.pxa-tgl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pxa-tgl li, .pxa-tgl li:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 13px 14px 12px; border: 1px solid var(--pt-line2); border-top: 3px solid var(--pt-line); border-radius: 14px; background: var(--pt-inset); min-width: 0; }
.pxa-tgl li.s0 { border-top-color: var(--pt-green); } .pxa-tgl li.s1 { border-top-color: var(--pt-blue, #60a5fa); } .pxa-tgl li.s2 { border-top-color: var(--pt-gold); }
.pxa-tgl .k { flex-direction: row; font-size: .82rem; color: var(--pt-mut); }
.pxa-tgl .p { text-align: left; font-size: 1.18rem; line-height: 1.22; white-space: normal; text-wrap: balance; }
.pxa-tgl .c { min-width: 0; text-align: left; font-size: .78rem; }
.pxa-tgl .n { justify-self: auto; margin-top: auto; padding-top: 7px; width: 100%; border-top: 1px dashed var(--pt-line); font-size: .72rem; }
@media (max-width: 640px) {
    .pxa-tgl { gap: 6px; }
    .pxa-tgl li, .pxa-tgl li:first-child { padding: 11px 9px 10px; border-radius: 12px; }
    .pxa-tgl .k { font-size: .72rem; }
    .pxa-tgl .p { font-size: .94rem; letter-spacing: -.02em; }
    .pxa-tgl .c { font-size: .7rem; }
    .pxa-tgl .n { font-size: .66rem; }
}

/* 표 머리 눌러서 정렬 */
.pxa-th { display: inline-flex; align-items: center; gap: 3px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; padding: 9px 4px; margin: -9px -4px; border-radius: 6px; white-space: nowrap; }
.pxa-th i { font-style: normal; font-size: .6rem; opacity: .45; }
.pxa-th.on { color: var(--pt-ink); } .pxa-th.on i { opacity: 1; color: var(--pt-green); }
.pxa-th:hover { color: var(--pt-ink); }
.pxa-t th:first-child .pxa-th { margin-left: 0; }
.pxa-sortb .dbp-mt button i { font-style: normal; font-size: .58rem; margin-left: 3px; }

/* 신규 카드: 아이콘 · 시즌별 · 평균 */
.pxa-ic { width: 22px; height: 22px; object-fit: contain; flex: none; vertical-align: middle; }
.pxa-chip .pxa-ic { margin-left: -4px; }
.pxa-ml2 .pxa-ic { width: 30px; height: 30px; }
.pxa-nm { display: inline-flex; align-items: center; gap: 5px; margin: 2px 10px 2px 0; font-weight: 700; }
.pxa-nm small { color: var(--pt-mut); font-weight: 700; font-size: .68rem; }
.pxa-est .pxa-out { margin-top: 0; }
.pxa-sst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pxa-ss { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 11px 13px; border-radius: 12px; background: var(--pt-inset); }
.pxa-sn { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 800; color: var(--pt-mut); }
.pxa-sp { font-size: 1.14rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.pxa-ss small { font-size: .7rem; font-weight: 700; color: var(--pt-mut); }
.pxa-fac .n { display: flex; flex-wrap: wrap; align-items: center; }
.pxa-sel > * { white-space: nowrap; }
.pxa-hdc .pxa-lvb .pxa-sel { width: 100%; justify-content: space-between; }
.pxa-hdc .pxa-lvb .pxa-sel em { display: none; }
.pxa-hil li { grid-template-columns: 124px minmax(0, 1fr) auto auto; }
@media (max-width: 640px) { .pxa-hil li { grid-template-columns: 96px minmax(0, 1fr) auto auto; } }
.pxa-nm small { white-space: nowrap; }
.pxa-fac li.tot { border-top: 2px solid var(--pt-line); }
.pxa-fac li.tot b { font-size: 1.05rem; }
@media (max-width: 640px) { .pxa-cf .pxa-sel em { display: none; } }
.pxa-tgl .n { display: flex; flex-direction: column; gap: 1px; color: var(--pt-ink); font-weight: 800; }
.pxa-tgl .n small { color: var(--pt-mut); font-weight: 600; font-size: .96em; }
.pxa-fac li.bs b { white-space: nowrap; }
@media (max-width: 640px) {
    .pxa-hil li { grid-template-columns: 112px minmax(0, 1fr) auto auto; }
    .pxa-fac li.bs, .pxa-fac li.bs.tot { grid-template-columns: 70px minmax(0, 1fr) 84px; }
    .pxa-nm small { display: none; }
}

/* ───── 4차 ───── */
.pxa-av { background: var(--pt-inset2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='15' r='7' fill='%23808a9c' fill-opacity='.45'/%3E%3Cpath d='M6 40c0-8 6-13 14-13s14 5 14 13z' fill='%23808a9c' fill-opacity='.45'/%3E%3C/svg%3E") center / cover no-repeat; }
.pxa-tw .pxa-t { max-width: none; }
.pxa-tall th { text-align: right; }
.pxa-tall th:first-child { text-align: left; }

/* 카드 줄: 사진 · 이름 / 오른쪽에 가격과 변동 (두 줄) */
.pxa-cr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: none; gap: 10px; padding: 9px 4px; }
.pxa-cr .a, .pxa-cr .p, .pxa-cr .c { grid-area: auto; }
.pxa-cr .r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 0; }
.pxa-cr .r .p { font-size: .94rem; }
.pxa-cr .cs { display: flex; gap: 12px; }
.pxa-cr .cs .c { display: flex; gap: 4px; align-items: baseline; font-size: .78rem; }
.pxa-cr .cs .c small { font-size: .62rem; }
.pxa-cr .nn .sb .enb { transform: scale(.9); transform-origin: left center; }
@media (min-width: 900px) { .pxa-cr .r .p { font-size: .98rem; } .pxa-cr .cs .c { font-size: .82rem; } }

/* 선수별 줄 (스쿼드): 모바일은 두 줄 */
@media (max-width: 640px) {
    .pxa-sr { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "a b b" "d c1 c2"; gap: 8px 12px; padding: 11px 2px; align-items: center; }
    .pxa-sr .a { grid-area: a; } .pxa-sr .b { grid-area: b; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
    .pxa-sr .d { grid-area: d; display: flex; flex-direction: row; align-items: center; gap: 8px; justify-items: initial; }
    .pxa-sr .c:nth-of-type(3) { grid-area: c1; } .pxa-sr .c:nth-of-type(4) { grid-area: c2; }
    .pxa-sr .c { display: flex; gap: 4px; align-items: baseline; }
    .pxa-sr .sh i { display: none; } .pxa-sr .sh { font-size: .64rem; }
}

/* 수수료 */
.pxa-fee { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -2px 0 12px; }
.pxa-fs { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px 0 11px; border-radius: 10px; border: 1.5px solid var(--pt-line); background: var(--pt-inset); font-size: .74rem; font-weight: 800; color: var(--pt-mut); }
.pxa-fs select { border: 0; background: transparent; color: var(--pt-ink); font: inherit; font-size: .84rem; font-weight: 800; min-height: 32px; padding: 0 4px; cursor: pointer; }
.pxa-fs select option { color: #111; }
.pxa-tg2 { min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--pt-line); background: transparent; color: var(--pt-mut); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.pxa-tg2.on { border-color: var(--pt-green); color: var(--pt-ink); background: color-mix(in srgb, var(--pt-green) 11%, transparent); }

/* 예상 평균 거래가: 시즌별 막대 */
.pxa-szl { display: flex; flex-direction: column; gap: 2px; }
.pxa-sz { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.pxa-sz:hover { background: var(--pt-inset); }
.pxa-sz.on { background: color-mix(in srgb, var(--pt-gold) 14%, transparent); box-shadow: inset 0 0 0 1.5px var(--pt-gold); }
.pxa-sz .k { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: .8rem; }
.pxa-sz .k b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pxa-sz .k .pxa-se { flex: none; }
.pxa-sz .bar { height: 8px; border-radius: 4px; background: var(--pt-inset); overflow: hidden; }
.pxa-sz .bar i { display: block; height: 100%; border-radius: 4px; background: var(--pt-gold); opacity: .8; }
.pxa-sz .p { font-size: .84rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#pxLout.ld { opacity: .55; transition: opacity .15s; }
.pxa-est .pxa-out.big { margin-top: 0; }
@media (max-width: 640px) { .pxa-sz { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 8px; } }

/* BP 아이콘 (사이트 공통 노란 B 동전) */
.pxa-bp { display: inline-block; position: relative; width: .86em; height: .86em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe58a, #f4b81f 60%, #c98a08); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); vertical-align: -.08em; margin-right: .26em; flex: none; }
.pxa-bp::after { content: 'B'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .6em; font-weight: 900; color: #7a4b00; line-height: 1; font-style: normal; }

/* 7일 예측: 오름 · 그대로 · 내림 확률 */
.pxa-pb { display: flex; gap: 2px; height: 10px; border-radius: 99px; overflow: hidden; margin: 2px 0 8px; background: var(--pt-inset); }
.pxa-pb i { display: block; min-width: 2px; }
.pxa-pb i.u { background: var(--up); } .pxa-pb i.f { background: var(--pt-grid); } .pxa-pb i.d { background: var(--dn); }
.pxa-pl { display: flex; justify-content: space-between; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--pt-mut); }
.pxa-pl span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pxa-pl span:last-child { text-align: right; align-items: flex-end; } .pxa-pl span.f { text-align: center; align-items: center; }
.pxa-pl b { font-size: 1.08rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.pxa-pl .u b { color: var(--up); } .pxa-pl .d b { color: var(--dn); } .pxa-pl .f b { color: var(--pt-ink); }
