/* =========================================================
   STOCKET Redesign — Lavender Glass + Left Sidebar
   ========================================================= */

/* ---------- 1. 색 토큰 (라이트 모드만) ---------- */
html:not([data-theme="dark"]) body.srd{
  --srd-ink:#16141F; --srd-ink2:#3A3747; --srd-mute:#625E75; --srd-faint:#8C88A0;
  --srd-line:rgba(40,30,90,.09); --srd-violet:#5B4FE0; --srd-violet2:#8B7FF0; --srd-lav:#ECE8FD;
  --srd-glass:rgba(255,255,255,.64); --srd-up:#C9333A; --srd-dn:#0B78D0;
  --srd-shadow:0 1px 2px rgba(30,20,80,.04),0 12px 32px rgba(60,40,140,.07);
  /* GeneratePress / stocket-layout */
  --contrast:#16141F; --contrast-2:#3A3747; --contrast-3:#8C88A0; --base:#ECE8FD; --base-2:#F7F6FB; --base-3:#ffffff; --accent:#5B4FE0;
  --stl-ink:#16141F; --stl-text:#3A3747; --stl-muted:#625E75; --stl-faint:#8C88A0; --stl-line:rgba(40,30,90,.09); --stl-line2:rgba(40,30,90,.06);
  --stl-blue:#5B4FE0; --stl-blue-ink:#4A3FD0; --stl-blue-soft:#ECE8FD; --stl-blue-bg:#ECE8FD; --stl-radius:18px;
  background:#F7F6FB !important; color:#16141F;
}
html:not([data-theme="dark"]) body.srd .stf{
  --ink:#16141F; --ink-2:#3A3747; --ink-3:#625E75; --ink-4:#8C88A0; --paper:transparent; --grid:rgba(91,79,224,.06);
  --line:rgba(40,30,90,.09); --line-2:rgba(40,30,90,.14); --blue:#5B4FE0; --blue-2:#4A3FD0; --blue-soft:#ECE8FD;
  --hl:rgba(139,127,240,.28); --up:#C9333A; --up-soft:#FDEEEE; --dn:#0B78D0; --dn-soft:#EBF0FD;
  --bd:1px solid rgba(255,255,255,.95);
}

