/* cu-stocks-v2: stock-app look for the Shop Stocks tab (dark, clean rows, SVG charts). */
.cu-stk #sh-p-stocks .sh-tip, .cu-stk #sh-p-stocks .sh-qty, .cu-stk #sh-p-stocks .sh-note { display: none; }
.cu-stk #sh-stocks { display: block; }
.sk-ui { --up: #2ee68c; --dn: #ff6b6b; color: #fff; font-variant-numeric: tabular-nums; }
.sk-ui .up { color: var(--up); } .sk-ui .dn { color: var(--dn); }
.sk-dim { color: rgba(255,255,255,.55); }
.sk-head { padding: 4px 2px 6px; }
.sk-k { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); }
.sk-big { font-size: 38px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin-top: 2px; }
.sk-sub { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; margin-top: 4px; flex-wrap: wrap; }
.sk-pill { display: inline-block; padding: 3px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 900; color: #06140d !important; background: var(--up); white-space: nowrap; }
.sk-pill.dn { background: var(--dn); color: #1d0606 !important; }
.sk-chart { display: block; width: 100%; height: 150px; margin: 12px 0 6px; overflow: visible; }
.sk-chart.up { color: var(--up); } .sk-chart.dn { color: var(--dn); }
.sk-chart path { transition: d .45s ease; }
.sk-rng { display: flex; gap: 6px; margin: 4px 0 6px; }
.sk-rng button { flex: 1; min-height: 34px; border-radius: 10px; border: 0; background: transparent; color: rgba(255,255,255,.6); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.sk-rng button[aria-selected="true"] { background: rgba(255,255,255,.12); color: #fff; }
.sk-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 2px 6px; font-size: 17px; font-weight: 900; }
.sk-sec b { font-size: 12px; color: rgba(255,255,255,.45); }
.sk-list { border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.sk-row { display: grid; grid-template-columns: minmax(0,1fr) 64px minmax(96px,auto); align-items: center; column-gap: 12px; width: 100%; padding: 12px 14px; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.07); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sk-row:first-child { border-top: 0; }
.sk-row:active { background: rgba(255,255,255,.05); }
.sk-id { min-width: 0; display: flex; flex-direction: column; }
.sk-id b { font-size: 16px; font-weight: 900; letter-spacing: .02em; }
.sk-id small { font-size: 12px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.sk-spark { width: 64px; height: 28px; overflow: visible; } .sk-spark.up { color: var(--up); } .sk-spark.dn { color: var(--dn); }
.sk-pr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sk-pr b { font-size: 15px; font-weight: 900; }
.sk-row.mine .sk-pill { font-size: 11.5px; }
.sk-paid { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 6px; }
.sk-total { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; font-weight: 800; background: rgba(255,255,255,.03); }
.sk-total b { color: #fff; }
.sk-fine { font-size: 12px; color: rgba(255,255,255,.45); margin: 12px 2px 4px; line-height: 1.4; }
/* detail */
.sk-dt .chip { margin-bottom: 10px; }
.sk-dh { display: flex; align-items: center; gap: 10px; }
.sk-dh b { display: block; font-size: 18px; font-weight: 900; } .sk-dh small { font-size: 12.5px; color: rgba(255,255,255,.6); }
.sk-dt .sk-big { font-size: 42px; margin-top: 8px; }
.sk-dt .sk-chart { height: 160px; margin-top: 8px; }
.sk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; margin-top: 12px; }
.sk-stats div { background: #12141a; padding: 9px 8px; min-width: 0; } .sk-stats span { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); font-weight: 700; }
.sk-stats b { display: block; font-size: 14px; font-weight: 900; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.sk-stats small { display: block; font-size: 11.5px; font-weight: 800; margin-top: 1px; }
.sk-qty { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; margin-top: 10px; font-size: 13px; font-weight: 800; }
.sk-qty button { min-width: 44px; min-height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.sk-qty button[aria-pressed="true"] { background: #fff; color: #0b0d12; }
.sk-qty .sk-dim { margin-left: auto; font-weight: 800; white-space: nowrap; color: #fff; }
.sk-act { position: sticky; bottom: 0; z-index: 2; padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); margin-top: 8px; background: #0b0d12; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -14px 18px -6px #0b0d12; }
.sk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.sk-act .btn { min-height: 54px; border-radius: 16px; font-size: 17px; font-weight: 900; border: 0; }
.sk-act .sk-buy { background: var(--up, #2ee68c); color: #06140d; }
.sk-act .sk-sell { background: rgba(255,255,255,.1); color: #fff; }
.sk-act .btn[aria-disabled="true"] { opacity: .4; }
.iv-stk-sum { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.iv-stk-sum .mid { flex: 1; } .iv-stk-sum .nm { font-weight: 800; font-size: 14px; } .iv-stk-sum .gl { font-size: 12.5px; font-weight: 800; margin-top: 2px; }
.iv-stk-sum .gl.up { color: #2ee68c; } .iv-stk-sum .gl.dn { color: #ff6b6b; } .iv-stk-sum .go { font-weight: 900; font-size: 13px; color: #2ee68c; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .sk-chart path { transition: none; } }
.cu-stk #sh-stocks, .sk-sec { scroll-margin-top: 104px; }
