/* 쇼부카지노 시안 - 폴리마켓 묶음 전용(sub.css 다음에 읽음). 접두어 pm-.
   예 = 초록(롱), 아니오 = 주홍(숏), 확률 변동 = 올라가면 빨강·내려가면 파랑(국내 시세 관례). 금색은 재질(--gold-btn, .gilt)로만 쓴다. */
/* site.css 의 --gold-btn 은 url("../img/…") 을 쓰는데, 변수 속 상대 주소는 그 변수를 쓰는 CSS(p/ 폴더) 기준으로 풀려 404 가 난다.
   그래서 같은 금박 단추 재질을 이 파일 기준 주소로 다시 둔다. */
:root { --pm-gold: linear-gradient(180deg, rgba(250, 233, 180, .9) 0%, rgba(229, 196, 124, .86) 42%, rgba(198, 154, 78, .88) 70%, rgba(160, 114, 44, .92) 100%), url("../../img/goldleaf-soft.webp") 50% 50% / 720px auto; }
.pm { --pm-yes: #4fd394; --pm-yes-bg: rgba(47, 191, 122, .1); --pm-yes-ln: rgba(47, 191, 122, .38); --pm-no: #f59482; --pm-no-bg: rgba(239, 90, 70, .1); --pm-no-ln: rgba(239, 90, 70, .38); }
.pm-tag.yes, .pm-yes, .pm-ob.yes, .pm-ynb.yes { --pm-c: #4fd394; }

/* ───────── 폴리마켓 하위 메뉴 줄(모든 쪽 맨 위) ───────── */
.pm-nav { position: relative; z-index: 2; background: linear-gradient(180deg, rgba(19, 15, 10, .97), rgba(13, 10, 7, .97)); border-bottom: 1px solid var(--line); }
.pm-nav-in { display: flex; align-items: center; gap: 10px; }
.pm-subnav.subnav { flex: 1; min-width: 0; margin: 0; border-bottom: 0; -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.pm-subnav.subnav a { padding: 17px 13px 15px; font-size: 14.5px; }
.pm-subnav.subnav a[aria-current="true"] { color: var(--gold-hi); border-bottom-color: rgba(217, 177, 101, .45); }
.pm-nav-q { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ivory-2); font: 600 14px/1 var(--sans); text-decoration: none; }
.pm-nav-q svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pm-nav-q:hover, .pm-nav-q[aria-current="page"] { color: var(--gold-hi); border-color: var(--gold); }

/* 머리 */
.pm-ph { min-height: clamp(340px, 30vw, 430px); }
.pm-phs { padding: clamp(30px, 3.4vw, 46px) 0 clamp(24px, 2.6vw, 34px); }
.pm-phs .ph-d { max-width: 46em; }

/* ───────── 금박 메달(카테고리 표시) ───────── */
.pm-medal { flex: none; position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pm-gold); box-shadow: inset 0 1px 0 rgba(255, 250, 230, .8), inset 0 -2px 3px rgba(80, 50, 10, .45), 0 0 0 1px rgba(122, 84, 28, .9), 0 6px 14px -6px rgba(0, 0, 0, .7); }
.pm-medal::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(90, 58, 14, .35); }
.pm-medal svg { width: 56%; height: 56%; fill: none; stroke: #2a1b07; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm-medal-sm { width: 30px; height: 30px; }
.pm-medal-md { width: 48px; height: 48px; }
.pm-medal-lg { width: 68px; height: 68px; }
.pm-ci { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }

/* 칩 줄 */
.pm-cats { margin-bottom: 18px; }
.pm .chip[aria-current="page"] .pm-ci { opacity: 1; }

/* ───────── 실시간 체결 띠 ───────── */
.pm-tape { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 8, 6, .92), rgba(16, 12, 8, .92)); }
.pm-tape-in { display: flex; align-items: center; gap: 18px; height: 54px; }
.pm-tape-k { flex: none; display: inline-flex; align-items: center; gap: 9px; padding-right: 18px; border-right: 1px solid var(--line); font: 700 14px/1 var(--sans); color: var(--ivory); white-space: nowrap; }
.pm-tape-track { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.pm-tape-list { position: absolute; left: 0; top: 0; display: flex; align-items: center; height: 100%; margin: 0; padding: 0; list-style: none; will-change: transform; }
.pm-tape-list li { flex: none; display: inline-flex; align-items: center; gap: 8px; padding-right: 40px; font-size: 14px; color: var(--ivory-2); white-space: nowrap; }
.pm-tape-list b { color: var(--ivory); font-weight: 600; }
.pm-tape-list em { font-style: normal; font-weight: 700; color: var(--champagne); font-variant-numeric: tabular-nums; }

/* 예·아니오 딱지 */
.pm-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 4px; font: 700 11.5px/1 var(--sans); white-space: nowrap; }
.pm-tag.yes { background: rgba(47, 191, 122, .14); color: #6fdcaa; }
.pm-tag.no { background: rgba(239, 90, 70, .14); color: #f7a594; }

/* ───────── 주목 시장 ───────── */
.pm-feat-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: stretch; }
.pm-feat { position: relative; min-width: 0; padding: 24px 26px; border-radius: 14px; background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(217, 177, 101, .12), transparent 60%), linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 60px -24px rgba(217, 177, 101, .55); }
.pm-feat-hd { display: flex; align-items: flex-start; gap: 14px; }
.pm-feat-tt { flex: 1; min-width: 0; }
.pm-feat-k { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ivory-3); }
.pm-feat-t { margin: 8px 0 0; font: 800 clamp(23px, 2.1vw, 30px)/1.3 var(--serif); letter-spacing: -.035em; }
.pm-feat-t a { color: var(--ivory); text-decoration: none; }
.pm-feat-t a:hover { color: var(--gold-hi); }
.pm-feat-nav { margin: 16px 0 0; }
.pm-feat-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; margin-top: 18px; }
.pm-feat-chart { min-width: 0; }
.pm-chart-feat { height: 286px; }
.pm-feat-cap { margin: 6px 0 0; font-size: 12.5px; color: var(--ivory-3); }
.pm-feat-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pm-fo { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; background: rgba(11, 8, 6, .5); box-shadow: inset 0 0 0 1px var(--line); color: var(--ivory); text-decoration: none; font-size: 14.5px; transition: box-shadow .2s; }
.pm-fo:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.pm-fo > i { width: 10px; height: 10px; border-radius: 3px; }
.pm-fo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-fo b { font: 800 17px/1 var(--serif); font-variant-numeric: tabular-nums; }
.pm-fo em { font-style: normal; font-size: 12.5px; color: var(--pm-yes, #4fd394); white-space: nowrap; }
.pm-fbig { display: flex; flex-direction: column; gap: 6px; padding: 6px 2px 4px; }
.pm-fbig b { font: 900 64px/1 var(--serif); letter-spacing: -.03em; }
.pm-fbig span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ivory-2); }
.pm-feat-meta { display: grid; gap: 7px; margin: 6px 0 4px; padding: 12px 0; border-block: 1px solid var(--line); }
.pm-feat-meta div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.pm-feat-meta dt { color: var(--ivory-3); }
.pm-feat-meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pm-feat-side .btn { margin-top: auto; }