/* ---------- 2. 배경 ---------- */
.srd-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.srd-bg i{position:absolute;border-radius:50%;filter:blur(80px)}
.srd-bg .a{width:900px;height:620px;left:30%;top:-260px;background:radial-gradient(circle,#D9D0FB 0%,rgba(217,208,251,0) 70%)}
.srd-bg .b{width:700px;height:700px;right:-200px;top:120px;background:radial-gradient(circle,#F1DDF3 0%,rgba(241,221,243,0) 70%)}
.srd-bg .c{width:800px;height:500px;left:15%;top:55%;background:radial-gradient(circle,#E4E9FB 0%,rgba(228,233,251,0) 70%)}

html:not([data-theme="dark"]) body.srd #page,
html:not([data-theme="dark"]) body.srd .site,
html:not([data-theme="dark"]) body.srd .site-content,
html:not([data-theme="dark"]) body.srd .stf,
html:not([data-theme="dark"]) body.srd .stf-hero,
html:not([data-theme="dark"]) body.srd .separate-containers .inside-article,
html:not([data-theme="dark"]) body.srd .one-container .container{background:transparent !important}
html:not([data-theme="dark"]) body.srd .stf-hero{background-image:none !important}

/* ---------- 3. 왼쪽 메뉴 ---------- */
.srd-side{display:none}
@media (min-width:1100px){
  body.srd{padding-left:252px}
  body.srd #masthead, body.srd .site-header{display:none !important}
  .srd-side{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:252px;z-index:90;padding:22px 16px;
    overflow-y:auto;border-right:1px solid var(--srd-line,rgba(40,30,90,.09));background:rgba(255,255,255,.6);
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font-family:inherit}
  body.admin-bar .srd-side{top:32px}
}
.srd-logo{display:flex;align-items:center;gap:10px;padding:4px 8px 22px;text-decoration:none !important;color:#16141F}
.srd-mk{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#6E61F0,#A99BF6);display:grid;place-items:center;box-shadow:0 6px 16px rgba(91,79,224,.35)}
.srd-logo b{font-size:19px;font-weight:800;letter-spacing:.02em}
.srd-logo b em{font-style:normal;color:#5B4FE0}
.srd-search{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:11px;background:rgba(255,255,255,.85);border:1px solid rgba(40,30,90,.09);color:#625E75;margin:0 0 18px}
.srd-search input{border:0 !important;background:transparent !important;outline:0;padding:0 !important;font-size:13px;width:100%;color:#16141F;box-shadow:none !important}
.srd-grp{font-size:10.5px;letter-spacing:.14em;color:#6E6A80;padding:0 10px;margin:16px 0 6px;font-weight:600}
.srd-nav-a{display:flex;align-items:center;gap:11px;width:100%;height:40px;padding:0 10px;border-radius:10px;font-size:14px;color:#3A3747 !important;text-decoration:none !important;margin-bottom:2px;border:0;background:transparent;cursor:pointer;font-family:inherit;text-align:left}
.srd-nav-a:hover{background:rgba(91,79,224,.06)}
.srd-nav-a svg{width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.srd-nav-a.on{background:linear-gradient(90deg,rgba(91,79,224,.14),rgba(91,79,224,.04));color:#5B4FE0 !important;font-weight:700}
.srd-cnt{margin-left:auto;font-size:11px;color:#625E75;font-variant-numeric:tabular-nums}
.srd-new{margin-left:auto;font-size:9.5px;font-weight:800;color:#fff;background:#5B4FE0;border-radius:20px;padding:2px 7px;letter-spacing:.04em}
.srd-card{margin-top:auto;border-radius:16px;padding:16px;background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(236,232,253,.92));border:1px solid rgba(91,79,224,.14)}
.srd-card .t{font-size:13px;font-weight:700;color:#16141F;margin-bottom:4px}
.srd-card .d{font-size:12px;color:#625E75;line-height:1.5;margin-bottom:12px}
.srd-card .b{display:block;text-align:center;font-size:12.5px;font-weight:700;color:#fff !important;background:#16141F;border-radius:10px;padding:9px 0;text-decoration:none !important}
/* 다크 모드에서의 메뉴 */

/* ---------- 4. 글래스 카드 (라이트) ---------- */
html:not([data-theme="dark"]) body.srd .stf-mnote,
html:not([data-theme="dark"]) body.srd .stf-feat,
html:not([data-theme="dark"]) body.srd .stf-card,
html:not([data-theme="dark"]) body.srd .stf-th,
html:not([data-theme="dark"]) body.srd .stl-block,
html:not([data-theme="dark"]) body.srd .stl-calcard,
html:not([data-theme="dark"]) body.srd.single .inside-article,
html:not([data-theme="dark"]) body.srd.page:not(.home):not(.stf-page) .inside-article{
  background:rgba(255,255,255,.64) !important;
  border:1px solid rgba(255,255,255,.95) !important;
  border-radius:20px !important;
  box-shadow:0 1px 2px rgba(30,20,80,.04),0 12px 32px rgba(60,40,140,.07) !important;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
}
html:not([data-theme="dark"]) body.srd.single .inside-article{padding:44px 54px !important}

/* 어두운 띠·섹션은 딥 바이올렛으로 */

html:not([data-theme="dark"]) body.srd .stf-sec[style*="background"]{background:linear-gradient(135deg,#1F1A3A,#2B2357) !important;border-color:transparent !important}

/* 버튼·강조 */

html:not([data-theme="dark"]) body.srd .stf-btn-primary,
html:not([data-theme="dark"]) body.srd .wp-block-button__link{background:#5B4FE0 !important;border-color:#5B4FE0 !important;color:#fff !important;box-shadow:0 8px 20px rgba(91,79,224,.28)}
html:not([data-theme="dark"]) body.srd ::selection{background:#D9D0FB}

/* ---------- 5. 리서치 노트 본문 ---------- */
html:not([data-theme="dark"]) body.srd.single .entry-title{font-weight:800;letter-spacing:-.035em;color:#16141F}
html:not([data-theme="dark"]) body.srd.single .entry-content{color:#3A3747}
html:not([data-theme="dark"]) body.srd.single .entry-content > p{line-height:1.9}
html:not([data-theme="dark"]) body.srd.single .entry-content h2{font-weight:800;letter-spacing:-.03em;color:#16141F;margin-top:2.2em;padding-top:.2em;position:relative}
html:not([data-theme="dark"]) body.srd.single .entry-content h2::before{content:"";display:block;width:28px;height:3px;border-radius:3px;background:linear-gradient(90deg,#A99BF6,#5B4FE0);margin-bottom:14px}
html:not([data-theme="dark"]) body.srd.single .entry-content a{color:#5B4FE0}
html:not([data-theme="dark"]) body.srd.single .entry-content table{border-collapse:separate !important;border-spacing:0;width:100%;border-radius:16px;overflow:hidden;background:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.95) !important;box-shadow:0 10px 28px rgba(60,40,140,.06)}
html:not([data-theme="dark"]) body.srd.single .entry-content th{background:rgba(91,79,224,.06) !important;color:#625E75;font-weight:600;font-size:12.5px;border:0 !important;padding:12px 16px}
html:not([data-theme="dark"]) body.srd.single .entry-content td{border:0 !important;border-top:1px solid rgba(40,30,90,.08) !important;padding:13px 16px;background:transparent !important}
html:not([data-theme="dark"]) body.srd.single .entry-content blockquote{border-left:3px solid #8B7FF0;background:rgba(236,232,253,.6);border-radius:0 14px 14px 0;padding:16px 20px}
html:not([data-theme="dark"]) body.srd .stl-toc a{color:#3A3747}

/* ---------- 6. 푸터 ---------- */
html:not([data-theme="dark"]) body.srd .site-footer,
html:not([data-theme="dark"]) body.srd .stf-foot{background:transparent !important}

/* =========================================================
   v2 LOOK — 구성은 그대로, 시안(v2) 스타일만 입힘 (라이트 모드)
   ========================================================= */
html:not([data-theme="dark"]) body.srd{--L:#16141F;--L2:#3A3747;--LM:#625E75;--LF:#8C88A0;--LV:#5B4FE0;--LLine:rgba(40,30,90,.09);--LTint:rgba(91,79,224,.06);--LMono:ui-monospace,"SFMono-Regular","JetBrains Mono",Menlo,Consolas,monospace}

/* 공통: 라벨·제목·버튼·카드 */
html:not([data-theme="dark"]) body.srd .stf-eyebrow,
html:not([data-theme="dark"]) body.srd .stf-k,
html:not([data-theme="dark"]) body.srd .stf-mn-top span{font-family:var(--LMono)!important;font-size:11px!important;letter-spacing:.14em!important;color:var(--LM)!important;text-transform:uppercase;font-weight:500!important}
html:not([data-theme="dark"]) body.srd .stf-sec-h h2{font-size:26px!important;font-weight:800!important;letter-spacing:-.03em!important;color:var(--L)!important}
html:not([data-theme="dark"]) body.srd .stf-sec-h h2 .srd-g{color:var(--LV)}
html:not([data-theme="dark"]) body.srd .stf-more{color:var(--LV)!important;font-size:13px!important;font-weight:700!important;border:0!important;text-decoration:none!important}
html:not([data-theme="dark"]) body.srd .stf-btn{height:44px!important;border-radius:12px!important;background:rgba(255,255,255,.85)!important;color:var(--L)!important;border:1px solid var(--LLine)!important;box-shadow:none!important;font-size:14px!important}
html:not([data-theme="dark"]) body.srd .stf-btn.stf-btn-ink{background:var(--LV)!important;color:#fff!important;border-color:var(--LV)!important;box-shadow:0 8px 20px rgba(91,79,224,.28)!important}
html:not([data-theme="dark"]) body.srd .stf-chip{border-radius:30px!important;font-weight:600!important;border:1px solid var(--LLine)!important;background:#fff!important;color:var(--L2)!important}
html:not([data-theme="dark"]) body.srd .stf-chip.up{background:#FDEEEE!important;border-color:rgba(224,70,75,.22)!important;color:#C9333A!important}
html:not([data-theme="dark"]) body.srd .stf-chip.dn{background:#EBF0FD!important;border-color:rgba(11,120,208,.22)!important;color:#0B78D0!important}
html:not([data-theme="dark"]) body.srd .stf .up{color:#C9333A}
html:not([data-theme="dark"]) body.srd .stf .dn{color:#0B78D0}

/* 홈 히어로 */
html:not([data-theme="dark"]) body.srd .stf-hero{padding-bottom:10px}
html:not([data-theme="dark"]) body.srd .stf-tab{border-radius:30px!important;height:30px!important;background:rgba(255,255,255,.85)!important;border:1px solid var(--LLine)!important;font-family:var(--LMono);font-size:11px!important;letter-spacing:.1em;color:var(--LM)!important;font-weight:500!important}
html:not([data-theme="dark"]) body.srd .stf-tab b{background:var(--LV)!important;color:#fff!important;border-radius:20px!important}
html:not([data-theme="dark"]) body.srd .stf-h1{font-size:64px!important;letter-spacing:-.045em!important;line-height:1.12!important;color:var(--L)!important}
html:not([data-theme="dark"]) body.srd .stf-hl{color:var(--LV)!important;background:none!important;padding:0!important}
html:not([data-theme="dark"]) body.srd .stf-hl:before,html:not([data-theme="dark"]) body.srd .stf-hl:after{display:none!important}
html:not([data-theme="dark"]) body.srd .stf-lead{color:var(--LM)!important;font-size:17px!important;line-height:1.7!important}
html:not([data-theme="dark"]) body.srd .stf-meta{gap:10px!important;border:0!important}
html:not([data-theme="dark"]) body.srd .stf-meta>div{background:rgba(255,255,255,.64)!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:16px!important;padding:14px 18px!important;box-shadow:0 8px 22px rgba(60,40,140,.06)}
html:not([data-theme="dark"]) body.srd .stf-meta>div:before,html:not([data-theme="dark"]) body.srd .stf-meta>div:after{display:none!important}
/* 장 마감 카드 */
html:not([data-theme="dark"]) body.srd .stf-mnote{padding:24px!important}
html:not([data-theme="dark"]) body.srd .stf-mnote:before,html:not([data-theme="dark"]) body.srd .stf-mnote:after{display:none!important}
html:not([data-theme="dark"]) body.srd .stf-mn-top b{font-family:var(--LMono);font-size:11px;letter-spacing:.08em;color:var(--LM)!important;font-weight:500}
html:not([data-theme="dark"]) body.srd .stf-mn-top span{background:var(--LV)!important;color:#fff!important;border-radius:20px!important;padding:3px 9px!important;letter-spacing:.06em!important}
html:not([data-theme="dark"]) body.srd .stf-ixrow{border-color:var(--LLine)!important}
html:not([data-theme="dark"]) body.srd .stf-ixrow small{font-family:var(--LMono);letter-spacing:.1em;color:var(--LM)!important}
html:not([data-theme="dark"]) body.srd .stf-num{color:var(--L)!important;letter-spacing:-.03em}
html:not([data-theme="dark"]) body.srd .stf-mn-h{font-size:17px!important;line-height:1.5!important;letter-spacing:-.02em;color:var(--L)!important}
html:not([data-theme="dark"]) body.srd .stf-mn-go{border-top:1px solid var(--LLine)!important;color:var(--LV)!important;font-weight:700}
/* 종목 띠: 어두운 띠 → 밝은 유리 띠 */

/* 최신 노트 */
html:not([data-theme="dark"]) body.srd .stf-sec{background:transparent!important;border:0!important}
html:not([data-theme="dark"]) body.srd .stf-feat{overflow:hidden;padding:0!important}
html:not([data-theme="dark"]) body.srd .stf-feat .stf-th,html:not([data-theme="dark"]) body.srd .stf-card .stf-th{border-radius:16px!important;overflow:hidden;background:linear-gradient(150deg,#F3F1F9 0%,#E6DFFB 55%,#D6CBFA 100%)!important;border:0!important;box-shadow:none!important}
html:not([data-theme="dark"]) body.srd .stf-card:nth-child(2) .stf-th{background:linear-gradient(150deg,#F3F1F9,#EEE0F6 55%,#E6CBF3)!important}
html:not([data-theme="dark"]) body.srd .stf-card:nth-child(3) .stf-th{background:linear-gradient(150deg,#F3F1F9,#E2E6FB 55%,#CBD5F8)!important}
html:not([data-theme="dark"]) body.srd .stf-feat-t{color:var(--L)!important;letter-spacing:-.03em!important;font-weight:800!important}
html:not([data-theme="dark"]) body.srd .stf-feat-ex{color:var(--LM)!important}
html:not([data-theme="dark"]) body.srd .stf-go{color:var(--LV)!important;font-weight:700}
html:not([data-theme="dark"]) body.srd .stf-card{padding:12px!important}
html:not([data-theme="dark"]) body.srd .stf-cbd{color:var(--L)!important}
html:not([data-theme="dark"]) body.srd .stf-card:hover,html:not([data-theme="dark"]) body.srd .stf-feat:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(60,40,140,.12)!important}
/* 최근 한 주: 어두운 섹션 → 밝은 카드 */

/* 주제 */
html:not([data-theme="dark"]) body.srd .stf-topics-sec a{border-radius:30px!important;background:rgba(255,255,255,.75)!important;border:1px solid var(--LLine)!important;color:var(--L2)!important}
html:not([data-theme="dark"]) body.srd .stf-topics-sec a:hover{border-color:rgba(91,79,224,.4)!important;color:var(--LV)!important}
/* 푸터 */
html:not([data-theme="dark"]) body.srd .stf-foot,html:not([data-theme="dark"]) body.srd.stf-ink-footer .site-footer{background:transparent!important;color:var(--LM)!important;border-top:1px solid var(--LLine)}
html:not([data-theme="dark"]) body.srd .stf-foot a,html:not([data-theme="dark"]) body.srd .stf-foot h5,html:not([data-theme="dark"]) body.srd .stf-foot p,html:not([data-theme="dark"]) body.srd .site-info,html:not([data-theme="dark"]) body.srd .site-info a{color:var(--LM)!important}
html:not([data-theme="dark"]) body.srd .stf-foot-logo{color:var(--L)!important}

html:not([data-theme="dark"]) body.srd .stf-tab b{padding:2px 7px!important;margin-right:6px}
html:not([data-theme="dark"]) body.srd .stf-h1{font-size:60px!important}

/* 증시 캘린더 */

/* 데일리 리포트 */

html:not([data-theme="dark"]) body.srd .is-fixed{border:1px solid var(--LLine)!important;border-radius:20px!important;box-shadow:none!important}
html:not([data-theme="dark"]) body.srd .is-fixed{background:#E3F6EC!important;color:#178A55!important;border-color:transparent!important}

/* 리서치 노트 글 */
html:not([data-theme="dark"]) body.srd.single .stk-bc,html:not([data-theme="dark"]) body.srd.single .stk-bc a{font-size:12.5px!important;color:var(--LM)!important}
html:not([data-theme="dark"]) body.srd.single .entry-title{font-size:36px!important;line-height:1.3!important}
html:not([data-theme="dark"]) body.srd.single .entry-title .srd-g{color:var(--L);font-weight:700}
html:not([data-theme="dark"]) body.srd.single .entry-meta{font-family:var(--LMono);font-size:11.5px!important;letter-spacing:.06em;color:var(--LM)!important;padding-bottom:24px;border-bottom:1px solid var(--LLine);margin-bottom:28px!important}
html:not([data-theme="dark"]) body.srd.single .entry-meta a{color:var(--LV)!important;text-decoration:none!important}
html:not([data-theme="dark"]) body.srd.single .entry-content ul li::marker{color:var(--LV)}
html:not([data-theme="dark"]) body.srd.single .entry-content>h3 .srd-no{display:block;font-family:var(--LMono);font-size:12px;letter-spacing:.12em;color:var(--LV);font-weight:500;margin-bottom:6px;line-height:1.4}
html:not([data-theme="dark"]) body.srd.single .entry-content>h3{font-weight:800!important;letter-spacing:-.03em!important;color:var(--L)!important;margin-top:2.2em!important}
html:not([data-theme="dark"]) body.srd.single .entry-content .srd-check{margin-left:0!important;margin-right:0!important;padding:20px 24px 16px 46px!important;border-radius:18px;background:linear-gradient(140deg,#5B4FE0,#8E7BF2);box-shadow:0 14px 30px rgba(91,79,224,.25)}
html:not([data-theme="dark"]) body.srd.single .entry-content .srd-check li{color:#fff!important;padding:6px 0;border-top:1px solid rgba(255,255,255,.2)}
html:not([data-theme="dark"]) body.srd.single .entry-content .srd-check li:first-child{border-top:0}
html:not([data-theme="dark"]) body.srd.single .entry-content .srd-check li::marker{color:rgba(255,255,255,.75);font-weight:700}
html:not([data-theme="dark"]) body.srd.single .entry-content .srd-check a,html:not([data-theme="dark"]) body.srd.single .entry-content .srd-check strong{color:#fff!important}
html:not([data-theme="dark"]) body.srd .stl-side-title{font-family:var(--LMono)!important;font-size:11px!important;letter-spacing:.14em!important;color:var(--LM)!important;font-weight:500!important}
html:not([data-theme="dark"]) body.srd .stl-toc-list a{display:block;border-left:2px solid rgba(91,79,224,.12)!important;padding-left:12px!important;color:var(--LM)!important;background:none!important}
html:not([data-theme="dark"]) body.srd .stl-toc-list a::before{display:none!important}
html:not([data-theme="dark"]) body.srd .stl-toc-list a.is-on{border-left-color:var(--LV)!important;color:var(--L)!important;font-weight:700}

/* ===== 0.1.3 증시 리포트 섹터 카드: 상단 색줄 제거 + 섹터별 배경 그림 ===== */

/* ===== 0.5.0 다크 모드: 연보라 톤의 어두운 버전 (라이트 연보라 규칙을 같은 구성으로 옮김) ===== */

/* =====================================================================
   UX v2 (2026-10-18) · 진단 보고서 반영
   ===================================================================== */
/* 01 · 강조어는 보라, 제목은 단어 단위 줄바꿈 */
body.srd .entry-title,body.srd .stf-h1,body.srd .stf-feat-t,body.srd .stf-ct{word-break:keep-all;overflow-wrap:anywhere}

/* 02 · 차트 점: 다크 모드에서 흰 점 대신 배경색 */

/* 07 · 한글 라벨은 본문 서체, 자간 0, 최소 12px (영문·숫자만 고정폭 서체) */
html body.srd .srd-ko.srd-ko.srd-ko,html body.srd .srd-ko.srd-ko.srd-ko *{font-family:inherit!important;letter-spacing:0!important;text-transform:none!important}
body.srd .srd-grp{font-size:11px;letter-spacing:.12em}

/* ---------- UX v2 · 공용 토큰 (라이트/다크) ---------- */
body.srd{--x-ink:#16141F;--x-ink2:#3A3747;--x-mute:#6E6A80;--x-line:rgba(40,30,90,.10);--x-v:#5B4FE0;--x-v-soft:#ECE8FD;--x-up:#C9333A;--x-up-soft:#FDEEEE;--x-dn:#0B78D0;--x-dn-soft:#E6F1FB;--x-card:rgba(255,255,255,.72);--x-card-b:rgba(255,255,255,.95);--x-solid:#fff;--x-shadow:0 1px 2px rgba(30,20,80,.04),0 12px 32px rgba(60,40,140,.07)}

body.srd .up{color:var(--x-up)} body.srd .dn{color:var(--x-dn)}
.srd-sr-l{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- 08 · 사이드바: 검색 단축키 · 다크 모드는 하단 설정 스위치 ---------- */
.srd-kbd{flex:none;font:600 11px/1 ui-monospace,Menlo,Consolas,monospace;color:#625E75;border:1px solid rgba(40,30,90,.14);border-bottom-width:2px;border-radius:5px;padding:2px 6px;background:#fff}
.srd-search:focus-within .srd-kbd{display:none}
.srd-set{margin-top:12px;padding-top:12px;border-top:1px solid var(--x-line)}
.srd-switch{display:flex;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--x-ink2);font:inherit;font-size:13.5px;cursor:pointer;text-align:left}
.srd-switch:hover{background:rgba(91,79,224,.06)}
.srd-switch svg{width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.srd-switch i{margin-left:auto;width:34px;height:20px;border-radius:20px;background:rgba(40,30,90,.16);position:relative;transition:background .2s}
.srd-switch i::after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s}
.srd-switch[aria-checked="true"] i{background:var(--x-v)}
.srd-switch[aria-checked="true"] i::after{transform:translateX(14px)}

/* ---------- 05 · 모바일: 새 상단 바 · 메뉴 서랍 · 하단 탭 ---------- */
.srd-mtop,.srd-tabbar{display:none}
.srd-scrim[hidden]{display:none!important}
@media (max-width:1099px){
  body.srd #masthead,body.srd .site-header,body.srd .main-navigation,body.srd #mobile-header{display:none!important}
  body.srd .srd-mtop{display:flex;align-items:center;gap:6px;position:sticky;top:0;z-index:95;height:56px;padding:0 8px;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--x-line)}
  body.admin-bar.srd .srd-mtop{top:46px}
  .srd-mlogo{padding:0 4px!important;margin-right:auto}
  .srd-mlogo .srd-mk{width:28px;height:28px}
  .srd-mlogo b{font-size:18px}
  .srd-mbtn{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:var(--x-ink);cursor:pointer;padding:0}
  .srd-mbtn:hover{background:rgba(91,79,224,.08)}
  .srd-mbtn svg,.srd-tabbar svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  body.srd .srd-side{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:min(300px,86vw);z-index:120;padding:20px 16px calc(20px + env(safe-area-inset-bottom));overflow-y:auto;background:rgba(255,255,255,.97);border-right:1px solid var(--x-line);transform:translateX(-104%);transition:transform .25s cubic-bezier(.3,.7,.2,1);visibility:hidden;box-shadow:0 20px 60px rgba(30,20,80,.25)}
  body.srd.srd-open .srd-side{transform:none;visibility:visible}
  body.admin-bar.srd .srd-side{top:46px}
  .srd-scrim{position:fixed;inset:0;z-index:110;background:rgba(20,16,40,.42)}
  body.srd .srd-tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;z-index:94;height:calc(60px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--x-line)}
  .srd-tabbar a,.srd-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;color:var(--x-mute)!important;font:inherit;font-size:11px;font-weight:600;text-decoration:none!important;cursor:pointer;padding:0}
  .srd-tabbar [aria-current="page"]{color:var(--x-v)!important}
  body.srd{padding-bottom:calc(60px + env(safe-area-inset-bottom))}
  body.srd .stk-theme-btn,body.srd .stl-hsearch{display:none!important}
  
  
  
}
@media (max-width:600px){body.admin-bar.srd .srd-mtop{top:0}}

/* ---------- 09 · 홈 ---------- */
.srd-home .srd-h-top{padding:28px 0 26px}
.srd-h-in{max-width:1200px;margin:0 auto;padding:0 24px}

.srd-h1{font-size:clamp(26px,3.2vw,36px)!important;line-height:1.25!important;letter-spacing:-.035em!important;font-weight:800!important;color:var(--x-ink)!important;margin:0 0 8px!important;word-break:keep-all}
.srd-h1 .stf-hl{color:var(--x-v)!important}
.srd-lead{margin:0 0 22px!important;color:var(--x-mute);font-size:15.5px;line-height:1.7;max-width:62ch}
.srd-h-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px;align-items:start}
.srd-latest{background:var(--x-card);border:1px solid var(--x-card-b);border-radius:20px;box-shadow:var(--x-shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}

.srd-badge{background:var(--x-v);color:#fff!important;border-radius:20px;padding:4px 11px;font-size:12px;font-weight:700;text-decoration:none!important}

.srd-latest{padding:18px 18px 8px}
.srd-latest-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}
.srd-latest-h h2{margin:0!important;font-size:17px!important;font-weight:800!important;letter-spacing:-.02em;color:var(--x-ink)!important}
.srd-latest-h a{font-size:13px;font-weight:700;color:var(--x-v)!important;text-decoration:none!important}
.srd-latest ul{list-style:none;margin:0!important;padding:0!important}
.srd-latest li{margin:0!important;border-top:1px solid var(--x-line)}
.srd-latest li:first-child{border-top:0}
.srd-latest li a{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding:12px 0;text-decoration:none!important}
.srd-latest .stf-th,.srd-sr-post .stf-th{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:linear-gradient(150deg,#F3F1F9,#E6DFFB 55%,#D6CBFA);position:relative}
.srd-latest .stf-th img,.srd-sr-post .stf-th img{width:100%;height:100%;object-fit:cover;display:block}
.srd-latest .stf-new{display:none}
.srd-lt-bd{display:grid;gap:3px;min-width:0}
.srd-lt-m{font-size:12px;color:var(--x-mute);font-weight:600}
.srd-lt-t{font-size:14.5px;font-weight:700;line-height:1.45;color:var(--x-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.srd-latest a:hover .srd-lt-t{color:var(--x-v)}
.srd-lt-r{font-size:12px;color:var(--x-mute)}
@media (max-width:900px){.srd-h-grid{grid-template-columns:1fr}}
@media (max-width:560px){.srd-h-in{padding:0 16px}}

/* 12 · 종목 띠: 일시정지 */

/* 11 · 주제 3그룹 */
.srd-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.srd-tg{background:var(--x-card);border:1px solid var(--x-card-b);border-radius:18px;padding:16px 18px;box-shadow:var(--x-shadow)}
.srd-tg h3{margin:0 0 10px!important;font-size:14px!important;font-weight:800!important;color:var(--x-ink)!important}
.srd-tg>div{display:flex;flex-wrap:wrap;gap:6px}
.srd-tg a{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:30px;border:1px solid var(--x-line);background:var(--x-solid);color:var(--x-ink2)!important;font-size:13px;font-weight:600;text-decoration:none!important}
.srd-tg a small{font-size:11px;color:var(--x-mute);font-variant-numeric:tabular-nums}
.srd-tg a:hover{border-color:var(--x-v);color:var(--x-v)!important}
@media (max-width:900px){.srd-topics{grid-template-columns:1fr}}

/* ---------- 04 · 검색 · 404 ---------- */
body.srd-tpl .site-content{display:block}
body.srd-tpl .srd-tpl-main{width:100%!important;float:none!important}
.srd-sr{max-width:1100px;margin:0 auto;padding:36px 24px 60px}
.srd-sr-head h1{margin:6px 0 16px!important;font-size:clamp(26px,3vw,34px)!important;font-weight:800!important;letter-spacing:-.035em!important;color:var(--x-ink)!important;word-break:keep-all}
.srd-sr-head p{color:var(--x-mute);margin:0 0 16px!important}
.srd-sr-form{display:flex;gap:8px;max-width:640px}
.srd-sr-form input{flex:1;min-width:0;height:48px;border-radius:14px!important;border:1px solid var(--x-line)!important;background:var(--x-solid)!important;padding:0 16px!important;font-size:15px!important;color:var(--x-ink)!important}
.srd-sr-form input:focus{outline:2px solid var(--x-v);outline-offset:1px}
.srd-sr-form button{height:48px;padding:0 22px;border:0;border-radius:14px;background:var(--x-v);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.srd-sr-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}
.srd-sr-tabs a{padding:7px 14px;border-radius:30px;border:1px solid var(--x-line);background:var(--x-card);color:var(--x-ink2)!important;font-size:13.5px;font-weight:600;text-decoration:none!important}
.srd-sr-tabs a b{color:var(--x-v);margin-left:3px}
.srd-sr-tabs a.on{background:var(--x-ink);color:var(--x-solid)!important;border-color:var(--x-ink)}
.srd-sr-tabs a.on b{color:inherit}
.srd-sr-sec{margin-top:34px;scroll-margin-top:90px}
.srd-sr-sh{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.srd-sr-sh h2{margin:0!important;font-size:19px!important;font-weight:800!important;color:var(--x-ink)!important}
.srd-sr-sh span{font-size:13px;color:var(--x-mute);font-weight:600}
.srd-sr-sh a{margin-left:auto;font-size:13px;font-weight:700;color:var(--x-v)!important;text-decoration:none!important}
.srd-sr-empty,.srd-sr-none{color:var(--x-mute);font-size:14.5px;margin:20px 0 0!important}
.srd-rec{list-style:none;margin:0!important;padding:0!important;background:var(--x-card);border:1px solid var(--x-card-b);border-radius:18px;box-shadow:var(--x-shadow);overflow:hidden}
.srd-rec li{margin:0!important;border-top:1px solid var(--x-line)}
.srd-rec li:first-child{border-top:0}
.srd-rec a{display:grid;grid-template-columns:120px minmax(0,1fr);gap:4px 16px;padding:14px 18px;text-decoration:none!important;color:var(--x-ink)!important}
.srd-rec a:hover{background:rgba(91,79,224,.05)}
.srd-rec-d{grid-row:span 2;font-size:13px;font-weight:700;color:var(--x-mute);font-variant-numeric:tabular-nums;padding-top:2px}
.srd-rec-h{font-size:14.5px;font-weight:700;line-height:1.45;word-break:keep-all}
.srd-rec-hits{display:flex;flex-wrap:wrap;gap:6px}
.srd-rec-hits i{font-style:normal;font-size:12.5px;font-weight:700;padding:3px 9px;border-radius:20px;background:var(--x-v-soft);color:var(--x-ink2)}
.srd-rec-hits i.up{background:var(--x-up-soft);color:var(--x-up)}
.srd-rec-hits i.dn{background:var(--x-dn-soft);color:var(--x-dn)}
.srd-rec-hits i b{color:var(--x-ink);font-weight:700;margin-right:2px}
.srd-rec-hits small{font-size:11px;font-weight:600;color:var(--x-mute);margin-left:5px}
.srd-sr-posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.srd-sr-post{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:12px;background:var(--x-card);border:1px solid var(--x-card-b);border-radius:16px;box-shadow:var(--x-shadow);text-decoration:none!important;align-items:start}
.srd-sr-post .stf-new{display:none}
.srd-sr-pb{display:grid;gap:4px;min-width:0}
.srd-sr-pt{font-size:15px;font-weight:800;line-height:1.45;color:var(--x-ink);word-break:keep-all}
.srd-sr-post:hover .srd-sr-pt{color:var(--x-v)}
.srd-sr-px{font-size:13px;line-height:1.55;color:var(--x-mute);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.srd-404-go{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px}
.srd-404-go a{display:grid;gap:4px;padding:18px;border-radius:16px;background:var(--x-card);border:1px solid var(--x-card-b);box-shadow:var(--x-shadow);text-decoration:none!important}
.srd-404-go b{color:var(--x-ink);font-size:16px}
.srd-404-go span{color:var(--x-mute);font-size:13px}
.srd-404-go a:hover b{color:var(--x-v)}
@media (max-width:760px){.srd-sr{padding:24px 16px 40px}.srd-sr-posts,.srd-404-go{grid-template-columns:1fr}.srd-rec a{grid-template-columns:1fr}.srd-rec-d{grid-row:auto}.srd-sr-form button{padding:0 16px}}

/* ---------- 10 · 글 상세 ---------- */
.srd-progress{position:fixed;left:0;top:0;height:3px;width:100%;z-index:130;background:linear-gradient(90deg,#8B7FF0,#5B4FE0);transform-origin:0 50%;transform:scaleX(0);pointer-events:none}
body.admin-bar .srd-progress{top:32px}
@media (max-width:1099px){.srd-progress{top:56px!important}body.admin-bar .srd-progress{top:102px!important}}
@media (max-width:600px){body.admin-bar .srd-progress{top:56px!important}}
.srd-art-top{display:grid;gap:14px;margin:0 0 28px}
.srd-share{display:flex;gap:6px;flex-wrap:wrap}
.srd-share button,.srd-share a{height:34px;padding:0 14px;display:inline-flex;align-items:center;border-radius:30px;border:1px solid var(--x-line);background:var(--x-solid);color:var(--x-ink2)!important;font:inherit;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none!important}
.srd-share button:hover,.srd-share a:hover{border-color:var(--x-v);color:var(--x-v)!important}
.srd-share .is-done{border-color:#1FA463;color:#1FA463!important}
.srd-sum{background:var(--x-v-soft);border-radius:16px;padding:16px 20px}
body.srd.single .entry-content .srd-sum-h{margin:0 0 8px!important;padding:0!important;font-size:13px!important;font-weight:800!important;color:var(--x-v)!important;letter-spacing:0!important}
body.srd.single .entry-content .srd-sum-h::before{display:none!important}
.srd-sum ol{margin:0!important;padding-left:20px!important;display:grid;gap:6px}
.srd-sum li{font-size:15px;line-height:1.6;color:var(--x-ink);margin:0!important}
.srd-sum li::marker{color:var(--x-v);font-weight:800}
.srd-stk{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.srd-stk span{font-size:12.5px;font-weight:700;color:var(--x-mute);margin-right:4px}
body.srd.single .entry-content .srd-stk a{padding:4px 11px;border-radius:30px;background:var(--x-solid);border:1px solid var(--x-line);font-size:13px;font-weight:600;color:var(--x-ink2)!important;text-decoration:none!important}
body.srd.single .entry-content .srd-stk a:hover{border-color:var(--x-v);color:var(--x-v)!important}
/* 한 단계 올린 소제목(H3→H2): 기존 H3 모양 유지 */
html body.srd.single .entry-content>h2[data-srd-lv]{font-size:1.45em!important;font-weight:800!important;letter-spacing:-.03em!important;color:var(--x-ink)!important;margin-top:2.2em!important;padding-top:0!important}
html body.srd.single .entry-content>h2[data-srd-lv]::before{display:none!important}
html body.srd.single .entry-content>h2[data-srd-lv] .srd-no{display:block;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;letter-spacing:.12em;color:var(--x-v);font-weight:500;margin-bottom:6px;line-height:1.4}
/* 읽은 목차 항목은 흐리게 */
html body.srd .stl-toc-list a.srd-read{color:#8C88A0!important;border-left-color:rgba(91,79,224,.35)!important}
/* 표 숫자 열 오른쪽 정렬 */
body.srd.single .entry-content td.srd-num,body.srd.single .entry-content th.srd-num{text-align:right!important;font-variant-numeric:tabular-nums}
/* 발행일의 시장 (캘린더 배너 대신) */
body.srd .stl-calcard{display:none!important}

 

/* ---------- 03 · 리서치 노트: 필터 바 하나 + 4열 그리드 ---------- */
body.srd .stf-list-in .stf-rail{display:none!important}
body.srd .stf-list-in .stf-lbody{display:block!important}
body.srd .stf-list-in .stf-lmain{width:100%!important;max-width:none!important}
.srd-period{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--x-mute)}
.srd-period select{height:36px;border-radius:10px!important;border:1px solid var(--x-line)!important;background:var(--x-solid)!important;color:var(--x-ink)!important;padding:0 30px 0 12px!important;font:inherit;font-size:13.5px!important}
body.srd .stf-lbar{display:flex!important;align-items:center;gap:10px 14px;flex-wrap:wrap}
body.srd .stf-lbar .stf-state{margin-right:auto}
body.srd .stf-ftabs:not(.srd-all)>button.srd-x:not([aria-pressed="true"]){display:none!important}
body.srd .stf-ftabs .srd-more{border-style:dashed!important}
body.srd .stf-ftabs{flex-wrap:wrap!important;overflow:visible!important}
.srd-cex{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.55;color:var(--x-mute);margin-top:4px;font-weight:400}
.srd-crt{font-size:12px;color:var(--x-mute)}
body.srd .stf-cards.is-list .srd-cex{display:none}
@media (min-width:700px){
  body.srd .stf-out.srd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  body.srd .stf-out.srd-grid>.stf-day,body.srd .stf-out.srd-grid>.stf-day>.stf-cards{display:contents}
  body.srd .stf-out.srd-grid .stf-day-h{display:none}
  body.srd .stf-out.srd-grid .stf-pick,body.srd .stf-out.srd-grid .stf-empty{grid-column:1/-1}
  body.srd .stf-out.srd-grid .stf-card{margin:0!important;height:100%}
}
@media (min-width:1000px){body.srd .stf-out.srd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1280px){body.srd .stf-out.srd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---------- 06 · 증시 캘린더 · 데일리 브리프 ---------- */
/* 세로 목차 → 모든 화면에서 상단 고정 가로 탭 */

/* 요약 카드 4개 */
.srd-sum4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 6px}
.srd-sum4>div{padding:14px 16px;border-radius:16px;background:var(--x-card);border:1px solid var(--x-card-b);box-shadow:var(--x-shadow);display:grid;gap:3px;align-content:start}
.srd-sum4 small{font-size:12.5px;font-weight:700;color:var(--x-mute)}
.srd-sum4 b{font-size:20px;font-weight:800;letter-spacing:-.02em;color:var(--x-ink);font-variant-numeric:tabular-nums}
.srd-sum4 em{font-style:normal;font-size:13.5px;font-weight:800;font-variant-numeric:tabular-nums}
.srd-sum4 span{font-size:12.5px;color:var(--x-mute);line-height:1.45}
.srd-sum4 .up{color:var(--x-up)} .srd-sum4 .dn{color:var(--x-dn)}
@media (max-width:760px){.srd-sum4{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 섹터 순위표 (누르면 펼침) */

 

/* UX v2 보정 */
.srd-home .stf-sec{padding-top:48px!important;padding-bottom:48px!important}

@media (max-width:760px){html body.srd.single .inside-article{padding:24px 18px!important}html body.srd.single .entry-title{font-size:26px!important}}

/* =====================================================================
   UX v2.1 (재점검) · 글자 대비 · 숨은 글자 · 소개/약관/목록 페이지
   ===================================================================== */
body.srd{--x-vb:#5B4FE0}

/* 흰 글자 + 보라 배경 버튼은 모두 같은 진한 보라 (다크 모드에서 연보라 위 흰 글자 → 대비 부족 해결) */
html body.srd .srd-badge,html body.srd .srd-sr-form button,html body.srd .srd-pg .current{background:var(--x-vb)!important;color:#fff!important;border-color:transparent!important}

.srd-switch[aria-checked="true"] i{background:var(--x-vb)}
/* 작은 보조 글자: 라이트 */
html:not([data-theme="dark"]) body.srd .stkh-host,html:not([data-theme="dark"]) body.srd .stkh-date,html:not([data-theme="dark"]) body.srd .stkh-cat,html:not([data-theme="dark"]) body.srd .stl-rel-date,html:not([data-theme="dark"]) body.srd .separator,html:not([data-theme="dark"]) body.srd .copyright,html:not([data-theme="dark"]) body.srd .site-info,html:not([data-theme="dark"]) body.srd .srd-card .d,html:not([data-theme="dark"]) body.srd .srd-cnt{color:#625E75!important}
/* 작은 보조 글자: 다크 */

/* 하락 칩 글자는 조금 더 진하게 */
html:not([data-theme="dark"]) body.srd .stf-chip.dn,html:not([data-theme="dark"]) body.srd .srd-rec-hits i.dn{color:#0A69B8!important}
/* 푸터 */
html body.srd .stf-foot-logo b,html body.srd .stf-foot-logo em{color:var(--x-v)!important}
/* 섹터 순위표: 모바일에서 펼침 화살표 위치 고정 */

/* 소개·문의·약관 등 일반 페이지 */
body.srd-doc .site-main{max-width:860px;margin-left:auto!important;margin-right:auto!important}
html body.srd.srd-doc .inside-article{padding:44px 54px!important}
html body.srd.srd-doc .entry-title{font-size:clamp(26px,3vw,34px)!important;font-weight:800!important;letter-spacing:-.035em!important;color:var(--x-ink)!important;word-break:keep-all}
html body.srd.srd-doc .entry-content{font-size:16px;line-height:1.85;color:var(--x-ink2)}
html body.srd.srd-doc .entry-content h2{font-size:22px!important;font-weight:800!important;letter-spacing:-.025em!important;margin-top:1.8em!important;color:var(--x-ink)!important}
html body.srd.srd-doc .entry-content h3{font-size:18px!important;font-weight:700!important;color:var(--x-ink)!important}
html body.srd.srd-doc .entry-content a{color:var(--x-v)}
@media (max-width:760px){html body.srd.srd-doc .inside-article{padding:26px 20px!important}}
/* 카테고리·태그 목록 */
.srd-arch-n{display:flex;gap:14px;align-items:baseline;flex-wrap:wrap;color:var(--x-mute)!important;margin:0!important}
.srd-arch-n b{color:var(--x-ink)}
.srd-arch-n a{color:var(--x-v)!important;font-weight:700;font-size:14px;text-decoration:none!important}
.srd-arch .srd-sr-posts{margin-top:24px}
.srd-pg ul{display:flex;gap:6px;list-style:none;padding:0;margin:28px 0 0;justify-content:center;flex-wrap:wrap}
.srd-pg li{margin:0}
.srd-pg a,.srd-pg span{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;border:1px solid var(--x-line);background:var(--x-solid);color:var(--x-ink2)!important;text-decoration:none!important;font-weight:600;font-size:14px}

/* =====================================================================
   캘린더 범례: 실제 날짜 칸과 같은 모양 (상승·하락·휴장·선택·예정·작성 중·기록 없음)
   ===================================================================== */
body.srd{--x-cell:rgba(255,255,255,.92);--x-hol-a:rgba(255,255,255,.75);--x-hol-b:rgba(220,213,252,1);--x-up-tint:rgba(224,70,75,.26);--x-dn-tint:rgba(11,120,208,.24)}

/* 예정 · 작성 중 · 기록 없음 표시: 날짜 칸과 범례를 같은 모양으로 */

/* 섹터 순위표: 줄 전체 폭을 쓰고, 대표 종목·등락률은 오른쪽 끝에 맞춤 */

/* '+N개 더보기': 안쪽 스크롤 없이 목록 전체를 펼침 */

/* 0.5.3 왼쪽 메뉴 카테고리 · 카테고리 읽는 순서 단계 */
.srd-nav-a.srd-nav-sub{height:34px;padding-left:38px;font-size:13px}
.srd-nav-a.srd-nav-sub.cur{color:#5B4FE0!important;font-weight:700}

.srd-arch .srd-arch-step{margin-top:32px}
.srd-arch .srd-arch-step .srd-sr-posts{margin-top:0}

/* 0.5.4 홈: 바로가기 · 수치 기준 · 보조 문장 · 주제 카테고리 */
.srd-h-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:14px 0 0!important;font-size:14px}
.srd-h-links a{font-weight:700;color:var(--x-v)!important;text-decoration:none!important}

.srd-latest-sub{margin:-4px 0 12px!important;font-size:13px;line-height:1.55;color:var(--x-mute)}
.srd-sec-sub{margin:8px 0 0!important;font-size:14px;line-height:1.6;opacity:.8}
.srd-catcs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body.srd .stf-topics-sec a.srd-catc.srd-catc{display:flex;flex-direction:column;align-items:flex-start;gap:6px;height:auto;padding:18px 20px;border-radius:16px!important;text-decoration:none!important}
.srd-catc b{display:flex;align-items:baseline;gap:8px;font-size:17px;font-weight:800}
.srd-catc small{font-size:12px;font-weight:700;opacity:.7}
.srd-catc span{font-size:14px;line-height:1.6;font-weight:400;opacity:.85;word-break:keep-all}
@media (max-width:700px){.srd-catcs{grid-template-columns:1fr}}

/* 0.5.8 홈: 시장 카드가 없을 때 최신 ETF 노트를 전체 폭으로, 넓은 화면은 두 줄 */
.srd-h-grid.is-solo{grid-template-columns:1fr}
@media (min-width:1000px){
 .srd-h-grid.is-solo .srd-latest{padding:22px 26px 12px}
 .srd-h-grid.is-solo .srd-latest ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
 .srd-h-grid.is-solo .srd-latest li:nth-child(2){border-top:0}
 .srd-h-grid.is-solo .srd-latest li a{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:16px 0}
}

/* 0.5.10 모바일 글 본문 여백: 밝은/어두운 테마 규칙(44px 54px)이 우선순위가 높아 760px 이하 규칙이 적용되지 않던 문제 */
@media (max-width:760px){html:not([data-theme="dark"]) body.srd.single .inside-article{padding:24px 18px!important}}

/* 0.5.10 홈: 큰 제목 위 주제어, 주제별 묶음 */
.srd-h1-k{display:block;margin-bottom:8px;font-size:13px;line-height:1.4;font-weight:700;letter-spacing:0;color:var(--x-v)}
.srd-hgs{margin-top:28px}
.srd-hgs h2{margin:0 0 4px!important;font-size:19px!important;font-weight:800!important;letter-spacing:-.02em;color:var(--x-ink)!important}
.srd-hgs-sub{margin:0 0 14px!important;font-size:13px;line-height:1.55;color:var(--x-mute)}
.srd-hgs-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.srd-hg{background:var(--x-card);border:1px solid var(--x-card-b);border-radius:20px;box-shadow:var(--x-shadow);padding:18px 20px 8px}
.srd-hg h3{margin:0 0 2px!important;font-size:16px!important;font-weight:800!important;letter-spacing:-.02em;color:var(--x-ink)!important}
.srd-hg p{margin:0 0 8px!important;font-size:12.5px;line-height:1.5;color:var(--x-mute)}
.srd-hg ul{list-style:none;margin:0!important;padding:0!important}
.srd-hg li{margin:0!important;border-top:1px solid var(--x-line)}
.srd-hg li a{display:block;padding:10px 0;font-size:14.5px;line-height:1.45;font-weight:600;color:var(--x-ink)!important;text-decoration:none!important;word-break:keep-all}
.srd-hg li a:hover{color:var(--x-v)!important}
@media (max-width:1100px){.srd-hgs-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.srd-hgs-g{grid-template-columns:1fr}}

/* 0.5.12 접근성: 표·그림 설명 글자색 대비(2.6:1 → 5.7:1), 글 아래 분류·태그 링크 누르는 영역(14px → 28px) */
html body.srd .entry-content figcaption{color:#5B6680!important}
html body.srd.single footer.entry-meta .cat-links a,html body.srd.single footer.entry-meta .tags-links a{display:inline-block;padding:7px 4px;line-height:14px}

/* ---------- 12 · 0.5.16 유리와 빛을 사이트 전체에 (관련주 글 화면과 같은 배경·판 틀) ---------- */
html{background:#f6f5fb}
html::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(60vw 50vh at 4% 0%,#dde7ff 0,transparent 62%),radial-gradient(50vw 46vh at 100% 8%,#ece3ff 0,transparent 62%),radial-gradient(60vw 50vh at 78% 104%,#ffeede 0,transparent 60%)}
html:not([data-theme="dark"]) body.srd{background:transparent!important;--x-card:rgba(255,255,255,.45);--x-card-b:rgba(255,255,255,.75);--x-shadow:0 14px 34px -22px rgba(40,50,110,.3);--x-line:rgba(22,24,44,.08)}
body.srd .srd-bg{display:none}
@media (min-width:1100px){body.srd .srd-side{background:transparent;border-right:0;-webkit-backdrop-filter:none;backdrop-filter:none}}
body.srd .srd-latest,body.srd .srd-hg{border-radius:22px;-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5)}
body.srd .srd-latest{padding:24px 28px 14px}
body.srd .srd-hg{padding:22px 24px 10px}
body.srd .srd-sr-post{border-radius:20px;padding:14px}
html body.srd .srd-h1,html body.srd .srd-sr-head h1{letter-spacing:-.02em!important;font-weight:700!important}
html:not([data-theme="dark"]) body.srd .stf-foot{border-top-color:rgba(22,24,44,.08)}
/* 소개·문의·약관 같은 일반 페이지: 본문을 한 판에 */
html body.srd.page:not(.stf-page) .inside-article{max-width:880px;margin:28px auto 48px!important;padding:34px 40px 38px!important;border-radius:22px;background:rgba(255,255,255,.45)!important;border:1px solid rgba(255,255,255,.75)!important;-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);box-shadow:none!important}
html body.srd.page:not(.stf-page) .entry-title{letter-spacing:-.02em!important;font-weight:700!important}
@media (max-width:768px){html body.srd.page:not(.stf-page) .inside-article{margin:14px 14px 40px!important;padding:22px 20px 26px!important;border-radius:20px}body.srd .srd-latest{padding:18px 18px 10px}}
/* 0.5.18 일반 페이지 글자 체계: 제목은 가는 선으로 끊고, 본문 17px */
html body.srd.page:not(.stf-page) .entry-content{font-size:17px;line-height:1.8;color:#2f2f33}
html body.srd.page:not(.stf-page) .entry-title{font-size:32px!important;line-height:1.3!important;color:#111114!important}
html body.srd.page:not(.stf-page) .entry-content h2{font-size:22px!important;line-height:1.4!important;font-weight:700!important;letter-spacing:-.02em!important;color:#111114!important;margin:40px 0 14px!important;padding-top:30px;border-top:1px solid rgba(22,24,44,.08)}
html body.srd.page:not(.stf-page) .entry-content h3{font-size:18px!important;font-weight:700!important;letter-spacing:-.012em!important;margin:28px 0 10px!important}
html body.srd .srd-h1{font-size:clamp(28px,3.2vw,38px)!important;line-height:1.28!important;color:#111114!important}
/* 0.5.20 일반 페이지 본문 판의 바탕을 없앰(사이트 배경 위에 바로) */
html body.srd.page:not(.stf-page) .inside-article{background:none!important;border:0!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;padding:20px 28px 40px!important}
