/* 옆으로 넘기기 표시(관리자: 옆으로 넘기기 화살표)와 보라색 강조(관리자: 보라색 강조). 둘 다 끄면 이 파일이 빠진다.
   보라색은 새것·안내 표시에만 쓴다. 가격 숫자(빨강·파랑, 해외식 초록), 제목, 버튼 면에는 쓰지 않는다. */
:root{--hi:#b7a0ff;--hi-soft:rgba(183,160,255,.14);--sh-shadow:0 4px 14px rgba(0,0,0,.32)}
:root[data-theme=light]{--hi:#6540d6;--hi-soft:#efeafd;--sh-shadow:0 4px 14px rgba(15,22,35,.14)}

[data-hi] .menu-badge[data-badge=new]{background:var(--hi-soft);color:var(--hi)}
[data-hi] :is(.pa-eyebrow,.news-eyebrow,.radar-eyebrow){color:var(--hi)}
[data-hi] .pa-icon{color:var(--hi);background:var(--hi-soft);border-color:transparent}

/* 넘치는 줄에만 scroll-hints.js가 data-sh(start·mid·end)를 붙인다. 더 볼 것이 있는 오른쪽 끝을 흐리게 한다.
   왼쪽은 흐리지 않는다: 카드가 왼쪽 끝에 맞춰 멈추고, 표는 왼쪽 첫 칸이 고정이라 글자가 흐려진다. */
[data-sh=start],[data-sh=mid]{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
/* 방송인 카드는 다음 카드가 몇 px만 보여 흐림이 지금 카드의 숫자를 덮는다: 화살표만 */
.trader-card-grid[data-sh]{-webkit-mask-image:none;mask-image:none}

.sh-wrap{position:relative;min-width:0}
.sh-btn{position:absolute;top:50%;z-index:2;display:none;place-items:center;width:32px;height:32px;margin-top:-16px;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);color:var(--text);box-shadow:var(--sh-shadow);cursor:pointer;touch-action:manipulation;transition:background-color .15s,color .15s}
/* 카드 바깥 여백에 걸치게 둬서 카드 안 글자를 가리지 않는다 */
.sh-prev{left:-18px}.sh-next{right:-18px}
.sh-wrap[data-sh-row=quotes]>.sh-next{right:-14px}
.sh-wrap[data-sh-state=start]>.sh-next,.sh-wrap[data-sh-state=mid]>.sh-btn,.sh-wrap[data-sh-state=end]>.sh-prev{display:grid}
/* 손가락으로 쓰는 화면은 되돌아갈 때 밀면 되고, 왼쪽 버튼은 첫 카드 글자 위에 놓인다 */
@media (pointer:coarse){.sh-wrap>.sh-prev{display:none!important}}
.sh-btn:hover{background:var(--hover-surface)}
.sh-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
[data-hi] .sh-btn{color:var(--hi)}
[data-sh][tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media (forced-colors:active){[data-sh]{-webkit-mask-image:none;mask-image:none}.sh-btn{border-color:ButtonText}}