/* 많이 움직인 시장 */
.pm-movers { display: flex; flex-direction: column; }
.pm-rank { margin: 0; padding: 0; list-style: none; }
.pm-rank li + li { border-top: 1px solid rgba(217, 177, 101, .08); }
.pm-rank a { display: flex; align-items: center; gap: 12px; min-height: 58px; color: inherit; text-decoration: none; }
.pm-rank a:hover b { color: var(--gold-hi); }
.pm-rank-n { flex: none; width: 24px; font: 800 18px/1 var(--serif); color: var(--gold); text-align: center; }
.pm-rank-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pm-rank-t b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-rank-t small { font-size: 12.5px; color: var(--ivory-3); }
.pm-ch { flex: none; font: 700 13px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ───────── 분할 단추(segmented) ───────── */
.pm-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: #0c0907; box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pm-seg::-webkit-scrollbar { display: none; }
.pm-seg button { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 7px; background: none; color: var(--ivory-2); font: 600 14px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: color .2s, background-color .2s; }
.pm-seg button:hover { color: var(--ivory); }
.pm-seg button[aria-pressed="true"] { background: var(--pm-gold); color: #1d1408; box-shadow: inset 0 1px 0 rgba(255, 250, 230, .7); }
.pm-seg-sm button { height: 34px; padding: 0 12px; font-size: 13.5px; }
.pm-seg-lg button { height: 44px; padding: 0 22px; font-size: 15px; }

/* ───────── 시장 카드 격자 ───────── */
.pm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-grid > li { min-width: 0; display: flex; }
.pm-card { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 12px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.pm-card:hover { box-shadow: inset 0 0 0 1px rgba(246, 226, 164, .5), 0 18px 40px -24px rgba(0, 0, 0, .9); transform: translateY(-2px); }
.pm-card-hd { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.pm-cat { font-size: 13px; font-weight: 600; color: var(--champagne); white-space: nowrap; }
.pm-card-hd .bdg { height: 22px; padding: 0 7px; font-size: 11.5px; }
.pm-star { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; margin: -4px -8px -4px auto; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ivory-3); cursor: pointer; transition: color .2s, background-color .2s; }
.pm-star svg, .pm-starbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.pm-star:hover { color: var(--gold-hi); background: rgba(217, 177, 101, .08); }
.pm-star[aria-pressed="true"], .pm-starbtn[aria-pressed="true"] { color: var(--gold-hi); }
.pm-star[aria-pressed="true"] svg, .pm-starbtn[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold-hi); }
.pm-card-t { margin: 0; min-height: 2.8em; font: 700 17px/1.4 var(--serif); letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-card-t a { color: var(--ivory); text-decoration: none; }
.pm-card-t a:hover { color: var(--gold-hi); }
.pm-odds { display: flex; align-items: baseline; gap: 8px; }
.pm-big { font: 900 34px/1 var(--serif); letter-spacing: -.03em; color: var(--ivory); font-variant-numeric: tabular-nums; border-radius: 4px; }
.pm-odds-k { font-size: 13px; color: var(--ivory-3); }
.pm-odds .pm-ch { margin-left: auto; }
.pm-bar { height: 6px; margin-top: -6px; overflow: hidden; border-radius: 99px; background: rgba(239, 90, 70, .28); }
.pm-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1f9c62, #4fd394); transition: width .8s var(--ease); }
.pm-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-yes, .pm-no { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; height: 44px; padding: 0 13px; border-radius: 8px; font: 600 14px/1 var(--sans); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.pm-yes { background: rgba(47, 191, 122, .1); box-shadow: inset 0 0 0 1px rgba(47, 191, 122, .34); color: #6fdcaa; }
.pm-no { background: rgba(239, 90, 70, .1); box-shadow: inset 0 0 0 1px rgba(239, 90, 70, .34); color: #f7a594; }
.pm-yes:hover { background: rgba(47, 191, 122, .2); box-shadow: inset 0 0 0 1px rgba(79, 211, 148, .7); }
.pm-no:hover { background: rgba(239, 90, 70, .2); box-shadow: inset 0 0 0 1px rgba(245, 148, 130, .7); }
.pm-yes b, .pm-no b { font: 800 15px/1 var(--sans); color: var(--ivory); font-variant-numeric: tabular-nums; }
.pm-yes span, .pm-no span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-yn-lg .pm-yes, .pm-yn-lg .pm-no { height: 54px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.pm-yn-lg b { font-size: 17px; }
.pm-orows { display: flex; flex-direction: column; gap: 6px; }
.pm-orow { display: grid; grid-template-columns: minmax(0, 1fr) 44px 40px auto; align-items: center; gap: 9px; height: 40px; padding: 0 4px 0 10px; border-radius: 8px; background: rgba(11, 8, 6, .4); box-shadow: inset 0 0 0 1px rgba(217, 177, 101, .1); color: var(--ivory); text-decoration: none; font-size: 14px; transition: box-shadow .2s; }
.pm-orow:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.pm-orow-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-orow-bar, .pm-od-bar { height: 5px; overflow: hidden; border-radius: 99px; background: var(--ink-3); }
.pm-orow-bar i, .pm-od-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-lo), var(--gold) 60%, var(--gold-hi)); transition: width .8s var(--ease); }
.pm-orow > b { font: 800 15px/1 var(--serif); text-align: right; font-variant-numeric: tabular-nums; border-radius: 3px; }
.pm-orow-buy { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 9px; border-radius: 6px; background: rgba(47, 191, 122, .12); color: #6fdcaa; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pm-orow-buy em { font-style: normal; color: var(--ivory); font-variant-numeric: tabular-nums; }
.pm-more-o { align-self: flex-start; margin-top: -6px; font-size: 13px; color: var(--ivory-3); text-decoration: none; }
.pm-more-o:hover { color: var(--gold-hi); }
.pm-card-ft { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(217, 177, 101, .1); font-size: 12.5px; color: var(--ivory-3); }
.pm-card-ft b { color: var(--ivory-2); font-weight: 600; }
.pm-soon { color: #f7a594; font-weight: 600; }
.pm-cta-card { display: flex; }
.pm-cta-card > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 22px; border-radius: 12px; border: 1px dashed var(--line-2); background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(217, 177, 101, .1), transparent 70%); text-align: center; }
.pm-cta-card b { font: 800 19px/1.35 var(--serif); color: var(--ivory); }
.pm-cta-card p { max-width: 17em; margin: 0 0 6px; font-size: 13.5px; line-height: 1.65; color: var(--ivory-3); }
.pm-born { display: flex; justify-content: space-between; gap: 8px; margin: -4px 0 0; padding: 9px 12px; border-radius: 8px; background: rgba(217, 177, 101, .07); font-size: 13px; color: var(--ivory-2); }
.pm-born b { color: var(--gold-hi); }

/* 카테고리 넓은 카드 */
.pm-wides { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pm-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px; padding: 24px 26px; border-radius: 14px; background: radial-gradient(ellipse 60% 90% at 100% 0%, rgba(217, 177, 101, .1), transparent 60%), linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line-2); }
.pm-wide-l { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pm-wide-t { margin: 0; font: 800 clamp(21px, 1.9vw, 27px)/1.32 var(--serif); letter-spacing: -.035em; }
.pm-wide-t a { color: var(--ivory); text-decoration: none; }
.pm-wide-t a:hover { color: var(--gold-hi); }
.pm-wide-s { margin: -4px 0 0; font-size: 14px; line-height: 1.7; color: var(--ivory-2); }
.pm-wide .pm-big { font-size: 46px; }
.pm-wide .pm-yn a { height: 50px; }
.pm-wide-meta { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 6px 30px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.pm-wide-meta div { display: flex; flex-direction: column; gap: 4px; }
.pm-wide-meta dt { font-size: 12px; color: var(--ivory-3); }
.pm-wide-meta dd { margin: 0; font: 700 16px/1.2 var(--serif); color: var(--ivory); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-wide-meta [data-pm-cd] { color: var(--gold-hi); }
.pm-wide-r { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.pm-chart-wide { height: 280px; }
.pm-wide .pm-orow { grid-template-columns: minmax(0, 1fr) minmax(60px, 1.3fr) 46px auto; }
.pm-feat-cap a { color: var(--gold); }

/* 결과 확정 카드 · 도장 */
.pm-res .pm-card-t { min-height: 0; }
.pm-resbox { display: flex; align-items: center; gap: 16px; }
.pm-resbox p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ivory-2); }
.pm-stamp { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 76px; padding: 9px 10px 8px; border-radius: 6px; border: 2px solid currentColor; box-shadow: inset 0 0 0 2px rgba(11, 8, 6, .9), inset 0 0 0 3px currentColor; transform: rotate(-5deg); font: 900 18px/1.05 var(--serif); letter-spacing: -.03em; text-align: center; word-break: keep-all; }
.pm-stamp small { font: 700 10.5px/1 var(--sans); letter-spacing: .12em; opacity: .85; }
.pm-stamp-yes { color: var(--gold-hi); background: rgba(217, 177, 101, .08); }
.pm-stamp-no { color: #ef6a52; background: rgba(200, 64, 42, .08); }
.pm-stamp-mini { min-width: 0; padding: 4px 7px; border-width: 1.5px; box-shadow: none; transform: rotate(-4deg); font-size: 12.5px; }

/* 홈: 마감 임박·신규·인기 */
.pm-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pm-mini { margin: 0; padding: 0; list-style: none; }
.pm-mini li + li { border-top: 1px solid rgba(217, 177, 101, .08); }
.pm-mini a { display: flex; align-items: center; gap: 12px; min-height: 60px; color: inherit; text-decoration: none; }
.pm-mini a:hover b { color: var(--gold-hi); }
.pm-mini-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pm-mini-t b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-mini-t small { font-size: 12.5px; color: var(--ivory-3); }
.pm-mini-p { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pm-mini-p em { font-style: normal; font-size: 11.5px; color: var(--ivory-3); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-mini-p b { font: 800 18px/1 var(--serif); font-variant-numeric: tabular-nums; border-radius: 3px; }

/* 홈: 세 단계 */
.pm-how-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 34px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 14px; background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(217, 177, 101, .14), transparent 60%), linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line-2); }
.pm-how-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pm-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pm-how-steps li { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 12px; background: rgba(11, 8, 6, .5); box-shadow: inset 0 0 0 1px var(--line); }
.pm-how-steps li > b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pm-gold); color: #1d1408; font: 900 16px/1 var(--serif); box-shadow: inset 0 1px 0 rgba(255, 250, 230, .7); }
.pm-how-steps span { font-size: 13.5px; line-height: 1.65; color: var(--ivory-2); }
.pm-how-steps strong { display: block; margin-bottom: 4px; font: 700 16.5px/1.35 var(--serif); color: var(--ivory); }

/* ───────── 확률 차트 ───────── */
.pm-chart { position: relative; height: 300px; touch-action: pan-y; }
.pm-chart svg { display: block; overflow: visible; }
.pm-gl { stroke: rgba(217, 177, 101, .1); stroke-width: 1; stroke-dasharray: 3 4; }
.pm-gt { font: 500 11.5px var(--sans); fill: var(--ivory-3); font-variant-numeric: tabular-nums; }
.pm-ln { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .7; }
.pm-ln.on { stroke-width: 2.4; opacity: 1; filter: drop-shadow(0 0 6px rgba(232, 196, 119, .35)); }
.pm-end { stroke: #0b0806; stroke-width: 2; }
.pm-pulse { transform-box: fill-box; transform-origin: center; animation: pmPulse 1.8s ease-out infinite; }
@keyframes pmPulse { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.pm-hl { stroke: rgba(246, 226, 164, .5); stroke-width: 1; stroke-dasharray: 3 3; }
.pm-tip { position: absolute; top: 8px; z-index: 2; display: flex; flex-direction: column; gap: 5px; min-width: 150px; padding: 10px 12px; border-radius: 8px; background: rgba(19, 15, 10, .96); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px rgba(0, 0, 0, .55); font-size: 12.5px; color: var(--ivory-2); pointer-events: none; }
.pm-tip em { font-style: normal; color: var(--ivory-3); }
.pm-tip span { display: flex; align-items: center; gap: 7px; }
.pm-tip span i { width: 8px; height: 8px; border-radius: 2px; }
.pm-tip span b { margin-left: auto; color: var(--ivory); font-variant-numeric: tabular-nums; }

/* ───────── 상세 ───────── */
.pm-dhero { padding: clamp(26px, 3vw, 40px) 0 clamp(22px, 2.4vw, 30px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 55% 140% at 92% 0%, rgba(217, 177, 101, .15), transparent 62%), linear-gradient(180deg, #140f09, #0b0806); }
.pm-dhead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.pm-dtags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pm-dt { margin: 0; font: 800 clamp(26px, 2.6vw, 38px)/1.28 var(--serif); letter-spacing: -.04em; color: var(--ivory); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.pm-dact { display: flex; gap: 8px; }
.pm-dact .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm-dstats { display: grid; grid-template-columns: repeat(5, minmax(0, auto)); justify-content: start; gap: 10px 40px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.pm-dstats div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pm-dstats dt { font-size: 12.5px; color: var(--ivory-3); }
.pm-dstats dd { margin: 0; font: 700 18px/1.2 var(--serif); color: var(--ivory); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-dstats [data-pm-cd] { color: var(--gold-hi); }

.pm-detail { display: grid; grid-template-columns: minmax(0, 1fr) 372px; grid-template-areas: "a t" "b t"; gap: 18px 22px; align-items: start; }
.pm-d-a { grid-area: a; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pm-d-t { grid-area: t; position: sticky; top: calc(var(--hd-h) + 16px); min-width: 0; }
.pm-d-b { grid-area: b; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pm-d-g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.pm-d-g2.one { grid-template-columns: minmax(0, 1fr); }
.pm > .tiles + .blk, .pm > .pm-watch-empty + .blk, .pm > .pm-grid + .blk { margin-top: clamp(40px, 4.6vw, 64px); }
.pm-chart-hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.pm-chart-t { margin: 0; font: 600 14px/1.3 var(--sans); color: var(--ivory-3); }
.pm-chart-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 6px 0 0; font-size: 13.5px; color: var(--ivory-3); }
.pm-chart-now > b { font: 900 46px/1 var(--serif); letter-spacing: -.03em; }
.pm-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pm-legend:empty { display: none; }
.pm-lg { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 8, 6, .5); color: var(--ivory-2); font: 500 13px/1 var(--sans); cursor: pointer; }
.pm-lg i { width: 9px; height: 9px; border-radius: 2px; }
.pm-lg b { color: var(--ivory); font-variant-numeric: tabular-nums; }
.pm-lg[aria-pressed="true"] { border-color: var(--gold); color: var(--ivory); background: rgba(217, 177, 101, .1); }

/* 결과별 가격 */
.pm-outs-d { display: flex; flex-direction: column; }
.pm-orow-d { display: grid; grid-template-columns: minmax(110px, 1.1fr) minmax(60px, 1fr) 54px 64px auto; align-items: center; gap: 14px; min-height: 64px; padding: 8px 10px; border-radius: 10px; }
.pm-orow-d + .pm-orow-d { border-top: 1px solid rgba(217, 177, 101, .08); }
.pm-orow-d.sel { background: rgba(217, 177, 101, .06); box-shadow: inset 0 0 0 1px rgba(217, 177, 101, .26); }
.pm-orow-d.won { background: rgba(217, 177, 101, .06); }
.pm-od-l { display: flex; align-items: center; gap: 9px; min-width: 0; font: 700 16px/1.3 var(--serif); color: var(--ivory); }
.pm-od-l > i { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.pm-od-bar { height: 7px; }
.pm-od-bar.yes i { background: linear-gradient(90deg, #1f9c62, #4fd394); }
.pm-od-bar.no i { background: linear-gradient(90deg, #b2402d, #f08c74); }
.pm-od-p { font: 900 22px/1 var(--serif); text-align: right; font-variant-numeric: tabular-nums; border-radius: 3px; }
.pm-od-x { font-size: 13px; color: var(--ivory-3); }
.pm-od-btns { display: flex; gap: 6px; justify-self: end; }
.pm-outs-d.bin .pm-orow-d { grid-template-columns: minmax(90px, .7fr) minmax(80px, 1.6fr) 64px 176px; }
.pm-outs-d.bin .pm-od-btns, .pm-outs-d.bin .pm-ob { width: 100%; }
.pm-outs-d.fin .pm-orow-d { grid-template-columns: minmax(90px, .7fr) minmax(80px, 1.6fr) 64px 120px; }
.pm-ob { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 104px; height: 40px; padding: 0 12px; border-radius: 8px; border: 0; font: 600 13.5px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; }
.pm-ob b { font-weight: 800; color: var(--ivory); font-variant-numeric: tabular-nums; }
.pm-ob.yes { background: rgba(47, 191, 122, .1); box-shadow: inset 0 0 0 1px rgba(47, 191, 122, .34); color: #6fdcaa; }
.pm-ob.no { background: rgba(239, 90, 70, .1); box-shadow: inset 0 0 0 1px rgba(239, 90, 70, .34); color: #f7a594; }
.pm-ob.yes:hover, .pm-ob.yes[aria-pressed="true"] { background: linear-gradient(180deg, #38c983, #23a565); box-shadow: none; color: #fff; }
.pm-ob.no:hover, .pm-ob.no[aria-pressed="true"] { background: linear-gradient(180deg, #f2664f, #d1432e); box-shadow: none; color: #fff; }
.pm-ob:hover b, .pm-ob[aria-pressed="true"] b { color: #fff; }
.pm-dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; vertical-align: middle; }
.pm-dot.bid { background: #3fbf7f; }
.pm-dot.ask { background: #ef6a52; }

/* 호가창 */
.pm-bk { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pm-bk-h, .pm-bk-r { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; padding: 0 10px; }
.pm-bk-h { padding-bottom: 8px; font-size: 12px; color: var(--ivory-3); }
.pm-bk-h span:not(:first-child), .pm-bk-r span:not(:first-child) { text-align: right; }
.pm-bk-r { position: relative; align-items: center; height: 30px; border-radius: 4px; }
.pm-bk-r i { position: absolute; right: 0; top: 2px; bottom: 2px; border-radius: 3px; transition: width .6s var(--ease); }
.pm-bk-r span { position: relative; }
.pm-bk-r.ask i { background: rgba(239, 90, 70, .14); }
.pm-bk-r.bid i { background: rgba(47, 191, 122, .14); }
.pm-bk-r.ask span:first-child { color: #f7a594; font-weight: 700; }
.pm-bk-r.bid span:first-child { color: #6fdcaa; font-weight: 700; }
.pm-bk-r span:last-child { color: var(--ivory-3); }
.pm-bk-mid { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 6px 0; padding: 10px; border-block: 1px solid var(--line); }
.pm-bk-mid b { font: 800 17px/1 var(--serif); color: var(--gold-hi); }
.pm-bk-mid span { font-size: 12px; color: var(--ivory-3); }
.pm-bk-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--ivory-3); }
.pm-bk-note .pm-dot + * { margin-right: 6px; }
.pm-empty-sm { padding: 34px 10px; }
.pm-related { margin-top: clamp(26px, 3vw, 40px); }

/* 최근 거래·활동 줄 */
.pm-trades, .pm-feed { margin: 0; padding: 0; list-style: none; }
.pm-tr { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; min-height: 40px; padding: 4px 4px; border-bottom: 1px solid rgba(217, 177, 101, .07); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pm-trades .pm-tr { grid-template-columns: 62px minmax(0, 1fr) auto auto auto; }
.pm-trades .pm-tr-a { display: none; }
.pm-trades .pm-tr:has(.pm-tr-o) { grid-template-columns: 62px minmax(0, .8fr) auto minmax(0, 1fr) auto auto; }
.pm-tr:last-child { border-bottom: 0; }
.pm-tr.fresh { animation: pmIn .9s var(--ease); }
@keyframes pmIn { from { opacity: 0; transform: translateY(-10px); background: rgba(217, 177, 101, .12); } }
.pm-tr-time { color: var(--ivory-3); font-size: 12.5px; }
.pm-tr-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ivory-2); }
.pm-tr-o { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ivory-2); }
.pm-tr-q { text-align: right; color: var(--ivory-2); white-space: nowrap; }
.pm-tr-p { text-align: right; font-weight: 700; color: var(--ivory); white-space: nowrap; }
.pm-tr-a { text-align: right; color: var(--champagne); white-space: nowrap; }
.pm-tr-m { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; color: var(--ivory); text-decoration: none; white-space: nowrap; }
.pm-tr-m:hover { color: var(--gold-hi); }
a.pm-tr-m { text-overflow: ellipsis; display: block; }

/* 규칙 상자 */
.pm-sum { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; background: rgba(217, 177, 101, .07); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.75; color: var(--ivory); }
.pm-rules-g { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
.pm-ol { margin: 0; padding: 0; list-style: none; counter-reset: pmr; }
.pm-ol li { position: relative; padding: 0 0 14px 38px; font-size: 14.5px; line-height: 1.75; color: var(--ivory-2); counter-increment: pmr; }
.pm-ol li::before { content: counter(pmr); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 177, 101, .12); box-shadow: inset 0 0 0 1px var(--line-2); font: 700 13px/1 var(--serif); color: var(--gold-hi); }
.pm-rules-side { display: flex; flex-direction: column; gap: 14px; }
.pm-src { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 10px; background: rgba(11, 8, 6, .5); box-shadow: inset 0 0 0 1px var(--line); }
.pm-src span { font-size: 12.5px; color: var(--ivory-3); }
.pm-src b { font: 700 15px/1.4 var(--serif); color: var(--champagne); }
.pm-dispute { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ivory-3); }
.pm-dispute a { color: var(--gold); }

/* ───────── 주문 칸 ───────── */
.pm-tk { padding: 20px; }
.pm-tk-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pm-tk-hd span { font-size: 13px; color: var(--ivory-3); }
.pm-tk-hd b { min-width: 0; font: 800 20px/1.3 var(--serif); color: var(--ivory); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-tk .pm-seg { display: flex; width: 100%; }
.pm-tk .pm-seg button { flex: 1; height: 40px; }
.pm-seg-side button { height: 44px !important; font-size: 15px; }
.pm-tk-out { margin: 12px 0 0; }
.pm-tk-out select { height: 46px; }
.pm-yn2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.pm-ynb { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 56px; padding: 0 14px; border-radius: 10px; border: 0; font: 700 15px/1 var(--sans); cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; }
.pm-ynb b { font: 800 17px/1 var(--sans); font-variant-numeric: tabular-nums; }
.pm-ynb.yes { background: rgba(47, 191, 122, .1); box-shadow: inset 0 0 0 1px rgba(47, 191, 122, .34); color: #6fdcaa; }
.pm-ynb.no { background: rgba(239, 90, 70, .1); box-shadow: inset 0 0 0 1px rgba(239, 90, 70, .34); color: #f7a594; }
.pm-ynb.yes[aria-pressed="true"] { background: linear-gradient(180deg, #38c983, #23a565); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -14px rgba(47, 191, 122, .9); color: #fff; }
.pm-ynb.no[aria-pressed="true"] { background: linear-gradient(180deg, #f2664f, #d1432e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -14px rgba(239, 90, 70, .9); color: #fff; }
.pm-lim { margin: 12px 0 0; }
.pm-lim > span em { font-style: normal; color: var(--ivory-3); font-size: 12px; margin-left: 4px; }
.pm-step { display: grid; grid-template-columns: 50px minmax(0, 1fr) 50px; gap: 6px; }
.pm-step button { height: 50px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(19, 15, 10, .6); color: var(--ivory); font: 500 22px/1 var(--sans); cursor: pointer; }
.pm-step button:hover { border-color: var(--gold); color: var(--gold-hi); }
.pm-step input { text-align: center; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
.pm-tk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pm-tk-row .fld { margin: 0; }
.pm-tk-row input { text-align: right; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
.pm-tk-row input[readonly] { color: var(--gold-hi); }
.pm-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.pm-quick button { height: 40px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(19, 15, 10, .6); color: var(--ivory-2); font: 600 13.5px/1 var(--sans); cursor: pointer; }
.pm-quick button:hover { border-color: var(--gold); color: var(--gold-hi); }
.pm-tk-sum { gap: 9px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-2); }
.pm-tk-sum small { font-size: 11.5px; color: var(--ivory-3); }
.pm-tk-sum dd { font-weight: 600; }
.pm-tk-pay dt { color: var(--ivory-2) !important; }
.pm-tk-pay dd { font: 800 18px/1.1 var(--serif) !important; color: var(--gold-hi) !important; }
.pm-tk-msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--warn); }
.pm-tk-msg.ok { color: #8fdcb0; }
.pm-tk-msg.warn { color: #f7a594; }
.pm-tk-msg a { color: var(--gold-hi); font-weight: 600; }
.pm-tk-go { margin-top: 8px; font-size: 16px !important; }
.pm-tk-go.is-sell { background: linear-gradient(180deg, #f2664f, #d1432e); border-color: #b23a28; color: #fff; text-shadow: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.pm-tk-bal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 12px 0 0; font-size: 13px; color: var(--ivory-3); }
.pm-tk-bal b { color: var(--ivory); font-variant-numeric: tabular-nums; }
.pm-tk-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ivory-3); }
.pm-tk-done { display: flex; flex-direction: column; gap: 14px; }
.pm-tk-done .pm-stamp { align-self: flex-start; font-size: 20px; padding: 10px 14px; }
.pm-tk-done .box-d { line-height: 1.7; }
.pm-tk-done .kv { padding: 14px 0; border-block: 1px solid var(--line); }

/* ───────── 목록형 도구 ───────── */
.pm-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pm-tools .chips { min-width: 0; max-width: 100%; }
.pm-tools-r { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pm-tools-r .search { flex: 0 1 260px; min-width: 200px; }
.pm-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ivory-3); }
.pm-sort select { height: 42px; padding: 0 38px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #0c0907 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b064' stroke-width='1.8'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; color: var(--ivory); font: 600 14px/1 var(--sans); -webkit-appearance: none; appearance: none; cursor: pointer; }
.pm-sort select:focus { outline: none; border-color: var(--gold); }
.pm-count { margin: 0 0 14px; font-size: 14px; color: var(--ivory-3); }
.pm-count b { color: var(--gold-hi); }
.pm .bar .pm-cats { margin: 0; min-width: 0; }
.pm .bar .pm-count { margin: 0; }
.pm-empty a, .pm-watch-empty a:not(.btn) { color: var(--gold); }
.pm-reqnote { margin-top: 26px; }
.pm-reqnote a { color: var(--gold-hi); font-weight: 600; margin-left: 4px; }
.pm-mb { margin-bottom: 18px; }
.pm-mt { margin-top: 16px; }

/* 마감 임박 줄 */
.pm-close-tiles { margin-bottom: 26px; }
.pm-close-tiles [data-pm-cd] { color: var(--gold-hi); }
.pm-tl { margin: 0; padding: 0; list-style: none; }
.pm-tl-m { padding: 20px 0 10px; font: 700 15px/1 var(--serif); color: var(--champagne); }
.pm-tl-m:first-child { padding-top: 0; }
.pm-tl-i { display: grid; grid-template-columns: 110px minmax(0, 1fr) 170px 260px; align-items: center; gap: 20px; padding: 16px 20px; border-radius: 12px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); }
.pm-tl-i + .pm-tl-i { margin-top: 10px; }
.pm-tl-i.soon { box-shadow: inset 0 0 0 1px rgba(239, 90, 70, .4), inset 3px 0 0 #ef6a52; }
.pm-tl-d { display: flex; flex-direction: column; gap: 5px; }
.pm-tl-d b { font: 900 24px/1 var(--serif); color: var(--gold-hi); }
.pm-tl-i.soon .pm-tl-d b { color: #f7a594; }
.pm-tl-d span { font-size: 12.5px; color: var(--ivory-3); }
.pm-tl-c { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pm-tl-tx { min-width: 0; }
.pm-tl-tx a { font: 700 16.5px/1.4 var(--serif); color: var(--ivory); text-decoration: none; }
.pm-tl-tx a:hover { color: var(--gold-hi); }
.pm-tl-tx p { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 5px 0 0; font-size: 12.5px; color: var(--ivory-3); }
.pm-tl-tx p b { color: var(--ivory); font-variant-numeric: tabular-nums; }
.pm-tl-cd { display: flex; flex-direction: column; gap: 4px; }
.pm-tl-cd small { font-size: 12px; color: var(--ivory-3); }
.pm-tl-cd b { font: 700 17px/1 var(--sans); color: var(--ivory); font-variant-numeric: tabular-nums; }
.pm-tl-b { grid-template-columns: 1fr 1fr; }
.pm-tl-b .pm-yes:only-child { grid-column: 1 / -1; }

/* 관심 목록 비었을 때 */
.pm-watch-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 54px 20px; text-align: center; }
.pm-watch-empty[hidden] { display: none; }
.pm-watch-empty b { font: 700 21px/1.3 var(--serif); color: var(--ivory); }
.pm-watch-empty p { max-width: 30em; margin: 0 0 6px; font-size: 14.5px; color: var(--ivory-3); }
.pm-bigstar { width: 54px; height: 54px; fill: rgba(217, 177, 101, .12); stroke: var(--gold); stroke-width: 1.2; stroke-linejoin: round; }

/* 찾기 */
.pm-sform { display: flex; gap: 10px; max-width: 760px; }
.pm-sbig { flex: 1; min-width: 0; }
.pm-sbig input { height: 54px; padding-left: 50px; font-size: 16.5px; }
.pm-sbig svg { left: 18px; width: 20px; height: 20px; margin-top: -10px; }
.pm-sform .btn { height: 54px; padding: 0 28px; }
.pm-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 28px; }
.pm-pop > span { font-size: 13px; color: var(--ivory-3); }

/* ───────── 내 포트폴리오 ───────── */
.pm-ptiles { --cols: 4; }
.pm-alloc { margin-bottom: 16px; }
.pm-alloc:empty { display: none; }
.pm-alloc-bar { display: flex; height: 10px; overflow: hidden; border-radius: 99px; background: var(--ink-3); gap: 2px; }
.pm-alloc-bar i { display: block; height: 100%; }
.pm-alloc-lg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ivory-2); }
.pm-alloc-lg li { display: inline-flex; align-items: center; gap: 7px; }
.pm-alloc-lg i { width: 9px; height: 9px; border-radius: 2px; }
.pm-alloc-lg b { color: var(--ivory); }
.pm-pcell { display: flex; align-items: center; gap: 12px; min-width: 220px; text-decoration: none; }
.pm-pcell > span:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.pm-pcell b { font-weight: 600; color: var(--ivory); }
.pm-pcell:hover b { color: var(--gold-hi); }
.pm-sub { display: block; margin-top: 3px; font-size: 12px; color: var(--ivory-3); }
.pm-ptable td.rise .pm-sub, .pm-ptable td.fall .pm-sub { color: inherit; opacity: .85; }
.pm-settle { margin-top: clamp(30px, 3.4vw, 44px); }
.pm-wait li, .pm-paid li { padding: 12px 0; }
.pm-wait a { display: flex; align-items: center; gap: 12px; width: 100%; color: inherit; text-decoration: none; }
.pm-wait a:hover b { color: var(--gold-hi); }
.pm-li-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pm-li-t b { font-weight: 600; color: var(--ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-li-t a { text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pm-li-t a:hover b { color: var(--gold-hi); }
.pm-li-t small { font-size: 12.5px; color: var(--ivory-3); }
.pm-li-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-variant-numeric: tabular-nums; }
.pm-li-v small { font-size: 12px; color: var(--ivory-3); }
.pm-li-v small.rise { color: var(--rise); }
.pm-li-v small.fall { color: var(--fall); }
.pm-li-empty { justify-content: center; padding: 30px 0 !important; color: var(--ivory-3); }

/* 주문·활동 탭 */
.pm-tabs > .subnav { margin: 26px 0 18px; }
.pm-n { display: inline-grid; place-items: center; min-width: 22px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 99px; background: rgba(217, 177, 101, .14); font: 700 11.5px/1 var(--sans); color: var(--gold-hi); }
.pm-otable td .pm-tag { margin-left: 8px; }
.pm-prog { display: block; width: 90px; height: 5px; margin: 6px 0 0 auto; }
.pm-act-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; color: var(--ivory-3); }
.pm-feed { padding: 6px 18px; border-radius: 12px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); }
.pm-feed .pm-tr { grid-template-columns: 70px 90px auto minmax(0, 1fr) 80px 70px 100px; min-height: 52px; font-size: 14px; }
.pm-feed-me .pm-tr { grid-template-columns: 96px 92px minmax(0, 1fr) auto 110px; }
.pm-feed .empty { display: block; }
.pm-kind { font-weight: 700; font-size: 13px; }
.pm-tr-m .pm-tag { flex: none; }
.pm-me-row .pm-tr-m { display: flex; }
.pm-me-row .pm-tr-m > a, .pm-me-row .pm-tr-m > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ivory); text-decoration: none; font-weight: 600; }
.pm-me-row .pm-tr-m > a:hover { color: var(--gold-hi); }
.pm-me-row > b { text-align: right; white-space: nowrap; }

/* ───────── 랭킹 ───────── */
.pm-podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 14px; margin: 26px 0 30px; padding: 0; list-style: none; }
.pm-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px 22px; border-radius: 14px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.pm-pod.p1 { padding-top: 34px; padding-bottom: 30px; background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(217, 177, 101, .2), transparent 70%), linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 60px -20px rgba(217, 177, 101, .6); }
.pm-pod-n { position: absolute; left: 16px; top: 14px; font: 900 30px/1 var(--serif); color: var(--gold); opacity: .8; }
.pm-pod img { width: 74px; height: 74px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); }
.pm-pod.p1 img { width: 96px; height: 96px; }
.pm-pod-nick { font: 800 19px/1.3 var(--serif); color: var(--ivory); }
.pm-pod-g { font-size: 12.5px; color: var(--gold); }
.pm-pod strong { margin-top: 4px; font: 900 24px/1.1 var(--serif); color: var(--rise); font-variant-numeric: tabular-nums; }
.pm-pod.p1 strong { font-size: 30px; }
.pm-pod small { font-size: 12.5px; color: var(--ivory-3); }
.pm-rk { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(217, 177, 101, .1); font: 800 14px/1 var(--serif); color: var(--gold-hi); }
.pm-nick { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.pm-nick img { width: 28px; height: 28px; }
.pm-nick small { font-size: 12px; font-weight: 500; color: var(--ivory-3); }
.pm-me { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 12px 0 0; padding: 14px 18px; border-radius: 12px; background: rgba(217, 177, 101, .08); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; color: var(--ivory-2); }
.pm-me span { display: inline-flex; align-items: center; gap: 8px; }
.pm-me img { width: 28px; height: 28px; }
.pm-vrank { margin: 0; padding: 0; list-style: none; }
.pm-vrank a { display: flex; align-items: center; gap: 12px; min-height: 54px; color: inherit; text-decoration: none; }
.pm-vrank li + li { border-top: 1px solid rgba(217, 177, 101, .08); }
.pm-vr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pm-vr-t b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-vrank a:hover b { color: var(--gold-hi); }
.pm-vr-bar { height: 4px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.pm-vr-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.pm-vrank em { flex: none; font-style: normal; font-size: 13px; font-weight: 700; color: var(--champagne); font-variant-numeric: tabular-nums; }

/* ───────── 이용 가이드 ───────── */
.pm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pm-step-c { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); }
.pm-ill { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 210px; padding: 18px; overflow: hidden; background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(217, 177, 101, .16), transparent 70%), #0d0a07; border-bottom: 1px solid var(--line); }
.pm-step-tx { padding: 20px; }
.pm-step-n { font: 700 11.5px/1 var(--sans); letter-spacing: .14em; color: var(--gold); }
.pm-step-tx h2 { margin: 8px 0 8px; font: 800 21px/1.3 var(--serif); letter-spacing: -.03em; color: var(--ivory); }
.pm-step-tx p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ivory-2); }
.pm-ill-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; width: 82%; padding: 13px 14px; border-radius: 10px; background: linear-gradient(180deg, #221a10, #16110b); box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 30px -12px rgba(0, 0, 0, .8); font-size: 12.5px; }
.pm-ill-card b { font: 700 13.5px/1.3 var(--serif); color: var(--ivory); padding-left: 30px; min-height: 22px; }
.pm-ill-ico { position: absolute; left: 13px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--pm-gold); }
.pm-ill-bar { height: 5px; border-radius: 9px; background: rgba(239, 90, 70, .3); overflow: hidden; }
.pm-ill-bar i { display: block; height: 100%; background: #3fbf7f; }
.pm-ill-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pm-ill-yn em { font-style: normal; padding: 6px 0; border-radius: 6px; text-align: center; font-weight: 700; }
.pm-ill-yn .y { background: rgba(47, 191, 122, .14); color: #6fdcaa; }
.pm-ill-yn .n { background: rgba(239, 90, 70, .14); color: #f7a594; }
.pm-ill-back { position: absolute; z-index: 0; width: 74%; top: 22px; transform: translateX(16px) rotate(4deg); opacity: .45; }
.pm-ill-1 .pm-ill-card:first-child { margin-top: 40px; transform: rotate(-2deg); }
.pm-ill-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 88%; }
.pm-ill-price > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 10px; }
.pm-ill-price .y { background: linear-gradient(180deg, #38c983, #23a565); color: #fff; box-shadow: 0 12px 26px -14px rgba(47, 191, 122, .9); }
.pm-ill-price .n { background: rgba(239, 90, 70, .12); box-shadow: inset 0 0 0 1px rgba(239, 90, 70, .4); color: #f7a594; }
.pm-ill-price small { font-size: 12px; font-weight: 700; }
.pm-ill-price b { font: 900 22px/1 var(--sans); }
.pm-ill-price em { font-style: normal; font-size: 12px; opacity: .85; }
.pm-ill-eq { margin: 4px 0 0; font-size: 13px; color: var(--champagne); }
.pm-ill-tk { display: flex; flex-direction: column; gap: 7px; width: 84%; padding: 14px; border-radius: 10px; background: linear-gradient(180deg, #221a10, #16110b); box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 30px -12px rgba(0, 0, 0, .8); }
.pm-ill-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ivory-3); }
.pm-ill-row b { color: var(--ivory); }
.pm-ill-row.hl b { color: var(--gold-hi); font-family: var(--serif); font-size: 14.5px; }
.pm-ill-go { margin-top: 4px; padding: 9px 0; border-radius: 6px; background: linear-gradient(180deg, #38c983, #23a565); color: #fff; text-align: center; font-size: 13px; font-weight: 700; }
.pm-ill-coin { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pm-ill-coin img { width: 104px; height: 104px; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .7)); animation: pmSpin 3.6s ease-in-out infinite; }
@keyframes pmSpin { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-9px) rotate(5deg); } }
.pm-ill-coin b { font: 900 20px/1 var(--serif); color: var(--gold-hi); }
.pm-guide-g { margin-top: clamp(44px, 5vw, 68px); }
.pm-calc .box-d { margin-bottom: 16px; }
.pm-calc .fld > span b { color: var(--gold-hi); }
.pm-amts3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pm-amts3 button.on { background: var(--pm-gold); border-color: rgba(122, 84, 28, .9); color: #1d1408; }
.pm-calc-out { gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.pm-calc-out dd { font-weight: 700; font-size: 15px; }
.pm-terms { display: grid; gap: 14px; margin: 16px 0 0; }
.pm-terms div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
.pm-terms dt { font: 700 15px/1.6 var(--serif); color: var(--champagne); }
.pm-terms dd { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ivory-2); }
.pm-faq { padding-top: 4px; padding-bottom: 4px; }
.pm-faq details.acc:last-child { border-bottom: 0; }
.pm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(40px, 4vw, 56px); padding: 26px 28px; border-radius: 14px; background: radial-gradient(ellipse 60% 140% at 100% 50%, rgba(217, 177, 101, .16), transparent 60%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pm-cta p { flex: 1 1 260px; margin: 0; font-size: 15.5px; color: var(--ivory-2); }
.pm-cta p b { display: block; margin-bottom: 4px; font: 800 21px/1.3 var(--serif); color: var(--ivory); }

/* ───────── 규칙 ───────── */
.pm-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.pm-pillars li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 12px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); }
.pm-pillars b { font: 800 18px/1.3 var(--serif); color: var(--gold-hi); }
.pm-pillars span { font-size: 13.5px; line-height: 1.65; color: var(--ivory-2); }
.pm-rules-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: start; }
.pm-toc { position: sticky; top: calc(var(--hd-h) + 20px); display: flex; flex-direction: column; padding: 18px; }
.pm-toc b { margin-bottom: 8px; font: 700 13px/1 var(--sans); letter-spacing: .06em; color: var(--gold); }
.pm-toc a { padding: 9px 4px; border-bottom: 1px solid rgba(217, 177, 101, .07); font-size: 14px; color: var(--ivory-2); text-decoration: none; }
.pm-toc a:last-child { border-bottom: 0; }
.pm-toc a:hover { color: var(--gold-hi); }
.pm-prose { max-width: 860px; }
.pm-prose h2 { scroll-margin-top: calc(var(--hd-h) + 20px); }
.pm-prose h2:first-child { margin-top: 0; }
.pm-prose a { color: var(--gold); }
.pm-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 1.4em !important; padding: 0 !important; list-style: none; counter-reset: pmf; }
.pm-flow li { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0 !important; padding: 16px 14px 14px; border-radius: 10px; background: rgba(217, 177, 101, .06); box-shadow: inset 0 0 0 1px var(--line); counter-increment: pmf; }
.pm-flow li::before { content: counter(pmf); font: 900 22px/1 var(--serif); color: var(--gold); }
.pm-flow b { font: 700 15.5px/1.3 var(--serif); color: var(--ivory); }
.pm-flow span { font-size: 13px; line-height: 1.6; color: var(--ivory-2); }
.pm-flow-v { grid-template-columns: minmax(0, 1fr); margin: 14px 0 0 !important; }
.pm-flow-v li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; row-gap: 3px; }
.pm-flow-v li::before { grid-row: span 2; font-size: 20px; }

/* ───────── 수수료 ───────── */
.pm-grade { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.pm-grade img { width: 30px; height: 30px; }
.pm-ftable tbody tr:nth-child(3) td { background: rgba(217, 177, 101, .06); }
.pm-fcalc .box-d { margin-bottom: 16px; }
.pm-formula { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 18px; padding: 0; list-style: none; }
.pm-formula li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; padding: 12px 14px; border-radius: 10px; background: rgba(11, 8, 6, .5); box-shadow: inset 0 0 0 1px var(--line); }
.pm-formula span { grid-row: span 2; font: 700 14px/1.4 var(--serif); color: var(--champagne); }
.pm-formula b { font-size: 14px; color: var(--ivory); }
.pm-formula small { font-size: 12.5px; color: var(--ivory-3); font-variant-numeric: tabular-nums; }

/* ───────── 시장 제안 ───────── */
.pm-req { grid-template-columns: minmax(0, 1fr) 380px; }
.pm-reqf .box-d { margin: 4px 0 18px; }
.pm-reqf .opts { margin-top: 2px; }
.pm-req-side { display: flex; flex-direction: column; gap: 14px; }
.pm-checks { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pm-checks li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.6; color: var(--ivory-2); }
.pm-checks li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pm-gold); }
.pm-checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 4px; border-left: 1.8px solid #1d1408; border-bottom: 1.8px solid #1d1408; transform: rotate(-45deg); }
.pm-reqlist li { gap: 12px; }

/* ───────── 반응형 ───────── */
@media (max-width: 1240px) {
  .pm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pm-feat-wrap { grid-template-columns: minmax(0, 1fr); }
  .pm-movers .pm-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .pm-movers .pm-rank li + li { border-top: 0; }
  .pm-movers .pm-rank li { border-bottom: 1px solid rgba(217, 177, 101, .08); }
  .pm-detail { grid-template-columns: minmax(0, 1fr) 340px; }
  .pm-tl-i { grid-template-columns: 96px minmax(0, 1fr) 150px; }
  .pm-tl-b { grid-column: 2 / -1; }
  .pm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-feed .pm-tr { grid-template-columns: 70px 84px auto minmax(0, 1fr) 70px 64px; }
  .pm-feed .pm-tr-a { display: none; }
}
@media (max-width: 1100px) {
  .pm-detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "t" "b"; }
  .pm-d-t { position: static; }
  .pm-rules-g { grid-template-columns: minmax(0, 1fr); }
  .pm-trio { grid-template-columns: minmax(0, 1fr); }
  .pm-how-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pm-dstats { grid-template-columns: repeat(3, minmax(0, auto)); }
  .pm-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-rules-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pm-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 14px; }
  .pm-toc b { width: 100%; }
  .pm-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 13px; }
  .pm-toc a:last-child { border-bottom: 1px solid var(--line); }
  .pm-req { grid-template-columns: minmax(0, 1fr); }
  .pm-ptiles { --cols: 2; }
}
@media (max-width: 980px) {
  .pm-grid, .pm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-feat-body { grid-template-columns: minmax(0, 1fr); }
  .pm-wide { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pm-d-g2 { grid-template-columns: minmax(0, 1fr); }
  .pm-podium { gap: 8px; }
}
@media (max-width: 760px) {
  .pm-subnav.subnav a { padding: 15px 11px 13px; font-size: 14px; }
  .pm-nav-q { width: 40px; padding: 0; justify-content: center; }
  .pm-nav-q span { display: none; }
  .pm-ph { min-height: 340px; }
  .pm-tape-in { height: 48px; gap: 12px; }
  .pm-tape-k { padding-right: 12px; font-size: 13px; }
  .pm-tape-list li { font-size: 13px; padding-right: 30px; }
  .pm-grid, .pm-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pm-card { padding: 16px; }
  .pm-feat { padding: 18px 16px; }
  .pm-feat-hd .pm-medal-md { width: 40px; height: 40px; }
  .pm-feat-t { font-size: 21px; }
  .pm-feat-nav { display: flex; width: 100%; }
  .pm-feat-nav button { flex: 1 1 0; min-width: 0; height: auto; min-height: 44px; padding: 6px 8px; font-size: 13px; line-height: 1.3; white-space: normal; word-break: keep-all; }
  .pm-chart-feat, .pm-chart-wide { height: 220px; }
  .pm-wide { padding: 18px 16px; }
  .pm-wide .pm-big { font-size: 38px; }
  .pm-wide-meta { gap: 6px 18px; }
  .pm-wide-meta dd { font-size: 14.5px; }
  .pm-fbig b { font-size: 52px; }
  .pm-movers .pm-rank { grid-template-columns: minmax(0, 1fr); }
  .pm-how-steps { grid-template-columns: minmax(0, 1fr); }
  .pm-how-steps li { flex-direction: row; align-items: flex-start; }
  .pm-how-steps li > b { flex: none; }
  .pm-seg button { height: 40px; }

  .pm-dhead { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .pm-medal-lg { width: 48px; height: 48px; align-self: start; }
  .pm-dact { grid-column: 1 / -1; }
  .pm-dact .btn { flex: 1; height: 42px; }
  .pm-dt { font-size: 24px; }
  .pm-dstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .pm-dstats div:last-child { grid-column: 1 / -1; }
  .pm-dstats dd { font-size: 16.5px; white-space: normal; }
  .pm-chart { height: 230px; }
  .pm-chart-now > b { font-size: 38px; }
  .pm-range { width: 100%; }
  .pm-range button { flex: 1; }
  .pm-orow-d { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l p" "bar bar" "btn btn"; gap: 8px 12px; padding: 12px 6px; }
  .pm-od-l { grid-area: l; }
  .pm-od-p { grid-area: p; }
  .pm-od-bar { grid-area: bar; }
  .pm-orow-d > .pm-ch { display: none; }
  .pm-od-btns { grid-area: btn; justify-self: stretch; }
  .pm-od-btns .pm-ob { flex: 1; justify-content: center; height: 44px; }
  .pm-outs-d.bin .pm-orow-d, .pm-outs-d.fin .pm-orow-d { grid-template-columns: minmax(0, 1fr) auto; }
  .pm-od-x { grid-area: btn; }
  .pm-tk { padding: 18px 16px; }
  .pm-tr { grid-template-columns: 58px minmax(0, 1fr) auto auto; gap: 8px; font-size: 13px; }
  .pm-trades .pm-tr, .pm-trades .pm-tr:has(.pm-tr-o) { grid-template-columns: 58px minmax(0, 1fr) auto auto; }
  .pm-trades .pm-tr:has(.pm-tr-o) .pm-tr-who, .pm-tr-q { display: none; }
  .pm-trades .pm-tr-o { grid-column: 2; grid-row: 1; }
  .pm-feed { padding: 4px 12px; }
  .pm-feed .pm-tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "m m" "s p" "t q"; gap: 4px 10px; padding: 10px 0; }
  .pm-feed .pm-tr-time { grid-area: t; }
  .pm-feed .pm-tr-who { display: none; }
  .pm-feed .pm-tag { grid-area: s; justify-self: start; }
  .pm-feed .pm-tr-m { grid-area: m; font-weight: 600; }
  .pm-feed .pm-tr-q { grid-area: q; display: block; }
  .pm-feed .pm-tr-p { grid-area: p; }
  .pm-feed-me .pm-tr { grid-template-areas: "m m" "k b" "t q"; }
  .pm-feed-me .pm-kind { grid-area: k; }
  .pm-feed-me .pm-tr-m { grid-area: m; }
  .pm-feed-me .pm-tag { grid-area: auto; }
  .pm-feed-me .pm-me-row > b { grid-area: b; }
  .pm-rules-g { gap: 14px; }

  .pm-tools-r { width: 100%; }
  .pm-tools-r .search { flex: 1 1 100%; }
  .pm-sort { flex: 1; }
  .pm-sort select { flex: 1; width: 100%; }
  .pm-tl-i { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "c c" "d cd" "b b"; gap: 12px; padding: 16px; }
  .pm-tl-c { grid-area: c; align-items: flex-start; }
  .pm-tl-d { grid-area: d; flex-direction: row; align-items: baseline; gap: 8px; }
  .pm-tl-d b { font-size: 20px; }
  .pm-tl-cd { grid-area: cd; align-items: flex-end; }
  .pm-tl-b { grid-area: b; grid-column: auto; }
  .pm-close-tiles { --cols: 1 !important; }
  .pm-sform .btn { padding: 0 18px; }
  .pm-podium { grid-template-columns: minmax(0, 1fr); }
  .pm-pod.p1 { order: -1; }
  .pm-pod { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 4px 12px; padding: 16px 16px 16px 58px; text-align: left; }
  .pm-pod.p1 { padding: 18px 16px 18px 58px; }
  .pm-pod-n { left: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; }
  .pm-pod img, .pm-pod.p1 img { width: 48px; height: 48px; }
  .pm-pod-nick { font-size: 17px; }
  .pm-pod strong, .pm-pod.p1 strong { width: 100%; font-size: 22px; }
  .pm-steps { grid-template-columns: minmax(0, 1fr); }
  .pm-ill { height: 190px; }
  .pm-pillars { grid-template-columns: minmax(0, 1fr); }
  .pm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-flow-v { grid-template-columns: minmax(0, 1fr); }
  .pm-terms div { grid-template-columns: 70px minmax(0, 1fr); }
  .pm-cta { padding: 20px; }
  .pm-cta .btn { flex: 1 1 140px; }
  .pm-pcell { min-width: 0; }
  .pm-ptable td[data-th=""]:first-child { padding-bottom: 8px; }
  .pm-ptable td .pm-sub { display: inline; margin: 0 0 0 6px; }
  .pm-prog { margin: 6px 0 0 auto; }
}

/* ───────── 오픈 품질 다듬기 (2026-10-12): 누르는 곳 크기·작은 글씨 ───────── */
.pm-card-t a { display: block; min-height: 40px; }
.pm-more-o { display: inline-flex; align-items: center; min-height: 40px; margin-top: -10px; }
.pm .box-hd .more { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; }
.pm-stamp small { font-size: 11.5px; }
.pm-feed a.pm-tr-m { padding: 9px 0; margin: -9px 0; }
.pm .dt td a:not(.btn), .pm-paid .pm-li-t a, .pm-reqnote a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.pm-reqnote a { padding-left: 4px; margin-left: 0; }
.pm-ill-row small { font-size: inherit; }
.pm-calc input[type="range"].range { height: 40px; }
.pm .check { min-height: 40px; }
.pm .check input { width: 20px; height: 20px; flex: none; }
@media (max-width: 1024px) {
  .pm .chip, .pm-cats .chip { min-height: 40px; }
  .pm .dt td .btn-xs { min-height: 40px; min-width: 56px; }
}
.pm-wide-t a { display: block; min-height: 40px; }
.pm-feat-cap a { display: inline-flex; align-items: center; min-height: 40px; }
.pm .check input { width: 24px; height: 24px; }

/* 좁은 화면 고정 주문 단추 */
.pm-tkbar { display: none; }
@media (max-width: 1100px) {
  .pm-tkbar:not([hidden]) { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 14px; background: rgba(15, 11, 7, .96); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -10px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .pm-tkbar-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .pm-tkbar-l small { font-size: 11.5px; color: var(--ivory-3); }
  .pm-tkbar-l b { font: 700 15px/1.2 var(--serif); color: var(--ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pm-tkbar .btn { flex: none; min-width: 112px; height: 44px; }
  [data-pm="detail"] { padding-bottom: 96px; }
}
@media (max-width: 760px) {
  .pm-tkbar:not([hidden]) { bottom: calc(70px + env(safe-area-inset-bottom)); }
  [data-pm="detail"] { padding-bottom: 150px; }
}
@media (max-width: 760px) {
  [data-pm-otiles] { --cols: 2 !important; }
  .pm-ptable td[data-th=""]:first-child { justify-content: flex-start; text-align: left; }
  .pm-pcell { width: 100%; }
  .pm-pcell > span:last-child { flex: 1; min-width: 0; }
}
.pm-tl-tx > a { display: inline-block; padding: 8px 0; margin: -8px 0; }
@media (max-width: 760px) {
  .pm-tl-b.pm-yn { grid-column: 1 / -1; width: 100%; justify-self: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pm-tl-d b { white-space: nowrap; }

/* ───────── 실연동(poly-live.js) 전용 (2026-10-12) ─────────
   서버 시장(결과 이름이 예·아니요가 아닐 수 있음)·내 계정 표·주문 칸 보조 문구에 쓰는 것만 더한다. 시안 모드 모양은 그대로다. */
/* 실연동 판정·그리기 전에는 시안 본문이 번쩍이지 않게 가린다(poly-live.js 가 붙였다 뗀다. 시안 모드에는 이 클래스가 없다) */
html.pm-hold #main > :not(.pm-nav) { visibility: hidden; }
.pm-dstats:empty, .pm-dact:empty, .pm-dtags:empty { display: none; }

/* 안내·로그인 상자 */
.pm-gate { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 760px; padding: 28px; }
.pm-gate b { font: 700 19px/1.4 var(--serif); color: var(--champagne); }
.pm-gate p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.7; color: var(--ivory-2); }
.pm-gate-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pm-gate-act.pm-center { justify-content: center; margin-top: 18px; }
.pm-metanote { margin-bottom: 14px; }
.pm-metanote b { color: var(--gold-hi); }
.pm-more { display: flex; justify-content: center; margin-top: 18px; }
.pm-more .btn { min-width: 220px; height: 46px; }
.pm-chart-empty { display: grid; place-items: center; height: 100%; min-height: 160px; padding: 0 16px; text-align: center; font-size: 14px; color: var(--ivory-3); }

/* 숫자 칸 */
.pm-rank-tiles, .pm-ftiles, .pm-otiles { margin-bottom: 26px; }
.pm-otiles { margin-bottom: 18px; }
.pm-obar { margin-bottom: 14px; }
@media (min-width: 1101px) { .pm-rank-tiles { --cols: 3; } }
@media (max-width: 1100px) { .pm-rank-tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* 표·딱지 */
.pm-tag.o { background: rgba(217, 177, 101, .14); color: var(--gold-hi); }
.pm-mrtable td { vertical-align: middle; }
.pm-mrtable .pm-pcell { min-width: 260px; align-items: flex-start; }
.pm-mrtable .pm-rk { flex: none; margin-top: 2px; }
.pm-mrtable .pm-sub { display: block; margin-top: 3px; }
.pm-otable td .pm-tag { margin-left: 8px; }
.pm-gone-i { display: flex; align-items: center; gap: 8px; }
.pm-gone-i > a { flex: 1; min-width: 0; }
.pm-gone-i .pm-star { margin: 0; }

/* 카드의 결과 줄(예·아니요가 아닌 이름도 들어간다) */
.pm-orows.lv .pm-orow { grid-template-columns: minmax(0, 1fr) auto auto; background: linear-gradient(90deg, rgba(217, 177, 101, .2) var(--w, 0%), rgba(11, 8, 6, .4) var(--w, 0%)); }
.pm-orows.lv .pm-orow-buy { background: rgba(217, 177, 101, .14); color: var(--gold-hi); }

/* 결과별 가격 표: 확률 두 자리 소수까지 들어가게 */
.pm-outs-d.multi .pm-orow-d { grid-template-columns: minmax(110px, 1.1fr) minmax(60px, 1fr) 82px 76px auto; }
.pm-od-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-ob.oa, .pm-ynb.oa { background: rgba(217, 177, 101, .1); box-shadow: inset 0 0 0 1px rgba(217, 177, 101, .38); color: var(--gold-hi); }
.pm-ob.ob, .pm-ynb.ob { background: rgba(120, 160, 245, .1); box-shadow: inset 0 0 0 1px rgba(120, 160, 245, .4); color: #a9c4ff; }
.pm-ob.oa:hover, .pm-ob.oa[aria-pressed="true"], .pm-ynb.oa[aria-pressed="true"] { background: var(--pm-gold); box-shadow: inset 0 1px 0 rgba(255, 250, 230, .7); color: #1d1408; }
.pm-ob.ob:hover, .pm-ob.ob[aria-pressed="true"], .pm-ynb.ob[aria-pressed="true"] { background: linear-gradient(180deg, #7aa2f7, #4b78d8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -14px rgba(120, 160, 245, .9); color: #fff; }
.pm-ob.oa:hover b, .pm-ob.oa[aria-pressed="true"] b { color: #1d1408; }
.pm-ob.ob:hover b, .pm-ob.ob[aria-pressed="true"] b { color: #fff; }
.pm-od-bar.oa i { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.pm-od-bar.ob i { background: linear-gradient(90deg, #3d63b8, #8fb4ff); }
.pm-ynb span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-ynb b { flex: none; }

/* 상세: 내 주문·체결 목록 */
.pm-sub-t { display: flex; align-items: center; gap: 8px; margin: 16px 0 4px; font: 700 14px/1.3 var(--sans); color: var(--ivory-2); }
.pm-sub-t:first-child { margin-top: 0; }
.pm-myl { margin: 0; padding: 0; list-style: none; }
.pm-myl li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 8px 0; border-top: 1px solid rgba(217, 177, 101, .08); font-variant-numeric: tabular-nums; }
.pm-myl li:first-child { border-top: 0; }
.pm-myl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pm-myl-t b { font-size: 14px; font-weight: 600; color: var(--ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-myl-t small { font-size: 12.5px; color: var(--ivory-3); }
.pm-myl > li > b { flex: none; font-size: 14px; }
.pm-myl-e { margin: 0; padding: 10px 0; font-size: 13.5px; color: var(--ivory-3); }
.pm-myl .btn-xs { min-height: 40px; min-width: 56px; }
.pm-actbox .empty { padding: 28px 10px; }
.pm-actbox .empty .btn { margin-top: 10px; }
.pm-tk-msg { word-break: keep-all; }
.pm-yn2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-ynb { min-width: 0; }
@media (max-width: 760px) {
  .pm-outs-d.multi .pm-orow-d { grid-template-columns: minmax(0, 1fr) auto; }
}
.pm-bk-note { flex-wrap: wrap; gap: 4px 12px; }
.pm-bk-lg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pm-bk-tx { flex: 1 1 100%; }
@media (min-width: 761px) { .pm-bk-tx { flex: 0 1 auto; } }
.pm-lk { display: inline-block; padding: 12px 10px; min-height: 40px; }
.pm-reqf .check input { width: 32px; height: 32px; }
