/* 종목 시트 (2026-10-04, /static/js/stock-sheet.js). 홈 시트와 같은 모양, 페이지 스타일과 섞이지 않게 pss- 접두사 */
.pss-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(0,0,0,.42); opacity: 0; transition: opacity .2s ease; }
.pss-backdrop.open { opacity: 1; }
.pss-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; max-width: 720px; margin: 0 auto; max-height: 86vh; overflow-y: auto;
             overscroll-behavior: contain; background: #fff; color: #191F28; border-radius: 20px 20px 0 0; padding: 8px 16px calc(22px + env(safe-area-inset-bottom));
             box-shadow: 0 -8px 30px rgba(0,0,0,.14); transform: translateY(100%); transition: transform .26s ease;
             font-family: 'Pretendard', -apple-system, sans-serif; text-align: left; -webkit-font-smoothing: antialiased; }
.pss-sheet.open { transform: none; }
.pss-sheet[hidden], .pss-backdrop[hidden] { display: none; }
/* 모바일 하단 앵커 광고가 시트 아래를 덮어도 마지막 버튼을 광고 위로 올릴 수 있게 */
@media (pointer: coarse) { .pss-sheet { padding-bottom: calc(112px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .pss-sheet, .pss-backdrop { transition: none; } }
.pss-sheet a { color: inherit; }
.pss-grip { width: 40px; height: 4px; border-radius: 2px; background: #D1D6DB; margin: 4px auto 12px; }
.pss-head { position: relative; padding-right: 44px; }
.pss-mk { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 8px; font-size: 14.5px; font-weight: 800; }
.pss-mk.kr { background: #191F28; color: #fff; }
.pss-mk.us { background: #E5E8EB; color: #191F28; }
.pss-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; line-height: 1.3; overflow-wrap: anywhere; }
.pss-meta { margin: 3px 0 0; font-size: 13px; color: #8B95A1; font-variant-numeric: tabular-nums; }
.pss-price { margin: 10px 0 0; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pss-price span { font-size: 15px; font-weight: 700; margin-left: 6px; }
.pss-up { color: #F04452; } .pss-down { color: #3182F6; } .pss-flat { color: #8B95A1; }
.pss-close { position: absolute; top: 0; right: -6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; color: #6B7684; cursor: pointer; }
.pss-sheet h3 { font-size: 16px; font-weight: 800; margin: 22px 0 4px; }
.pss-tz { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 7px; border: 1px solid #D1D6DB; border-radius: 6px; font-size: 12px; font-weight: 700; color: #4E5968; vertical-align: 2px; white-space: nowrap; }
.pss-loading { padding: 24px 0; color: #8B95A1; font-size: 14px; }
.pss-note { font-size: 13.5px; color: #6B7684; line-height: 1.55; background: #F9FAFB; border-radius: 12px; padding: 12px 14px; margin: 12px 0 0; }
.pss-small { margin: 8px 0 0; font-size: 12px; color: #8B95A1; }
.pss-hero { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #191F28; color: #fff; }
.pss-hero small { display: block; font-size: 12.5px; font-weight: 700; color: #C9CED6; }
.pss-hero b { display: block; margin-top: 4px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.pss-hero span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: #C9CED6; }
.pss-hero a { color: #C9CED6; }
.pss-est { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.16); font-size: 12px; font-style: normal; vertical-align: 2px; }
.pss-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pss-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px 0 14px; border: 1px solid #E5E8EB; border-radius: 999px;
            background: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.pss-chip::after { content: "›"; font-size: 17px; font-weight: 500; color: #8B95A1; margin-top: -2px; }
.pss-chip:active { background: #F2F4F6; }
.pss-evs { list-style: none; margin: 0; padding: 0; }
.pss-ev { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid #EEF0F3; }
.pss-ev-date b { display: block; font-size: 14px; font-weight: 800; }
.pss-ev-date span { font-size: 12px; font-weight: 700; color: #8B95A1; }
.pss-ev-date span.soon { color: #059669; }
.pss-ev-title { font-size: 15px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.pss-badge { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 6px; margin-left: 4px; vertical-align: 1px; background: #F2F4F6; color: #6B7684; white-space: nowrap; }
.pss-badge.own { background: #191F28; color: #fff; }
.pss-badge.warn { background: rgba(217,119,6,.12); color: #b45309; }
.pss-ev-meta { margin-top: 3px; font-size: 12.5px; color: #8B95A1; }
.pss-ev-meta a { color: #8B95A1; }
.pss-ev-react { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: #6B7684; }
.pss-assist { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; margin-top: 18px;
              padding: 12px 16px; border: 1px solid #E5E8EB; border-radius: 12px; text-decoration: none; }
.pss-assist b { display: block; font-size: 15px; font-weight: 800; }
.pss-assist small { display: block; margin-top: 2px; font-size: 12.5px; color: #6B7684; }
.pss-assist i { font-style: normal; font-size: 20px; color: #8B95A1; }
.pss-more { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; border-radius: 12px; background: #191F28; color: #fff !important;
            font-size: 15px; font-weight: 800; text-decoration: none; }
