/* ═══ 2026-11-16 시안: 밝은 안개 테마 「안개 속 운명의 타임라인」 ═══
   html.theme-mist 일 때만 켜진다(기본 꺼짐). 기존 CSS는 건드리지 않고 겉모습만 덮어쓴다.
   은유: 지난 시간은 맑고, 지금은 또렷하고, 앞날은 안개에 잠겨 있다.
   색: 새벽 산안개(청회색 바탕) · 흰 한지 카드 · 먹색 글씨 · 붉은 낙관 · 낮춘 청동빛. */

html.theme-mist{
  --bg: #E9EEEE; --bg-2: #DFE6E7; --panel: #F7F8F6; --panel-2: #F1F3F1;
  --line: rgba(52, 72, 80, .16); --line-2: rgba(52, 72, 80, .10);
  --ink: #20272B; --ink-2: #4A555B; --ink-3: #6C777C; --ink2: #4A555B; --ink3: #6C777C;
  --gold: #8C6A35; --gold-d: #6E5228; --gold-l: #9C773C; --jade: #3E8573; --red: #B8492F;
  --mist-1: 255, 255, 255; --mist-2: 214, 225, 228;
  background: var(--bg);
  color-scheme: light;
}
html.theme-mist body.hubpage, html.theme-mist body{ background: var(--bg); color: var(--ink); }
html.theme-mist #hub .tq{
  --seal: #B23A2C; --seal-l: #C9503F; --moon: 255, 255, 255;
  --hanji: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85 .35' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .4 0 0 0 0 .42 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --paper: var(--hanji), linear-gradient(170deg, rgba(255,255,255,.86), rgba(246,248,247,.78));
  --frame: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 30px -12px rgba(40, 62, 72, .22), 0 2px 6px -2px rgba(40, 62, 72, .08);
}

/* ── 바탕 안개: 고정된 두세 겹이 천천히 흐른다 ── */
html.theme-mist #hub .glow{
  background:
    radial-gradient(70% 40% at 50% -5%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(60% 35% at 0% 40%, rgba(var(--mist-2), .7), transparent 70%),
    radial-gradient(55% 40% at 100% 85%, rgba(var(--mist-2), .65), transparent 70%);
}
html.theme-mist #hub .glow::before, html.theme-mist #hub .glow::after{
  content: ''; position: absolute; inset: -20% -40%; pointer-events: none;
  background:
    radial-gradient(28% 14% at 20% 30%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(34% 12% at 70% 55%, rgba(255,255,255,.6), transparent 70%),
    radial-gradient(30% 16% at 40% 85%, rgba(255,255,255,.55), transparent 70%);
  filter: blur(14px); animation: mistDrift 70s linear infinite alternate;
}
html.theme-mist #hub .glow::after{ opacity: .7; animation-duration: 110s; animation-direction: alternate-reverse; transform: scaleX(-1); }
@keyframes mistDrift{ from{ translate: -8% 0; } to{ translate: 8% -2%; } }
@media (prefers-reduced-motion: reduce){ html.theme-mist #hub .glow::before, html.theme-mist #hub .glow::after{ animation: none; } }

/* ── 상단 바 ── */
html.theme-mist #hub .top{ background: rgba(240,244,244,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
html.theme-mist #hub .top .tb, html.theme-mist #hub .top .brand{ color: var(--ink); }
html.theme-mist #hub .top .tb{ background: rgba(255,255,255,.7); border-color: var(--line); }
html.theme-mist #hub .top .tb.tr{ color: var(--gold-d); }

/* ── 머리: 먼 산 능선이 안개 속에 겹친다 ── */
html.theme-mist #hub .tq-hero{ border-bottom: 0; padding-bottom: 64px; }
html.theme-mist #hub .tq-hero::before{ filter: grayscale(.55) brightness(1.55) contrast(.7) blur(1px); opacity: .55; }
html.theme-mist #hub .tq-hero::after{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath d='M0 170 C120 120 200 150 290 105 C380 60 450 120 540 95 C640 65 700 30 790 70 C880 110 960 80 1050 100 C1120 115 1170 95 1200 105 V300 H0Z' fill='%23B9C7CB' fill-opacity='.55'/%3E%3Cpath d='M0 215 C90 185 170 205 260 175 C360 140 430 190 520 170 C620 148 690 120 780 150 C880 182 980 150 1080 172 C1140 185 1180 175 1200 178 V300 H0Z' fill='%2397AAB0' fill-opacity='.55'/%3E%3Cpath d='M0 262 C120 240 230 255 340 238 C450 222 560 250 680 236 C800 222 900 246 1020 236 C1110 229 1170 240 1200 238 V300 H0Z' fill='%23E9EEEE'/%3E%3C/svg%3E") bottom center / 100% 46% no-repeat,
    radial-gradient(40% 55% at 50% 0%, rgba(255,255,255,.95), rgba(255,255,255,.4) 60%, transparent 80%),
    linear-gradient(180deg, rgba(233,238,238,.55), rgba(233,238,238,.82) 55%, var(--bg));
}
html.theme-mist #hub .tq-hero h1{ color: #1B2226; text-shadow: 0 0 30px rgba(255,255,255,.9), 0 1px 0 rgba(255,255,255,.8); }
html.theme-mist #hub .tq-hero .kick{ color: #6A7A80; }
html.theme-mist #hub .tq-hero .tq-who{ color: var(--ink); }
html.theme-mist #hub .tq-hero .tq-intro{ color: var(--ink-2); }
html.theme-mist #hub .tq-birth{ background: rgba(255,255,255,.72); border: 1px solid var(--line); color: var(--ink-2); backdrop-filter: blur(6px); }
html.theme-mist #hub .tq-birth a{ color: var(--seal); background: rgba(178,58,44,.08); }

/* ── 영역 바로가기 ── */
html.theme-mist #hub .tq-nav{ background: linear-gradient(180deg, rgba(233,238,238,.96) 72%, rgba(233,238,238,0)); }
html.theme-mist #hub .tq-nav a{ background: rgba(255,255,255,.8); border-color: var(--line); color: var(--ink-2); }
html.theme-mist #hub .tq-nav a i{ background: rgba(52,72,80,.08); color: var(--ink-2); }
html.theme-mist #hub .tq-nav a.on{ background: #fff; border-color: rgba(178,58,44,.45); color: var(--ink); }
html.theme-mist #hub .tq-nav a.on i{ background: var(--seal); color: #fff; }
html.theme-mist #hub .tq-nav a.tq-edit{ background: #F7F8F6; color: var(--gold-d); box-shadow: -10px 0 12px -4px rgba(233,238,238,.95); }

/* ── 영역 머리: 붉은 낙관 번호 + 옅은 먹선 ── */
html.theme-mist #hub .tq-sec + .tq-sec{ background: linear-gradient(90deg, transparent, rgba(52,72,80,.18) 18%, rgba(178,58,44,.35) 50%, rgba(52,72,80,.18) 82%, transparent) top center / 100% 1px no-repeat; }
html.theme-mist #hub .tq-sech > span{ background: radial-gradient(120% 120% at 30% 25%, #CF5A48, var(--seal) 60%, #8A2A1F); color: #fff; box-shadow: 0 3px 10px -3px rgba(178,58,44,.5); }
html.theme-mist #hub .tq-sech h2{ color: #1B2226; }
html.theme-mist #hub .tq-sech p, html.theme-mist #hub .tq-sech small{ color: var(--ink-3); }
html.theme-mist #hub .tq-h4{ color: var(--ink); }

/* ── 상자·카드: 흰 한지, 얇은 청회색 테두리, 부드러운 그림자 ── */
html.theme-mist #hub :is(.tq-box, .tq-metric, .tq-ten, .tq-fc, .tq-today, .tq-mypage, .tq-card),
html.theme-mist #hub .tq .mt-natal{ background: var(--paper); border-color: var(--line); box-shadow: var(--frame); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
html.theme-mist #hub :is(.tq-fc, .tq-today, .tq-mypage):hover{ border-color: rgba(140,106,53,.45); }
html.theme-mist #hub .tq-fc.tq-ny{ background: var(--hanji), linear-gradient(120deg, rgba(178,58,44,.10), rgba(255,255,255,.85) 70%); }
html.theme-mist #hub :is(.tq-car, .tq-lc){ background: var(--hanji), rgba(255,255,255,.6); border-color: var(--line); }
html.theme-mist #hub :is(.tq-dc, .tq-st, .tq-zw-row){ background: rgba(52,72,80,.045); border-color: var(--line-2); }
html.theme-mist #hub .tq-box > h4::before{ background: var(--seal); box-shadow: none; }
html.theme-mist #hub .tq-sj{ background: rgba(200,140,40,.10); }

/* ── 단추·칩 ── */
html.theme-mist #hub .tq :is(button, .tq-fchip, .tq-mchip, .tq-ychip, .tq-lnk, .tq-chip),
html.theme-mist #hub .tq-yrnav button,
html.theme-mist #hub .tq-ava small{ background: rgba(255,255,255,.78); border-color: var(--line); color: var(--ink-2); }
html.theme-mist #hub .tq :is(.tq-mchip, .tq-chip, .tq-fchip).on{ background: #26333A; color: #F4F6F5; border-color: #26333A; }
html.theme-mist #hub .tq .tq-ychip.on{ background: rgba(62,133,115,.16); color: #24584B; border-color: rgba(62,133,115,.5); }
html.theme-mist #hub .btn{ background: #fff; color: var(--ink); border-color: rgba(140,106,53,.45); }
html.theme-mist #hub .btn.pri, html.theme-mist #hub .btn.primary{ background: #26333A; color: #fff; border-color: #26333A; }
html.theme-mist #hub .ring{ background: conic-gradient(#B23A2C calc(var(--p) * 1%), rgba(52,72,80,.12) 0); }
html.theme-mist #hub .ring::before{ background: #F7F8F6 !important; }

/* ── 글씨: 밝은 글씨로 박혀 있던 곳을 먹색으로(오행·신호 색 글씨는 제외) ── */
html.theme-mist #hub .tq-sech > span, html.theme-mist #hub .tq-bar s, html.theme-mist #hub .tq-nav a.on i{ color: #fff !important; }
html.theme-mist #hub .tq .tq-nt-ss.g{ color: #1F7A4A; background: rgba(47,160,100,.12); }
html.theme-mist #hub .tq .tq-nt-ss.b{ color: #A8392B; background: rgba(200,70,55,.10); }
html.theme-mist #hub .tq .tq-pat.g{ color: #1F7A4A; }

/* ── 사주 원국 표: 먹선 칸 + 오행 수채 물감 ── */
html.theme-mist #hub .tq .mt-natal .tq-nt-l{ color: var(--ink-3) !important; }
html.theme-mist #hub .tq .mt-natal :is(.tq-nt-l, .tq-nt-c:not(.gz)){ border-bottom-color: rgba(52,72,80,.12); }
html.theme-mist #hub .tq .mt-natal .tq-nt-c.me{ background: linear-gradient(180deg, rgba(178,58,44,.06), rgba(178,58,44,.02)); }
html.theme-mist #hub .tq .mt-natal .tq-nt-c.hd.me b{ background: var(--seal); color: #fff !important; box-shadow: none; }
html.theme-mist #hub .tq .mt-natal .tq-nt-g{
  background: radial-gradient(90% 80% at 50% 10%, color-mix(in srgb, var(--ec) 16%, #fff), color-mix(in srgb, var(--ec) 7%, #fff) 70%);
  border-color: color-mix(in srgb, var(--ec) 45%, transparent); box-shadow: 0 6px 16px -10px color-mix(in srgb, var(--ec) 60%, transparent);
}
html.theme-mist #hub .tq .mt-natal .tq-nt-g b{ color: color-mix(in srgb, var(--ec) 78%, #0d1316); text-shadow: none; }
html.theme-mist #hub .tq .mt-natal .tq-nt-g small{ color: color-mix(in srgb, var(--ec) 70%, #0d1316); }
html.theme-mist #hub .tq .mt-natal .tq-nt-c.me .tq-nt-g{ box-shadow: 0 0 0 2px var(--seal), 0 8px 20px -10px rgba(178,58,44,.45); }
html.theme-mist #hub .tq .mt-natal .tq-nt-h i{ background: color-mix(in srgb, var(--ec) 75%, #fff); color: #fff; }
html.theme-mist #hub .tq .tq-el > span, html.theme-mist #hub .tq .tq-gzc{ filter: brightness(.78) saturate(1.1); }

/* ── 그래프 막대 ── */
html.theme-mist #hub .tq-eb, html.theme-mist #hub .tq .tq-bar u{ background: rgba(52,72,80,.08); box-shadow: inset 0 0 0 1px rgba(52,72,80,.08); }
html.theme-mist #hub .tq .tq-eb i, html.theme-mist #hub .tq .tq-bar u i{ box-shadow: none; }
html.theme-mist #hub .tq .tq-bar{ background: transparent; }
html.theme-mist #hub .tq .tq-bar.sel{ background: rgba(255,255,255,.75); box-shadow: 0 4px 14px -8px rgba(40,62,72,.35); }

/* ── 일주 초상: 안개 속 달무리 ── */
html.theme-mist #hub .tq-ava-ring{ box-shadow: 0 0 0 1px rgba(178,58,44,.5), 0 0 0 9px rgba(255,255,255,.75), 0 0 0 10px rgba(52,72,80,.18), 0 0 80px rgba(255,255,255,.9); }
html.theme-mist #hub .tq-ava b{ color: var(--ink) !important; }

/* ── 앞날의 안개: 영역 3·4(인생 흐름·지금과 앞으로)는 들어올 때 안개가 걷힌다 ── */
html.theme-mist #hub .tq-sec{ position: relative; }
html.theme-mist #hub .tq-sec.mist-veil::before{
  content: ''; position: absolute; inset: -40px -6% auto; height: 220px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(233,238,238,0), rgba(242,245,245,.92) 40%, rgba(233,238,238,0));
  filter: blur(6px); transition: opacity 1.6s ease, transform 2.2s ease;
}
html.theme-mist #hub .tq-sec.mist-veil.mist-clear::before{ opacity: 0; transform: translateX(18%); }

/* ── 주제 카드(인생의 주요 주제): 그림은 살리고 아래에 안개 ── */
html.theme-mist #hub .tq-topic{ background-color: #DCE4E6; box-shadow: var(--frame); }
html.theme-mist #hub .tq-mypage-ic{ background: rgba(178,58,44,.1); color: var(--seal) !important; }

/* ── 금(金) 색: 원래 거의 흰색(#E6EAF0)이라 밝은 바탕에서 사라진다 → 은회색 ── */
html.theme-mist #hub [style*="--ec:#E6EAF0" i]{ --ec: #7E8C95 !important; }
html.theme-mist #hub [style*="color:#E6EAF0" i]{ color: #66737C !important; }
html.theme-mist #hub [style*="background:#E6EAF0" i]{ background: #8F9CA4 !important; }
html.theme-mist #hub .tq :is(.tq-mchip, .tq-chip, .tq-fchip).on, html.theme-mist #hub .tq :is(.tq-mchip, .tq-chip, .tq-fchip).on *{ color: #F4F6F5 !important; }

/* ── 시간의 안개: '지금' 막대 뒤의 시기는 멀어질수록 옅어진다(누르면 또렷하게) ── */
html.theme-mist #hub .tq .tq-bar.now ~ .tq-bar:not(.sel){ opacity: .82; filter: saturate(.75); transition: opacity .4s, filter .4s; }
html.theme-mist #hub .tq .tq-bar.now ~ .tq-bar ~ .tq-bar ~ .tq-bar:not(.sel){ opacity: .66; filter: saturate(.55) blur(.3px); }
html.theme-mist #hub .tq .tq-bar.now ~ .tq-bar ~ .tq-bar ~ .tq-bar ~ .tq-bar ~ .tq-bar:not(.sel){ opacity: .5; filter: saturate(.4) blur(.5px); }
html.theme-mist #hub .tq .tq-bar:not(.sel):hover{ opacity: 1 !important; filter: none !important; }
html.theme-mist #hub #tq :is(.tq-mchip, .tq-chip, .tq-fchip).on, html.theme-mist #hub #tq :is(.tq-mchip, .tq-chip, .tq-fchip).on *{ color: #F4F6F5 !important; }

/* ── 주제 카드: 어두운 그림을 안개 낀 수묵 사진처럼 밝히고, 아래는 흰 안개 위에 먹색 글씨 ── */
html.theme-mist #hub .tq-topic{ background: #E4EAEB; border-color: color-mix(in srgb, var(--wa, #8C6A35) 35%, rgba(52,72,80,.18)); box-shadow: 0 14px 30px -16px rgba(40,62,72,.35), 0 1px 0 rgba(255,255,255,.9) inset; }
html.theme-mist #hub .tq-topic img{ filter: grayscale(.7) sepia(.12) brightness(1.75) contrast(.62) saturate(.8); opacity: .9; }
html.theme-mist #hub .tq-topic:hover img, html.theme-mist #hub .tq-topic:focus-visible img{ filter: grayscale(.35) brightness(1.55) contrast(.75); opacity: 1; }
html.theme-mist #hub .tq-topic::before{ content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 45% at 50% 0%, rgba(255,255,255,.55), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--wa, #8FA6E8) 14%, transparent), transparent 40%), rgba(236,241,242,.22); }
html.theme-mist #hub .tq-topic::after{ background: linear-gradient(0deg, rgba(246,248,247,.98) 0%, rgba(246,248,247,.9) 24%, rgba(240,244,244,.4) 52%, transparent 70%); }
html.theme-mist #hub .tq-topic h3{ text-shadow: none; color: #1B2226 !important; font-family: var(--f-serif); }
html.theme-mist #hub #tq .tq-topic .tq-ic{ display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: var(--seal); color: #fff !important; font-size: .9rem; vertical-align: 2px; }
html.theme-mist #hub .tq-topic p{ color: var(--ink-2) !important; }
html.theme-mist #hub .tq-topics{ scrollbar-color: rgba(52,72,80,.35) transparent; }

/* ═══ 일진 캘린더·오늘의 운·무료 타로(같은 허브 앱 화면) ═══ */
/* 공통 단추(interaction.css 변수): 흰 바탕·먹색 글씨, 누를 때만 붉은 낙관 */
html.theme-mist{ --action-idle: rgba(255,255,255,.85); --action-line: rgba(52,72,80,.22); --action-ink: #20272B; --action-hot: #B23A2C; --action-hot-line: #8A2A1F; }
html.theme-mist #hub :is(button,a.btn,a.chipbtn):disabled{ background: #EEF1F1; border-color: rgba(52,72,80,.15); color: #8A949A; }
html.theme-mist #hub .linkbtn{ background: none !important; border: 0 !important; color: var(--ink-3) !important; }

/* 무료 타로 */
html.theme-mist #hub .tm{ background: rgba(255,255,255,.82) !important; border-color: var(--line) !important; color: var(--ink) !important; box-shadow: 0 10px 26px -16px rgba(40,62,72,.35); }
html.theme-mist #hub .tm .ic{ background: rgba(178,58,44,.09); color: #B23A2C; }
html.theme-mist #hub .tm b{ color: var(--ink); } html.theme-mist #hub .tm small{ color: var(--ink-3); } html.theme-mist #hub .tm .ar{ color: #B23A2C; }
html.theme-mist #hub .tm:is(:hover,:focus-visible,:active){ background: #fff !important; border-color: rgba(178,58,44,.5) !important; color: var(--ink) !important; }
html.theme-mist #hub .chipbtn{ background: rgba(255,255,255,.8) !important; color: var(--ink-2) !important; border-color: var(--line) !important; }
html.theme-mist #hub .chipbtn[aria-pressed="true"]{ background: #26333A !important; border-color: #26333A !important; color: #F4F6F5 !important; }
html.theme-mist #hub .chipbtn[aria-pressed="true"] small{ color: #C9D1D4; }
html.theme-mist #hub .chipbtn:not([aria-pressed="true"]):is(:hover,:focus-visible){ background: #fff !important; border-color: rgba(178,58,44,.5) !important; color: var(--ink) !important; }
html.theme-mist #hub .kick{ color: #8C6A35; }
html.theme-mist #hub .rsec.one{ background: linear-gradient(180deg, rgba(178,58,44,.06), rgba(255,255,255,.6)); border-color: var(--line); }
html.theme-mist #hub .bridge{ background: radial-gradient(100% 90% at 50% 0%, rgba(178,58,44,.07), transparent 70%), rgba(255,255,255,.8); border-color: var(--line); }
html.theme-mist #hub .rsec{ border-color: var(--line); }

/* 월운 그래프·일진 캘린더 패널: 흰 한지 */
html.theme-mist .fortune-panel{
  --opportunity: #16A34A; --expansion: #F59E0B; --harvest: #9333EA; --accumulation: #2563EB;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.9), transparent 65%), rgba(250,251,250,.86);
  border-color: var(--line); box-shadow: 0 18px 44px -24px rgba(40,62,72,.35), 0 1px 0 rgba(255,255,255,.9) inset; color: var(--ink);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
html.theme-mist .flow-tg-bg{ --flow: #0E8F9A; } html.theme-mist .flow-tg-ss{ --flow: #16A34A; } html.theme-mist .flow-tg-jc{ --flow: #CA8A04; } html.theme-mist .flow-tg-gw{ --flow: #2563EB; } html.theme-mist .flow-tg-is{ --flow: #9333EA; }
html.theme-mist .flow-opportunity{ --flow: #16A34A; }
html.theme-mist .flow-expansion{ --flow: #F59E0B; }
html.theme-mist .flow-harvest{ --flow: #9333EA; }
html.theme-mist .flow-accumulation{ --flow: #2563EB; }
html.theme-mist .fortune-panel .flow-defense{ --flow: #DC2626; }
html.theme-mist .mc-care{ background: #FFF7ED; border-color: rgba(234,88,12,.35); } html.theme-mist .mc-care-k{ color: #9A3412; } html.theme-mist .mc-care li{ color: var(--ink-2); } html.theme-mist .mc-care-c{ background: #EA580C; color: #fff; } html.theme-mist #hub .mc-care .dsub{ font-size: 12px !important; color: var(--ink-3) !important; }
html.theme-mist #hub .fortune-panel .mc-day.elm.caution, html.theme-mist #hub .fortune-panel .mc-day.elm.caution.selected{ background: linear-gradient(180deg, color-mix(in srgb, var(--flow) 20%, #fff), color-mix(in srgb, var(--flow) 7%, #fff)) !important; border: 1px solid color-mix(in srgb, var(--flow) 38%, transparent) !important; box-shadow: inset 0 -3px 0 #EA580C !important; } html.theme-mist #hub .fortune-panel .mc-day.elm.caution :is(b, small, .mc-metric strong){ color: var(--ink) !important; } html.theme-mist #hub .mc-day .mc-el{ color: var(--flow); } html.theme-mist #hub .fortune-panel .mc-bar.care::after{ background: #EA580C; } html.theme-mist .mc-legend i.mc-care-k{ background: #EA580C; }   /* 2026-11-25 일진 칸 오행 색 */
html.theme-mist .mg-good{ --flow: #16A34A; } html.theme-mist .mg-ok{ --flow: #94A3B8; } html.theme-mist .mg-care{ --flow: #EA580C; }
html.theme-mist #hub .fortune-panel .mc-bar em.mc-tg{ color: var(--flow-ink, var(--flow)); font-size: 11.5px; }
html.theme-mist .fortune-panel .h1, html.theme-mist .fortune-panel h2{ color: #1B2226; }
html.theme-mist .fortune-panel .kick{ color: #8C6A35; }
html.theme-mist .fortune-panel :is(.sub, .dsub), html.theme-mist .fc-method{ color: var(--ink-2); }
html.theme-mist .fc-method summary{ color: #7A2E22; }
html.theme-mist #hub .mc-nav button, html.theme-mist #hub .fc-controls button{ background: #fff; border-color: var(--line); color: var(--ink); }
html.theme-mist .mc-chart{ background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), rgba(52,72,80,.08) calc(25% - 1px), rgba(52,72,80,.08) 25%); background-clip: content-box; scrollbar-color: rgba(52,72,80,.3) transparent; }
html.theme-mist #hub .fortune-panel .mc-bar{ background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(52,72,80,.18) !important; color: var(--ink-2) !important; }
html.theme-mist #hub .fortune-panel .mc-bar i{ background: linear-gradient(to top, color-mix(in srgb, var(--flow) 82%, #fff), var(--flow)); opacity: 1; box-shadow: 0 4px 10px -6px var(--flow); }
html.theme-mist #hub .fortune-panel .mc-bar small{ color: var(--ink-3); }
html.theme-mist #hub .fortune-panel .mc-bar.active i{ outline-color: #B23A2C; box-shadow: 0 6px 16px -6px rgba(178,58,44,.4); }
html.theme-mist .mc-legend{ color: var(--ink-2); }
html.theme-mist .mc-month-note{ background: rgba(255,255,255,.75); border-left-color: #B23A2C; color: var(--ink-2); box-shadow: 0 6px 18px -14px rgba(40,62,72,.4); }
html.theme-mist .fc-controls{ background: rgba(52,72,80,.04); border-color: var(--line-2); }
html.theme-mist .fc-controls label{ color: var(--ink-3); }
html.theme-mist .fc-controls select{ background: #fff; border-color: var(--line); color: var(--ink); }
html.theme-mist .mc-week{ color: var(--ink-3); } html.theme-mist .mc-week:first-child{ color: #B8492F; } html.theme-mist .mc-week:nth-child(7){ color: #3F63B5; }

/* 날짜 칸: 흐름 색을 옅게 물들인 흰 칸, 숫자는 진한 흐름 색 */
html.theme-mist #hub .fortune-panel .mc-day{ background: linear-gradient(155deg, color-mix(in srgb, var(--flow) 12%, #fff), color-mix(in srgb, var(--flow) 4%, #fff)) !important; border: 1px solid color-mix(in srgb, var(--flow) 28%, transparent) !important; color: var(--ink) !important; box-shadow: 0 4px 12px -8px rgba(40,62,72,.35); }
html.theme-mist #hub .fortune-panel .mc-day b{ color: var(--ink) !important; }
html.theme-mist #hub .fortune-panel .mc-day small, html.theme-mist #hub .fortune-panel .mc-day .mc-metric span{ color: var(--ink-3) !important; }
html.theme-mist #hub .fortune-panel .mc-day .mc-metric strong{ color: color-mix(in srgb, var(--flow) 85%, #10181c) !important; }
html.theme-mist #hub .fortune-panel .mc-day em{ color: var(--ink-3) !important; background: rgba(52,72,80,.06); }
html.theme-mist #hub .fortune-panel .mc-day.favorable{ border-bottom: 2px solid #2E9A6E !important; }
html.theme-mist #hub .fortune-panel .mc-day.favorable em, html.theme-mist .mc-key{ color: #1F7A52 !important; background: rgba(46,154,110,.12) !important; }
html.theme-mist #hub .fortune-panel .mc-day.caution, html.theme-mist #hub .fortune-panel .mc-day.caution.selected{ background: linear-gradient(145deg, #FDE9DC, #FFF5EE) !important; border: 1px solid rgba(234,88,12,.5) !important; }
html.theme-mist #hub .fortune-panel .mc-day.caution :is(b, small, .mc-metric strong, em){ color: #9A3412 !important; }
html.theme-mist #hub .fortune-panel .mc-day.caution em, html.theme-mist .mc-key.caution{ background: rgba(234,88,12,.12) !important; color: #9A3412 !important; }
html.theme-mist #hub .fortune-panel .mc-day.selected{ outline: 2px solid rgba(178,58,44,.45) !important; outline-offset: 2px; border-color: #B23A2C !important; }
html.theme-mist #hub .fortune-panel .mc-day.is-today:after{ background: #B23A2C; }
html.theme-mist #hub .fortune-panel .mc-day:is(:hover,:focus-visible,:active){ background: #fff !important; color: var(--ink) !important; border-color: var(--flow) !important; }
html.theme-mist .mc-son, html.theme-mist .mc-key.son{ background: rgba(140,106,53,.12) !important; color: #6E5228 !important; border-color: rgba(140,106,53,.4); }

/* 순풍·리스크 목록 */
html.theme-mist .mc-shortlist{ background: linear-gradient(135deg, rgba(46,154,110,.07), rgba(255,255,255,.6)); border-color: rgba(46,154,110,.25); }
html.theme-mist .mc-shortlist.caution{ background: linear-gradient(135deg, rgba(194,72,59,.07), rgba(255,255,255,.6)); border-color: rgba(194,72,59,.25); }
html.theme-mist .mc-shortlist h3{ color: #1F7A52; } html.theme-mist .mc-shortlist.caution h3{ color: #A8392B; }
html.theme-mist #hub .fortune-panel .mc-pick{ background: rgba(255,255,255,.85) !important; border: 1px solid var(--line) !important; color: var(--ink) !important; }
html.theme-mist #hub .fortune-panel .mc-pick b{ color: var(--ink); }
html.theme-mist #hub .fortune-panel .mc-pick :is(span, small), html.theme-mist .mc-empty{ color: var(--ink-3); }

/* 오늘의 운 지수 아래 카드들 */
html.theme-mist #hub :is(.dgrid > *, .actcard, .ddb, .me-body){ background: rgba(255,255,255,.82); border-color: var(--line); box-shadow: 0 10px 26px -18px rgba(40,62,72,.35); }
html.theme-mist #hub .nextc{ background: linear-gradient(180deg, rgba(178,58,44,.05), rgba(255,255,255,.7)); border-color: var(--line); }
html.theme-mist #hub :is(.ddb h5, .actcard h5){ color: #8C6A35; }

/* ═══ 글자 대비 보정(2026-11-16 전수 검사: 본문 4.5:1 · 큰 글씨 3:1 기준) ═══ */
/* 보조 회색·금빛을 한 단계 진하게 */
html.theme-mist{ --ink-2: #3F4A50; --ink-3: #56626A; --ink2: #3F4A50; --ink3: #56626A; --gold: #74561F; --gold-l: #74561F; --gold-d: #5E451A; }
html.theme-mist #hub .kick, html.theme-mist .fortune-panel .kick{ color: #74561F; }
/* 흐름 색: 막대·칸 물들임은 원색(--flow), 글자는 같은 색의 진한 단계(--flow-ink) */
html.theme-mist .flow-tg-bg{ --flow-ink: #0F766E; } html.theme-mist .flow-tg-ss{ --flow-ink: #15803D; } html.theme-mist .flow-tg-jc{ --flow-ink: #A16207; } html.theme-mist .flow-tg-gw{ --flow-ink: #1D4ED8; } html.theme-mist .flow-tg-is{ --flow-ink: #7E22CE; }
html.theme-mist .flow-opportunity{ --flow-ink: #15803D; }
html.theme-mist .flow-expansion{ --flow-ink: #A04A06; }
html.theme-mist .flow-harvest{ --flow-ink: #7E22CE; }
html.theme-mist .flow-accumulation{ --flow-ink: #1D4ED8; }
html.theme-mist .fortune-panel .flow-defense{ --flow-ink: #B91C1C; }
html.theme-mist #hub .fortune-panel .mc-day .mc-metric strong{ color: var(--flow-ink, var(--ink)) !important; }
html.theme-mist #hub .fortune-panel .mc-day.favorable em, html.theme-mist .mc-key{ color: #14532D !important; background: rgba(22,163,74,.14) !important; }
html.theme-mist #hub .fortune-panel .mc-day.caution :is(b, small, .mc-metric strong, em){ color: #9A3412 !important; }
html.theme-mist .mc-shortlist h3{ color: #14532D; } html.theme-mist .mc-shortlist.caution h3{ color: #991B1B; }
html.theme-mist .mc-legend{ color: var(--ink-2); }
/* 오늘의 운 점수 고리 안쪽 숫자·흐름 문구 */
html.theme-mist #hub .ring b{ color: #1B2226 !important; }
html.theme-mist #hub .tscore :is(.tflow, .dhead){ color: #74561F !important; }
html.theme-mist #hub .chips i{ color: #5E451A !important; border-color: rgba(116,86,31,.35); }
html.theme-mist #hub .actcard .one p{ color: #5E451A !important; }

/* 오행 글자: 원색 그대로는 밝은 바탕에서 흐려서 글자에만 진한 단계를 쓴다(막대·칸 물들임은 원색 유지) */
html.theme-mist #hub [style*="color:#34C26B" i]:not([style*="background:#34C26B" i]){ color: #157A3C !important; }
html.theme-mist #hub [style*="color:#F0483E" i]:not([style*="background:#F0483E" i]){ color: #B9261A !important; }
html.theme-mist #hub [style*="color:#E8B23A" i]:not([style*="background:#E8B23A" i]){ color: #8A5A00 !important; }
html.theme-mist #hub [style*="color:#3B7FF0" i]:not([style*="background:#3B7FF0" i]){ color: #1D4ED8 !important; }
html.theme-mist #hub [style*="color:#E6EAF0" i]:not([style*="background:#E6EAF0" i]){ color: #4B5563 !important; }
html.theme-mist #hub .tq .tq-el > span, html.theme-mist #hub .tq .tq-gzc{ filter: none; }
/* 원국 칸: --eci = 그 오행의 글자색 */
html.theme-mist #hub [style*="--ec:#34C26B" i]{ --eci: #157A3C; }
html.theme-mist #hub [style*="--ec:#F0483E" i]{ --eci: #B9261A; }
html.theme-mist #hub [style*="--ec:#E8B23A" i]{ --eci: #8A5A00; }
html.theme-mist #hub [style*="--ec:#3B7FF0" i]{ --eci: #1D4ED8; }
html.theme-mist #hub [style*="--ec:#E6EAF0" i]{ --eci: #4B5563; }
html.theme-mist #hub .tq .mt-natal .tq-nt-g b{ color: var(--eci, color-mix(in srgb, var(--ec) 60%, #0d1316)) !important; }
html.theme-mist #hub .tq .mt-natal .tq-nt-g small{ color: var(--eci, color-mix(in srgb, var(--ec) 60%, #0d1316)) !important; }
/* 지장간 작은 칩: 흰 글씨 대신 옅은 물감 칩 + 진한 글씨 */
html.theme-mist #hub .tq .mt-natal .tq-nt-h i{ background: color-mix(in srgb, var(--ec) 20%, #fff); color: var(--eci, #20272B) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ec) 45%, transparent); }
/* 영역 번호 낙관: 조금 더 짙은 주사 */
html.theme-mist #hub .tq-sech > span{ background: radial-gradient(120% 120% at 30% 25%, #B8412F, #9E2F23 60%, #7A2219); }
html.theme-mist #hub .tq .tq-pat.g, html.theme-mist #hub .tq .tq-nt-ss.g{ color: #14532D !important; }
html.theme-mist #hub .tq .tq-nt-ss.b{ color: #991B1B !important; }
html.theme-mist #hub .tq-fc.tq-ny :is(small, span){ color: #5E2A20 !important; }
html.theme-mist .flow-opportunity{ --flow-ink: #166534; }

/* 용어 풀이 말풍선·알림: 어두운 바탕에 먹색 글씨가 되어 안 보이던 것 → 흰 말풍선 / 먹색 알림 */
html.theme-mist #hub .tip::after, html.theme-mist .mt-natal.rd .tip.open::after, html.theme-mist .mt-natal.rd .tip:focus::after{
  background: #fff; color: #20272B; border: 1px solid rgba(52,72,80,.22); box-shadow: 0 12px 28px -10px rgba(40,62,72,.35); font-weight: 400;
}
html.theme-mist #hub .toast{ background: #26333A; border-color: #26333A; color: #F4F6F5; box-shadow: 0 12px 28px -10px rgba(20,30,36,.45); }

/* 타로 카드 앞면(남색 카드)은 카드 자체가 어두운 물건이라 원래의 밝은 글씨를 유지 */
html.theme-mist #hub .tf{ --ink: #EFEAE0; --ink-2: #CFC9BC; --ink-3: #B5AFA2; --gold: #D9BF85; --gold-l: #EBD9AA; --gold-d: #C4A86E; }
html.theme-mist #hub .tf .nm{ color: #F3EEE4 !important; } html.theme-mist #hub .tf .en{ color: #C2BCAF !important; } html.theme-mist #hub .tf .no{ color: #E2C98F !important; } html.theme-mist #hub .tf .su{ color: #D4B97D !important; }

/* 그래프(SVG) 글씨: fill 속성으로 박힌 밝은 글씨를 진하게(인생 90년 그래프·자미두수 그래프) */
html.theme-mist #hub svg text[fill="#E9E4D8" i]{ fill: #20272B; }
html.theme-mist #hub svg text[fill="#C9C2B2" i]{ fill: #3F4A50; }
html.theme-mist #hub svg text:is([fill="#8a8f9c" i], [fill="#6c7180" i]){ fill: #56626A; }
html.theme-mist #hub svg text[fill="#cdb27a" i]{ fill: #74561F; }
html.theme-mist #hub svg text[fill="#34C26B" i]{ fill: #157A3C; }
html.theme-mist #hub svg text[fill="#F0483E" i]{ fill: #B9261A; }
html.theme-mist #hub svg text[fill="#E8B23A" i]{ fill: #8A5A00; }
html.theme-mist #hub svg text[fill="#E6EAF0" i]{ fill: #4B5563; }
html.theme-mist #hub svg :is(rect, path)[fill="#E6EAF0" i]{ fill: #8F9CA4; }

/* ═══ /report/ 페이지(허브를 끼워 넣은 곳)의 바깥 요소 ═══ */
/* 상단 바: 밝은 안개 바 + 먹색 글씨 */
html.theme-mist body > header.top{ background: rgba(240,244,244,.86); border-bottom: 1px solid rgba(52,72,80,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html.theme-mist body > header.top :is(a, .brand){ color: #3F4A50; }
html.theme-mist body > header.top a:hover{ color: #B23A2C; }
/* 맨 위 표지(cover)는 원래의 밤 연출 그대로 — 어두운 바탕을 직접 깔고 글씨 변수도 원래 값으로 */
html.theme-mist #cover{ --ink: #EFEAE0; --ink-2: #BDB8AC; --ink-3: #A9A496; --gold: #CDB27A; --gold-l: #EBD9AA; --gold-d: #8E7849; background: linear-gradient(180deg, #080b0f 0%, #080b0f 82%, rgba(8,11,15,0) 100%); color: #EFEAE0; }
/* 바탕 불티(파티클 캔버스)는 밝은 바탕에서 먼지처럼 보여 옅게 */
html.theme-mist #amb{ opacity: .35; }
/* 하단 안내·사업자 정보 */
html.theme-mist body > footer, html.theme-mist .mt-legal, html.theme-mist .mt-legal :is(p, a, b){ color: #56626A; }
html.theme-mist .mt-legal{ border-color: rgba(52,72,80,.15); }

/* ═══ 2026-11-16 색 위계 다시 잡기: "글씨가 다 검다"는 의견 → 역할마다 색을 나눈다 ═══
   제목·본문 = 먹색 · 소제목 = 청먹(남색) · 라벨·머리말 = 호박 갈색 · 강조 단어 = 주홍 · 바로가기·버튼 글씨 = 주사
   좋음 = 초록 · 주의 = 빨강 · 오행·흐름·신호 = 원색 */
html.theme-mist{ --gold: #9A5B13; --gold-l: #9A5B13; --gold-d: #7C4A10; --m-head: #1E4E79; --m-em: #B4441A; --m-link: #B23A2C; --m-label: #9A5B13; }
/* 라벨·머리말(TODAY · CALENDAR · 무료 같은 작은 글씨) */
html.theme-mist #hub .kick, html.theme-mist #hub .tq-fc > small, html.theme-mist #hub .tq-today small:first-child, html.theme-mist #hub .tq :is(.tq-sub, .tq-car-now) > b:first-child{ color: var(--m-label); }
html.theme-mist #hub .tq-hero .kick{ color: #5B6B71; }
/* 소제목: 상자 제목·카드 제목은 청먹 */
html.theme-mist #hub .tq :is(.tq-box > h4, .tq-h4, .tq-card h3, .tq-card h4), html.theme-mist #hub :is(.dsec h3, .actcard h3){ color: var(--m-head); }
html.theme-mist #hub .tq-fc h4{ color: #1B2226; }
/* 문장 속 강조 단어는 주홍 */
html.theme-mist #hub .tq :is(p, li) > :is(b, strong), html.theme-mist #hub :is(.dsec, .rsec) p :is(b, strong){ color: var(--m-em); }
/* 바로가기(→ 열기·보기)와 글자 단추는 주사 */
html.theme-mist #hub .tq-fc > span:last-child, html.theme-mist #hub .tq-today a, html.theme-mist #hub .tq :is(.tq-lnk, .tq-mypage-go), html.theme-mist #hub .tq p a, html.theme-mist #hub .tq-fc .go{ color: var(--m-link); }
/* 원국 표 십성 이름(밝은 글씨로 박혀 있던 곳) */
html.theme-mist #hub .tq .mt-natal .tq-nt-t{ color: #1B2226; font-weight: 700; }
html.theme-mist #hub .tq .mt-natal .tq-nt-c.me .tq-nt-t{ color: #1B2226; }   /* 일주 칸: 붉은 글씨는 튀어서 먹색, 칸 바탕으로만 표시 */

/* ── 원국 표: 오행 칸을 원색으로 칠한다(목 초록·화 빨강·토 노랑·금 은회·수 파랑) ── */
/* 2026-11-16 원국 칸은 만트라 만세력과 같은 오행 색(목 #2FA866·화 #E8402F·토 #F5B921·금 #D9DDE5·수 #2B303C). 아래쪽을 살짝 어둡게 해 작은 글씨 대비 확보 */
html.theme-mist #hub [style*="--ec:#34C26B" i]{ --ecs: #2FA866; --ect: #FFFFFF; }
html.theme-mist #hub [style*="--ec:#F0483E" i]{ --ecs: #E8402F; --ect: #FFFFFF; }
html.theme-mist #hub [style*="--ec:#E8B23A" i]{ --ecs: #F5B921; --ect: #2A2100; }
html.theme-mist #hub [style*="--ec:#3B7FF0" i]{ --ecs: #2B303C; --ect: #FFFFFF; }
html.theme-mist #hub [style*="--ec:#E6EAF0" i]{ --ecs: #D9DDE5; --ect: #1D2230; }
html.theme-mist #hub .tq .mt-natal .tq-nt-g{ background: linear-gradient(175deg, var(--ecs, var(--ec)) 45%, color-mix(in srgb, var(--ecs, var(--ec)) 76%, #000)); border: 0; box-shadow: 0 8px 18px -10px var(--ecs, var(--ec)); }
html.theme-mist #hub .tq .mt-natal .tq-nt-g :is(b, small){ color: var(--ect, #fff) !important; text-shadow: none; }
html.theme-mist #hub .tq .mt-natal .tq-nt-c.me .tq-nt-g{ box-shadow: 0 0 0 3px #fff, 0 0 0 5px #B23A2C, 0 10px 22px -10px var(--ecs, var(--ec)); }
html.theme-mist #hub .tq .mt-natal .tq-nt-h i{ background: var(--ecs, var(--ec)); color: var(--ect, #fff) !important; box-shadow: none; }
/* 오행 비율 막대 */
html.theme-mist #hub [style*="background:#34C26B" i]{ background: #16A34A !important; }
html.theme-mist #hub [style*="background:#F0483E" i]{ background: #DC2626 !important; }
html.theme-mist #hub [style*="background:#E8B23A" i]{ background: #EAB308 !important; }
html.theme-mist #hub [style*="background:#3B7FF0" i]{ background: #2563EB !important; }
html.theme-mist #hub [style*="background:#E6EAF0" i]{ background: #94A3B8 !important; }
html.theme-mist #hub .tq .tq-eb i{ background-image: none !important; }

/* ── 흐름 그래프(대운·세운·월운 막대): 흐름 종류 원색 ── */
html.theme-mist #hub .tq .k-tg-bg{ --kc: #0E8F9A; } html.theme-mist #hub .tq .k-tg-ss{ --kc: #16A34A; } html.theme-mist #hub .tq .k-tg-jc{ --kc: #CA8A04; } html.theme-mist #hub .tq .k-tg-gw{ --kc: #2563EB; } html.theme-mist #hub .tq .k-tg-is{ --kc: #9333EA; } html.theme-mist #hub .tq .k-tg-na{ --kc: #64748B; }
html.theme-mist #hub .tq{ --k-opportunity: #EAB308; --k-expansion: #16A34A; --k-harvest: #DB2777; --k-accumulation: #0891B2; --k-volatility: #7C3AED; --k-defense: #DC2626; }
html.theme-mist #hub .tq .tq-bar.k-opportunity em{ color: #854D0E; } html.theme-mist #hub .tq .tq-bar.k-expansion em{ color: #166534; }
html.theme-mist #hub .tq .tq-bar.k-harvest em{ color: #BE185D; } html.theme-mist #hub .tq .tq-bar.k-accumulation em{ color: #0E7490; }
html.theme-mist #hub .tq .tq-bar.k-volatility em{ color: #6D28D9; } html.theme-mist #hub .tq .tq-bar.k-defense em{ color: #B91C1C; }
html.theme-mist #hub .tq .tq-bar u i{ background-image: none; }
/* 좋고 나쁨 신호(무난·주의·좋음·최고·부담): 막대·배지·그래프 모두 원색 */
html.theme-mist #hub [style*="--bc:#B3BDCF" i]{ --bc: #94A3B8 !important; } html.theme-mist #hub [style*="--bc:#FFAE2E" i]{ --bc: #F59E0B !important; }
html.theme-mist #hub [style*="--bc:#8BE6A9" i]{ --bc: #22C55E !important; } html.theme-mist #hub [style*="--bc:#1FD16A" i]{ --bc: #15803D !important; }
html.theme-mist #hub [style*="--bc:#FF5A47" i]{ --bc: #DC2626 !important; }
html.theme-mist #hub [style*="--bc:#5FDC8F" i]{ --bc: #16A34A !important; } html.theme-mist #hub [style*="--bc:#FF8A4C" i]{ --bc: #EA580C !important; }   /* 2026-11-25 3단계 등급 색(luck-grade.js) */
html.theme-mist #hub .tq-elleg{ color: var(--ink-2); } html.theme-mist #hub .tq-elth-h span, html.theme-mist #hub .tq-elth ul{ color: var(--ink-2); }
html.theme-mist #hub [style*="background:#B3BDCF" i]{ background: #94A3B8 !important; color: #0F172A !important; }
html.theme-mist #hub [style*="background:#FFAE2E" i]{ background: #F59E0B !important; color: #3B2300 !important; }
html.theme-mist #hub [style*="background:#8BE6A9" i]{ background: #22C55E !important; color: #052E16 !important; }
html.theme-mist #hub [style*="background:#1FD16A" i]{ background: #15803D !important; color: #FFFFFF !important; }
html.theme-mist #hub [style*="background:#FF5A47" i]{ background: #DC2626 !important; color: #FFFFFF !important; }
html.theme-mist #hub svg [fill="#B3BDCF" i]{ fill: #94A3B8; } html.theme-mist #hub svg [fill="#FFAE2E" i]{ fill: #F59E0B; }
html.theme-mist #hub svg [fill="#8BE6A9" i]{ fill: #22C55E; } html.theme-mist #hub svg [fill="#1FD16A" i]{ fill: #15803D; }
html.theme-mist #hub svg [fill="#FF5A47" i]{ fill: #DC2626; }
html.theme-mist #hub svg :is(rect, path, circle)[fill="#34C26B" i]{ fill: #16A34A; } html.theme-mist #hub svg :is(rect, path, circle)[fill="#F0483E" i]{ fill: #DC2626; }
html.theme-mist #hub svg :is(rect, path, circle)[fill="#E8B23A" i]{ fill: #EAB308; } html.theme-mist #hub svg :is(rect, path, circle)[fill="#3B7FF0" i]{ fill: #2563EB; }
/* 원국 신살 칩: 도움 초록·주의 빨강을 더 또렷하게 */
html.theme-mist #hub .tq .tq-nt-ss.g{ background: #DCFCE7; color: #14532D !important; }
html.theme-mist #hub .tq .tq-nt-ss.b{ background: #FEE2E2; color: #991B1B !important; }
/* 유료 배지(주제 카드) */
html.theme-mist #hub .tq-acc{ color: #fff; }
html.theme-mist #hub .tq-acc.paid{ background: #6D28D9; color: #fff; }
/* 미래 막대 옅게 하기는 원색이 죽지 않게 약하게 */
html.theme-mist #hub .tq .tq-bar.now ~ .tq-bar:not(.sel){ opacity: .9; filter: saturate(.9); }
html.theme-mist #hub .tq .tq-bar.now ~ .tq-bar ~ .tq-bar ~ .tq-bar:not(.sel){ opacity: .78; filter: saturate(.8); }
html.theme-mist #hub .tq .tq-bar.now ~ .tq-bar ~ .tq-bar ~ .tq-bar ~ .tq-bar ~ .tq-bar:not(.sel){ opacity: .66; filter: saturate(.7); }
html.theme-mist #hub .tq .tq-dc b{ color: #1B2226; }
html.theme-mist #hub .tq .tq-sj b{ color: #9A3412; }

/* ═══ 강조 단어 좋음·나쁨 색(2026-11-16) — 좋음 초록 · 나쁨 빨강 · 중립 청먹. 숫자 칸·제목은 그대로 ═══ */
html.theme-mist{ --m-em: #1E4E79; --m-good: #15803D; --m-bad: #B91C1C; }
html.theme-mist #hub :is(p, li, .tq-zw-row) :is(b, strong).mt-good{ color: var(--m-good); }
html.theme-mist #hub :is(p, li, .tq-zw-row) :is(b, strong).mt-bad{ color: var(--m-bad); }
html.theme-mist #hub :is(p, li, .tq-zw-row) :is(b, strong).mt-mid{ color: var(--m-em); }
html.theme-mist #hub .rsec.one :is(h4, p){ color: #7C4A10; }

/* ═══ 2026-11-16 일진 캘린더·오늘의 운·무료 타로: 의미별 색 구분 ═══ */
/* 날짜 칸: 위쪽 흐름 색 띠 + 진한 물들임 + 흐름 이름 색 글씨, 아래 배지(보통 회색·추천 초록·주의 빨강) */
html.theme-mist #hub .fortune-panel .mc-day{ background: linear-gradient(180deg, color-mix(in srgb, var(--flow) 20%, #fff), color-mix(in srgb, var(--flow) 7%, #fff)) !important; border: 1px solid color-mix(in srgb, var(--flow) 38%, transparent) !important; box-shadow: inset 0 4px 0 var(--flow), 0 4px 12px -8px rgba(40,62,72,.35); }
html.theme-mist #hub .fortune-panel .mc-day .mc-metric span{ color: var(--flow-ink, var(--ink-2)) !important; font-weight: 700; }
html.theme-mist #hub .fortune-panel .mc-day em{ background: #E2E8F0 !important; color: #334155 !important; font-weight: 600; }
html.theme-mist #hub .fortune-panel .mc-day.favorable em{ background: #15803D !important; color: #fff !important; }
html.theme-mist #hub .fortune-panel .mc-day.caution em{ background: #EA580C !important; color: #fff !important; }
html.theme-mist #hub .fortune-panel .mc-day.favorable{ border-bottom: 3px solid #15803D !important; }
html.theme-mist #hub .fortune-panel .mc-day.caution, html.theme-mist #hub .fortune-panel .mc-day.caution.selected{ background: linear-gradient(180deg, #FED7AA, #FFF7ED) !important; box-shadow: inset 0 4px 0 #EA580C, 0 4px 12px -8px rgba(194,65,12,.4); }
html.theme-mist #hub .fortune-panel .mc-day.caution .mc-metric span{ color: #9A3412 !important; }
html.theme-mist .mc-legend span{ font-weight: 600; }
html.theme-mist .mc-legend .flow-opportunity, html.theme-mist .mc-legend i.flow-opportunity + *{ color: #15803D; }
/* 순풍이 강한 날·리스크 관리일 목록 */
html.theme-mist .mc-shortlist{ background: #F0FDF4; border: 1px solid #86EFAC; box-shadow: inset 0 4px 0 #16A34A; }
html.theme-mist .mc-shortlist.caution{ background: #FEF2F2; border-color: #FCA5A5; box-shadow: inset 0 4px 0 #DC2626; }
html.theme-mist #hub .fortune-panel .mc-shortlist .mc-pick b{ color: #166534 !important; }
html.theme-mist #hub .fortune-panel .mc-shortlist.caution .mc-pick b{ color: #991B1B !important; }
html.theme-mist #hub .fortune-panel .mc-pick{ border-left: 3px solid #16A34A !important; }
html.theme-mist #hub .fortune-panel .mc-shortlist.caution .mc-pick{ border-left-color: #DC2626 !important; }
html.theme-mist .mc-month-note{ border-left: 3px solid #2563EB; }

/* 오늘의 운: 흐름 문구·분야 카드는 등급별 색(좋음 초록·무난 청회·낮음 빨강) */
html.theme-mist #hub .tscore .tflow[data-lv]{ display: inline-block; padding: 4px 14px; border-radius: 999px; font-weight: 700; }
html.theme-mist #hub .tscore .tflow[data-lv="good"]{ background: #DCFCE7; color: #166534 !important; }
html.theme-mist #hub .tscore .tflow[data-lv="mid"]{ background: #E2E8F0; color: #334155 !important; }
html.theme-mist #hub .tscore .tflow[data-lv="bad"]{ background: #FEE2E2; color: #991B1B !important; }
html.theme-mist #hub .tscore .dhead{ color: #1E4E79 !important; }
html.theme-mist #hub .dc[data-lv]{ border-top: 4px solid var(--lv); }
html.theme-mist #hub .dc[data-lv="good"]{ --lv: #16A34A; --lvi: #166534; } html.theme-mist #hub .dc[data-lv="mid"]{ --lv: #64748B; --lvi: #334155; } html.theme-mist #hub .dc[data-lv="bad"]{ --lv: #DC2626; --lvi: #991B1B; }
html.theme-mist #hub .dc[data-lv] > span{ color: var(--lvi); font-weight: 700; }
html.theme-mist #hub .dc[data-lv] .bar{ background: rgba(52,72,80,.1); }
html.theme-mist #hub .dc[data-lv] .bar i{ background: var(--lv) !important; }
html.theme-mist #hub .dc small, html.theme-mist #hub details.dd summary small{ color: #64748B; letter-spacing: .12em; }
/* 분야별 자세히 보기: 등급에 따라 왼쪽 띠 색 */
html.theme-mist #hub details.dd{ border-left: 4px solid #94A3B8; }
html.theme-mist #hub details.dd:has(summary b.mt-good){ border-left-color: #16A34A; }
html.theme-mist #hub details.dd:has(summary b.mt-bad){ border-left-color: #DC2626; }
html.theme-mist #hub details.dd summary b.mt-good{ color: #166534; } html.theme-mist #hub details.dd summary b.mt-bad{ color: #991B1B; } html.theme-mist #hub details.dd summary b.mt-mid{ color: #1B2226; }
html.theme-mist #hub details.dd summary em{ color: var(--ink-2); }
html.theme-mist #hub .ddb .gc .g h5{ color: #166534; } html.theme-mist #hub .ddb .gc .c h5{ color: #991B1B; }
html.theme-mist #hub .ddb .gc .g{ background: #F0FDF4; border-color: #BBF7D0; } html.theme-mist #hub .ddb .gc .c{ background: #FEF2F2; border-color: #FECACA; }
/* 행동 처방: 하면 좋은 것 초록 칩 · 미루면 좋은 것 빨강 칩 */
html.theme-mist #hub .actcard .chips.tg i{ background: #DCFCE7 !important; border-color: #86EFAC !important; color: #14532D !important; }
html.theme-mist #hub .actcard .chips.tg.avoid i{ background: #FEE2E2 !important; border-color: #FCA5A5 !important; color: #7F1D1D !important; }
html.theme-mist #hub .actcard h5{ color: #166534; } html.theme-mist #hub .actcard h5 + .chips.avoid, html.theme-mist #hub .actcard .chips.tg + h5{ color: #991B1B; }
html.theme-mist #hub .actcard .one p{ color: #1E4E79 !important; }

/* 무료 타로 풀이 상자: 갈래마다 왼쪽 띠·제목 색·옅은 바탕 */
html.theme-mist #hub .rsec[data-sec]{ border-left: 4px solid var(--sc); background: color-mix(in srgb, var(--sc) 5%, #fff); }
html.theme-mist #hub .rsec[data-sec] > h4{ color: var(--sci) !important; font-weight: 700; letter-spacing: .08em; }
html.theme-mist #hub .rsec[data-sec="art"]{ --sc: #B45309; --sci: #92400E; }
html.theme-mist #hub .rsec[data-sec="flow"]{ --sc: #2563EB; --sci: #1D4ED8; }
html.theme-mist #hub .rsec[data-sec="good"]{ --sc: #16A34A; --sci: #166534; }
html.theme-mist #hub .rsec[data-sec="warn"]{ --sc: #DC2626; --sci: #991B1B; }
html.theme-mist #hub .rsec[data-sec="todo"]{ --sc: #7C3AED; --sci: #6D28D9; }
html.theme-mist #hub .rsec[data-sec="story"]{ --sc: #B23A2C; --sci: #9A2F23; }
html.theme-mist #hub .rsec[data-sec] blockquote, html.theme-mist #hub .rsec[data-sec] .tip-line, html.theme-mist #hub .rsec[data-sec] p.today{ color: #92400E; }
html.theme-mist #hub .rsec[data-sec="todo"] li::marker{ color: #7C3AED; }
html.theme-mist #hub .rsec[data-sec="good"] li::marker{ color: #16A34A; } html.theme-mist #hub .rsec[data-sec="warn"] li::marker{ color: #DC2626; }
html.theme-mist #hub .rhead{ color: #1B2226; }
html.theme-mist #hub .rsum{ color: var(--ink-2); }
html.theme-mist #hub .bridge :is(h4, small, .kick){ color: #9A2F23; }
html.theme-mist #hub .bridge p{ color: #1E4E79; }
html.theme-mist #hub .rsec[data-sec] ul.dl li::before{ background: var(--sc); width: 6px; height: 6px; }
html.theme-mist #hub .ddb .gc .g ul.dl li::before{ background: #16A34A; } html.theme-mist #hub .ddb .gc .c ul.dl li::before{ background: #DC2626; }
html.theme-mist #hub #screen .fortune-panel .mc-day.caution em{ background: #EA580C !important; color: #fff !important; }
html.theme-mist #hub #screen .fortune-panel .mc-day.favorable em{ background: #15803D !important; color: #fff !important; }
html.theme-mist #hub .dc small, html.theme-mist #hub details.dd summary small{ color: #55657A; }

/* 점수 고리: 점수 등급별 색(최고 진초록·좋음 초록·무난 회청·주의 주황·부담 빨강), 숫자도 같은 계열 */
html.theme-mist #hub .ring[data-lv]{ background: conic-gradient(var(--rc) calc(var(--p) * 1%), rgba(52,72,80,.12) 0); }
html.theme-mist #hub .ring[data-lv="good"]{ --rc: #22C55E; --rci: #166534; }
html.theme-mist #hub .ring[data-lv="mid"]{ --rc: #64748B; --rci: #334155; }
html.theme-mist #hub .ring[data-lv="bad"]{ --rc: #EA580C; --rci: #9A3412; }
html.theme-mist #hub .ring[data-lv] b{ color: var(--rci) !important; }

/* 자미두수 그래프(10년 대한 흐름·해마다 흐름): 다섯 단계를 신호 색으로 — 매우 약함 빨강 · 약함 주황 · 보통 회청 · 강함 초록 · 매우 강함 진초록 (원래 '강함'이 보라라 좋고 나쁨이 안 읽혔다) */
html.theme-mist #hub svg :is(rect, path, circle)[fill="#EB6B5B" i]{ fill: #DC2626; }
html.theme-mist #hub svg :is(rect, path, circle)[fill="#E0915A" i]{ fill: #F59E0B; }
html.theme-mist #hub svg :is(rect, path, circle)[fill="#8C93A3" i]{ fill: #94A3B8; }
html.theme-mist #hub svg :is(rect, path, circle)[fill="#8E7CF0" i]{ fill: #22C55E; }
html.theme-mist #hub svg :is(rect, path, circle)[fill="#2FBF71" i]{ fill: #15803D; }
html.theme-mist #hub svg :is(text, tspan)[fill="#EB6B5B" i]{ fill: #B91C1C; }
html.theme-mist #hub svg :is(text, tspan)[fill="#E0915A" i]{ fill: #B45309; }
html.theme-mist #hub svg :is(text, tspan)[fill="#8E7CF0" i]{ fill: #15803D; }
html.theme-mist #hub svg :is(text, tspan)[fill="#2FBF71" i]{ fill: #166534; }
html.theme-mist #hub [style*="#8E7CF0" i]{ --zw: #22C55E; }
html.theme-mist #hub svg :is(text, tspan)[fill="#7FD3A0" i]{ fill: #15803D; }   /* 화록(초록) 글씨 — 원래 연초록이라 밝은 바탕에서 흐렸다 */

/* 원국 표 신살 칩: 만트라 만세력과 같은 규칙 — 길신 = 연초록 바탕·초록 글씨, 참고 신살 = 연붉은 바탕·붉은 글씨, 공망 = 먹색. 좋고 나쁨 표시가 아니다(글씨만 대비 위해 한 단계 진하게) */
html.theme-mist #hub #tq .tq-nt-ss{ font-weight: 700; border: 0; padding: 2px 7px; border-radius: 4px; box-shadow: none; }
html.theme-mist #hub #tq .tq-nt-ss.g{ background: #EEF6F1; color: #2F6B4B !important; font-weight: 600; }   /* 길신: 만세력 초록 계열, 한층 차분하게 */
html.theme-mist #hub #tq .tq-nt-ss.b{ background: #F8EEEE; color: #8E4048 !important; font-weight: 600; }   /* 참고 신살: 만세력 붉은 계열, 튀지 않게 장미 먹색 */
html.theme-mist #hub #tq .tq-nt-ss.gm{ background: #20272B; color: #F4F6F5 !important; }
/* 만세력 오행 색 그대로면 작은 흰 글씨(목·화 지장간 칩, 칸 아래 작은 이름)가 약하다 → 칩만 같은 색을 조금 어둡게, 작은 이름엔 옅은 그림자 */
html.theme-mist #hub .tq .mt-natal .tq-nt-h i.el0{ background: color-mix(in srgb, #2FA866 76%, #000); }
html.theme-mist #hub .tq .mt-natal .tq-nt-h i.el1{ background: color-mix(in srgb, #E8402F 86%, #000); }
html.theme-mist #hub .tq .mt-natal .tq-nt-g:is(.el0, .el1, .el4) small{ text-shadow: 0 1px 2px rgba(0,0,0,.45); }
html.theme-mist #hub .tq .mt-natal .tq-nt-c.me{ background: linear-gradient(180deg, rgba(178,58,44,.05), rgba(178,58,44,.015)); }

/* ═══ 2026-11-17 타임라인 가독성 다듬기 — 글자의 78%가 13px 이하·본문 한 줄 60자 → 본문 15.5px·줄 간격 1.8·한 줄 약 44자, 작은 글씨 최소 13px, 간격 넓게 ═══ */
html.theme-mist #hub #tq{ font-size: 15.5px; line-height: 1.8; }
html.theme-mist #hub #tq :is(p, li){ font-size: 15.5px; line-height: 1.8; }
html.theme-mist #hub #tq :is(.tq-box, .tq-card, .tq-body, .tq-sec) > :is(p, ul, ol){ max-width: 44em; }
html.theme-mist #hub #tq .tq-sub, html.theme-mist #hub #tq .tq-sub p{ font-size: 14px; line-height: 1.75; color: #46505A; }
html.theme-mist #hub #tq :is(small, .tq-nt-s, .tq-note){ font-size: max(13px, .82rem); }
html.theme-mist #hub #tq .tq-box{ padding: 20px 20px 18px; margin-top: 16px; }
html.theme-mist #hub #tq .tq-box > h4, html.theme-mist #hub #tq .tq-h4{ font-size: 1.08rem; margin-bottom: 12px; }
html.theme-mist #hub #tq .tq-sec{ padding-top: 46px; }
html.theme-mist #hub #tq .tq-sech h2{ font-size: clamp(1.45rem, 3.6vw, 1.75rem); }
html.theme-mist #hub #tq .tq-sech p{ font-size: 14.5px; }
/* 원국 표 칸 글씨 */
html.theme-mist #hub #tq .mt-natal .tq-nt-t{ font-size: 15px; }
html.theme-mist #hub #tq .mt-natal .tq-nt-l{ font-size: 13px; }
html.theme-mist #hub #tq .mt-natal .tq-nt-h{ font-size: 13.5px; }
html.theme-mist #hub #tq .mt-natal .tq-nt-ss{ font-size: 12.5px; }
/* 막대 그래프 아래 글자: 너무 작던 9~11px → 12px */
html.theme-mist #hub #tq .tq-bar :is(em, small, span){ font-size: max(12px, 1em); }
/* 휴대폰: 원국 표·막대는 칸이 좁아 조금 줄인다 */
@media (max-width: 720px){
  html.theme-mist #hub #tq :is(p, li){ font-size: 15px; }
  html.theme-mist #hub #tq .mt-natal .tq-nt-t{ font-size: 13px; } html.theme-mist #hub #tq .mt-natal .tq-nt-l{ font-size: 11.5px; }
  html.theme-mist #hub #tq .mt-natal .tq-nt-h{ font-size: 12px; } html.theme-mist #hub #tq .mt-natal .tq-nt-ss{ font-size: 11px; }
  html.theme-mist #hub #tq .tq-box{ padding: 16px 14px 14px; }
}
/* 가독성 2: 남은 작은 글씨(신호 배지 10px·지표 이름 11px 등)와 긴 줄 */
html.theme-mist #hub #tq p, html.theme-mist #hub #tq .tq-sub{ max-width: 46em; }
html.theme-mist #hub #tq .tq-sech p, html.theme-mist #hub #tq .tq-hero p{ max-width: none; }
html.theme-mist #hub #tq .tq-sgb{ font-size: 11.5px; padding: 1px 6px; }
html.theme-mist #hub #tq :is(.tq-dc, .tq-zw-row, .tq-gr, .tq-mh, .tq-trow) > span{ font-size: 13px; }
html.theme-mist #hub #tq .tq-bar > b{ font-size: 13px; }
html.theme-mist #hub #tq .tq-ychip{ font-size: 13px; }

/* ═══ 2026-11-17 일진 캘린더·오늘의 운·무료 타로 가독성(타임라인과 같은 기준: 본문 15~16px·줄 1.75·작은 글씨 최소 13px, 날짜 칸만 좁아 12px) ═══ */
/* 월운 그래프·일진 캘린더 패널 */
html.theme-mist .fortune-panel .sub{ font-size: 15.5px; line-height: 1.75; }
html.theme-mist .fortune-panel .dsub, html.theme-mist .mc-shortlist .dsub{ font-size: 14px; line-height: 1.7; }
html.theme-mist .fortune-panel .kick, html.theme-mist #hub .tscore .kick{ font-size: 13px; letter-spacing: .14em; }
html.theme-mist .fc-method, html.theme-mist .fc-method p{ font-size: 14px; line-height: 1.75; }
html.theme-mist .fc-method summary{ font-size: 14px; }
html.theme-mist .mc-legend{ font-size: 13px; }
html.theme-mist .mc-month-note{ font-size: 15px; line-height: 1.75; }
html.theme-mist .fc-controls label{ font-size: 13px; } html.theme-mist .fc-controls select{ font-size: 16px; }
html.theme-mist .mc-week{ font-size: 13px; }
html.theme-mist #hub .fortune-panel .mc-bar b{ font-size: 13px; } html.theme-mist #hub .fortune-panel .mc-bar span{ font-size: 12.5px; } html.theme-mist #hub .fortune-panel .mc-bar small{ font-size: 11px; }
html.theme-mist #hub .fortune-panel .mc-day b{ font-size: 15px; }
html.theme-mist #hub .fortune-panel .mc-day small{ font-size: 12px; }
html.theme-mist #hub .fortune-panel .mc-day .mc-metric strong{ font-size: 21px; }
html.theme-mist #hub .fortune-panel .mc-day .mc-metric span{ font-size: 11.5px; }
html.theme-mist #hub .fortune-panel .mc-day em{ font-size: 11px; }
html.theme-mist .mc-key{ font-size: 12px; }
html.theme-mist .mc-shortlist h3{ font-size: 17px; }
html.theme-mist #hub .fortune-panel .mc-pick b{ font-size: 15px; } html.theme-mist #hub .fortune-panel .mc-pick :is(span, small){ font-size: 13.5px; }
/* 오늘의 운 아래 */
html.theme-mist #hub .tscore .sub{ font-size: 15.5px; } html.theme-mist #hub .tscore .dhead{ font-size: 18px; }
html.theme-mist #hub .tscore .note{ font-size: 14px; }
html.theme-mist #hub .dc small, html.theme-mist #hub details.dd summary small{ font-size: 12.5px; }
html.theme-mist #hub .dc > b{ font-size: 18px; } html.theme-mist #hub .dc > span{ font-size: 14px; }
html.theme-mist #hub .dsec h3{ font-size: 18px; } html.theme-mist #hub .dsec p{ font-size: 15.5px; line-height: 1.8; }
html.theme-mist #hub .dsec .dsub{ font-size: 14px; }
html.theme-mist #hub details.dd summary b{ font-size: 17px; } html.theme-mist #hub details.dd summary em{ font-size: 14.5px; }
html.theme-mist #hub .ddb p, html.theme-mist #hub .ddb li{ font-size: 15px; line-height: 1.75; }
html.theme-mist #hub :is(.ddb h5, .actcard h5){ font-size: 13.5px; letter-spacing: .1em; }
html.theme-mist #hub .actcard h3{ font-size: 18px; }
html.theme-mist #hub .actcard .chips i{ font-size: 14px; padding: 5px 12px; }
html.theme-mist #hub .actcard .one small{ font-size: 13px; } html.theme-mist #hub .actcard .one p{ font-size: 18px; }
html.theme-mist #hub p.dis{ font-size: 13.5px; line-height: 1.7; color: #56626A; }
/* 무료 타로 */
html.theme-mist #hub .hero .kick, html.theme-mist #hub .rcap .kick{ font-size: 13px; }
html.theme-mist #hub .tm b{ font-size: 17px; } html.theme-mist #hub .tm small{ font-size: 14px; }
html.theme-mist #hub .chipbtn{ font-size: 14px; } html.theme-mist #hub .chipbtn small{ font-size: 12.5px; }
html.theme-mist #hub .tsp + p, html.theme-mist #hub .tsp ~ p{ font-size: 14px; }
html.theme-mist #hub .rsec > h4{ font-size: 13.5px; }
html.theme-mist #hub .rsec :is(p, li){ font-size: 16px; line-height: 1.8; }
html.theme-mist #hub .rsum{ font-size: 16px; line-height: 1.8; }
@media (max-width: 480px){
  html.theme-mist #hub .fortune-panel .mc-day b{ font-size: 13px; } html.theme-mist #hub .fortune-panel .mc-day small{ font-size: 11px; }
  html.theme-mist #hub .fortune-panel .mc-day .mc-metric strong{ font-size: 18px; } html.theme-mist #hub .fortune-panel .mc-day .mc-metric span{ font-size: 10.5px; }
  html.theme-mist #hub .fortune-panel .mc-day em{ font-size: 10px; }
}
html.theme-mist #hub .fortune-panel .kick{ font-size: 13px; }
html.theme-mist #hub .chips i{ font-size: 14px; }

/* ═══ 2026-11-17 경계 구분(읽기 편하게) — 바탕 < 영역 패널 < 흰 카드 세 단계, 또렷한 테두리, 떠 있던 그래프를 카드로 ═══ */
html.theme-mist{ --bg: #DFE6E8; --mist-bd: #C5D0D5; --mist-bd2: #DCE3E6; }
html.theme-mist body.hubpage, html.theme-mist body{ background: #DFE6E8; }
/* 영역 1~6: 큰 패널로 감싸 영역끼리 확실히 떨어뜨린다 */
html.theme-mist #hub #tq .tq-sec{ background: rgba(255,255,255,.5); border: 1px solid var(--mist-bd); border-radius: 22px; padding: 10px 22px 28px; margin-top: 30px; box-shadow: 0 18px 40px -30px rgba(30,45,52,.45); }
html.theme-mist #hub #tq .tq-sec + .tq-sec{ background: rgba(255,255,255,.5); }
html.theme-mist #hub #tq .tq-sech{ padding: 14px 0 14px; margin-bottom: 18px; border-bottom: 2px solid rgba(178,58,44,.22); }
/* 카드 테두리: 투명한 옅은 선 → 또렷한 청회 선 */
html.theme-mist #hub #tq :is(.tq-box, .tq-card, .tq-fc, .tq-today, .tq-metric, .tq-ten, .tq-mypage, .mt-natal, details.tq-car){ border-color: var(--mist-bd) !important; background: #FFFFFF; }
html.theme-mist #hub #tq .tq-box{ margin-top: 18px; }
html.theme-mist #hub #tq .tq-card{ margin-top: 18px; }
/* 상자 제목: 아래 가는 선으로 본문과 나눈다 */
html.theme-mist #hub #tq .tq-box > h4{ padding-bottom: 10px; border-bottom: 1px solid var(--mist-bd2); margin-bottom: 14px; }
/* 그래프 묶음: 소제목(h4) → 설명 → 그래프(또는 그래프 → 설명)를 한 장의 흰 카드처럼 잇는다 */
html.theme-mist #hub #tq .tq-body > .tq-h4{ background: #FFFFFF; border: 1px solid var(--mist-bd); border-bottom: 0; border-radius: 16px 16px 0 0; margin: 26px 0 0; padding: 16px 20px 6px; display: flex; align-items: center; gap: 10px; }
html.theme-mist #hub #tq .tq-body > .tq-h4::before{ content: ''; width: 4px; height: 1.05em; border-radius: 2px; background: #B23A2C; flex: none; }
html.theme-mist #hub #tq .tq-body > .tq-h4 + .tq-sub{ background: #FFFFFF; border: 1px solid var(--mist-bd); border-top: 0; border-bottom: 0; margin: 0; padding: 0 20px 8px; max-width: none; }
html.theme-mist #hub #tq .tq-body > :is(.tq-h4 + :is(.tq-chart, .tq-life), .tq-h4 + .tq-sub + :is(.tq-chart, .tq-life)){ background: #FFFFFF; border: 1px solid var(--mist-bd); border-top: 0; border-radius: 0 0 16px 16px; margin: 0 0 6px; padding: 14px 16px 16px; box-shadow: 0 14px 28px -24px rgba(30,45,52,.45); }
/* 그래프 다음에 설명이 오는 경우(월별 흐름): 그래프는 가운데, 설명이 카드 바닥 */
html.theme-mist #hub #tq .tq-body > .tq-h4 + .tq-chart:has(+ .tq-sub){ border-radius: 0; border-bottom: 0; margin-bottom: 0; box-shadow: none; }
html.theme-mist #hub #tq .tq-body > .tq-h4 + .tq-chart + .tq-sub{ background: #FFFFFF; border: 1px solid var(--mist-bd); border-top: 1px dashed var(--mist-bd2); border-radius: 0 0 16px 16px; margin: 0 0 6px; padding: 10px 20px 14px; max-width: none; }
/* 앞으로 10년 표: 줄마다 점선으로 나눈다 */
html.theme-mist #hub #tq .tq-trow + .tq-trow{ border-top: 1px dashed var(--mist-bd2); padding-top: 10px; margin-top: 10px; }
/* 자미두수 쉽게 보기 줄: 왼쪽 막대로 한 줄씩 구분 */
html.theme-mist #hub #tq .tq-zw-row{ background: #F5F8F9; border-left: 3px solid var(--mist-bd); border-radius: 0 10px 10px 0; }
html.theme-mist #hub #tq .tq-zw-row + .tq-zw-row{ margin-top: 10px; }
/* 오늘의 분야별 흐름 칩·지표 칩은 흰 바탕 + 또렷한 선 */
html.theme-mist #hub #tq :is(.tq-fchip, .tq-mchip, .tq-ychip):not(.on){ border-color: var(--mist-bd) !important; background: #FFFFFF !important; }
/* 운은 어떻게 작동하나요 단계 목록 */
html.theme-mist #hub #tq .tq-car-stack > li + li{ border-top: 1px dashed var(--mist-bd2); padding-top: 12px; margin-top: 12px; }
@media (max-width: 720px){
  html.theme-mist #hub #tq .tq-sec{ padding: 6px 12px 20px; border-radius: 16px; margin-top: 20px; }
  html.theme-mist #hub #tq .tq-body > .tq-h4{ padding: 14px 14px 6px; } html.theme-mist #hub #tq .tq-body > .tq-h4 + .tq-sub{ padding: 0 14px 8px; }
}

/* ═══ 2026-11-17 경계 구분 — 일진 캘린더·오늘의 운·무료 타로(타임라인과 같은 세 단계: 바탕 < 영역 패널 < 흰 카드, 또렷한 청회 테두리) ═══ */
/* 캘린더 패널: 흰 카드 + 또렷한 테두리, 안쪽 그래프·보기 선택은 옅은 회색 칸으로 한 번 더 나눈다 */
html.theme-mist .fortune-panel{ background: #FFFFFF; border: 1px solid var(--mist-bd); box-shadow: 0 18px 40px -30px rgba(30,45,52,.45); }
html.theme-mist .fortune-panel .mc-nav{ padding-bottom: 14px; border-bottom: 1px solid var(--mist-bd2); }
html.theme-mist .mc-chart{ border: 1px solid var(--mist-bd2); border-radius: 14px; background-color: #F7F9FA; padding: 22px 10px 46px; }
html.theme-mist .fc-controls{ background: #F5F8F9; border-color: var(--mist-bd2); }
html.theme-mist .fc-method{ border-top: 1px dashed var(--mist-bd2); padding-top: 12px; }
html.theme-mist .mc-month-note{ background: #FFFFFF; border: 1px solid var(--mist-bd); border-left: 4px solid #2563EB; border-radius: 12px; }
html.theme-mist #hub .fortune-panel .mc-pick{ border-color: var(--mist-bd) !important; }
/* 오늘의 운 지수: 흰 카드로 감싼다 */
html.theme-mist #hub #screen .tscore{ background: #FFFFFF; border: 1px solid var(--mist-bd); border-radius: 22px; padding: 22px 18px 20px; margin-top: 24px; box-shadow: 0 18px 40px -30px rgba(30,45,52,.45); }
html.theme-mist #hub #screen .dgrid .dc{ border: 1px solid var(--mist-bd) !important; }
/* 이날의 핵심·분야별 자세히 보기·왜 이런 결과가: 영역 패널 + 제목 붉은 막대 */
html.theme-mist #hub #screen .dsec{ background: rgba(255,255,255,.5); border: 1px solid var(--mist-bd); border-radius: 20px; padding: 18px 18px 20px; margin-top: 20px; }
html.theme-mist #hub #screen .dsec > h3{ display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--mist-bd2); margin-bottom: 12px; }
html.theme-mist #hub #screen .dsec > h3::before{ content: ''; width: 4px; height: 1.05em; border-radius: 2px; background: #B23A2C; flex: none; }
html.theme-mist #hub #screen details.dd{ background: #FFFFFF !important; border-top: 1px solid var(--mist-bd); border-right: 1px solid var(--mist-bd); border-bottom: 1px solid var(--mist-bd); }
html.theme-mist #hub #screen details.dd + details.dd{ margin-top: 10px; }
html.theme-mist #hub #screen details.dd[open] .ddb{ border-top: 1px dashed var(--mist-bd2); }
html.theme-mist #hub #screen :is(.actcard, .nextc){ border: 1px solid var(--mist-bd); background: #FFFFFF; box-shadow: 0 18px 40px -30px rgba(30,45,52,.45); }
html.theme-mist #hub #screen .actcard h3{ padding-bottom: 10px; border-bottom: 1px solid var(--mist-bd2); }
html.theme-mist #hub #screen .actcard .one{ border-top: 1px dashed var(--mist-bd2); }

/* 무료 타로: 질문 카드·배열 칩 또렷하게, 결과는 요약 패널 + 풀이 상자 흰 카드 */
html.theme-mist #hub #screen .tm{ border: 1px solid var(--mist-bd) !important; background: #FFFFFF !important; }
html.theme-mist #hub #screen .tm + .tm{ margin-top: 10px; }
html.theme-mist #hub #screen .chipbtn:not([aria-pressed="true"]){ border-color: var(--mist-bd) !important; background: #FFFFFF !important; }
html.theme-mist #hub #screen .rsum{ background: rgba(255,255,255,.65); border: 1px solid var(--mist-bd); border-radius: 16px; padding: 14px 18px; max-width: none; }
html.theme-mist #hub #screen .rsec{ background: #FFFFFF !important; border: 1px solid var(--mist-bd) !important; border-left-width: 4px !important; border-left-color: var(--sc, var(--mist-bd)) !important; border-radius: 14px; padding: 16px 18px; box-shadow: 0 14px 28px -24px rgba(30,45,52,.45); }
html.theme-mist #hub #screen .rsec + .rsec{ margin-top: 14px; }
html.theme-mist #hub #screen .rsec > h4{ padding-bottom: 8px; border-bottom: 1px solid var(--mist-bd2); margin-bottom: 10px; }
html.theme-mist #hub #screen .bridge{ border: 1px solid var(--mist-bd) !important; }

/* ═══ 2026-11-17 트렌디하게 — 구조(세 단계 경계)는 그대로, 표현만: 유리 패널·장(CHAPTER) 머리말·겹 그림자 카드·알약 칩·유리 바로가기 막대 ═══ */
html.theme-mist{
  --tr-r-card: 18px; --tr-r-panel: 28px;
  --tr-card: linear-gradient(180deg, #FFFFFF 0%, #FBFCFC 100%);
  --tr-sh-card: 0 1px 0 rgba(255,255,255,.95) inset, 0 1px 2px rgba(20,35,42,.05), 0 14px 34px -20px rgba(20,35,42,.30);
  --tr-sh-lift: 0 1px 0 rgba(255,255,255,.95) inset, 0 2px 4px rgba(20,35,42,.06), 0 22px 44px -22px rgba(20,35,42,.38);
  --tr-ring: 0 0 0 1px rgba(197,208,213,.95);
  --tr-accent: linear-gradient(90deg, #B23A2C 0%, #D7894A 38%, rgba(215,137,74,0) 78%);
}
/* 바탕: 옅은 청회에 아주 은은한 색 안개 두 점(붉은빛·푸른빛) */
html.theme-mist body.hubpage, html.theme-mist body{
  background: radial-gradient(60% 40% at 8% 18%, rgba(178,58,44,.06), transparent 70%), radial-gradient(55% 45% at 96% 62%, rgba(37,99,235,.06), transparent 70%), #DFE6E8;
  background-attachment: fixed;
}

/* ── 영역 패널: 유리(반투명 + 흐림) · 위쪽 붉은→금빛 띠 · 둥근 큰 모서리 ── */
html.theme-mist #hub #tq{ counter-reset: tqsec; }
html.theme-mist #hub #tq .tq-sec{
  position: relative; counter-increment: tqsec;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.52));
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--tr-r-panel);
  box-shadow: var(--tr-ring), 0 30px 60px -40px rgba(20,35,42,.45);
  padding: 14px 26px 30px; overflow: clip;
}
html.theme-mist #hub #tq .tq-sec::after{ content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--tr-accent); pointer-events: none; }
html.theme-mist #hub #tq .tq-sec + .tq-sec{ background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.52)); }

/* ── 영역 머리: CHAPTER 0n 머리말 + 둥근 사각 낙관 번호(그라데이션·은은한 빛) ── */
html.theme-mist #hub #tq .tq-sech{ border-bottom: 1px solid rgba(197,208,213,.7); padding: 18px 0 16px; align-items: center; }
html.theme-mist #hub #tq .tq-sech > span{ width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, #D2553F, #B23A2C 55%, #8A2A1F); box-shadow: 0 10px 22px -10px rgba(178,58,44,.7), inset 0 1px 0 rgba(255,255,255,.35); font-size: 1.15rem; }
html.theme-mist #hub #tq .tq-sech > div::before{ content: 'CHAPTER ' counter(tqsec, decimal-leading-zero); display: block; font-family: var(--f-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .28em; color: #B23A2C; margin-bottom: 2px; }
html.theme-mist #hub #tq .tq-sech h2{ letter-spacing: -.01em; }

/* ── 카드: 은은한 그라데이션 + 겹 그림자, 누르는 카드는 올리면 살짝 뜬다 ── */
html.theme-mist #hub #tq :is(.tq-box, .tq-card, .tq-fc, .tq-today, .tq-metric, .tq-ten, .tq-mypage, .mt-natal, details.tq-car){ background: var(--tr-card) !important; border-color: rgba(197,208,213,.95) !important; border-radius: var(--tr-r-card); box-shadow: var(--tr-sh-card); }
html.theme-mist #hub #tq :is(a.tq-fc, a.tq-today, a.tq-mypage){ transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
html.theme-mist #hub #tq :is(a.tq-fc, a.tq-today, a.tq-mypage):hover{ transform: translateY(-2px); box-shadow: var(--tr-sh-lift); border-color: rgba(178,58,44,.35) !important; }
/* 무료 콘텐츠 카드: 머리말 앞 작은 점, 바로가기 화살표 원 */
html.theme-mist #hub #tq .tq-fc > small::before{ content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #B23A2C; margin-right: 7px; vertical-align: 2px; }
html.theme-mist #hub #tq .tq-fc{ padding: 18px 18px 16px; }

/* 그래프 묶음 카드: 같은 둥근 모서리·그림자 */
html.theme-mist #hub #tq .tq-body > .tq-h4{ border-color: rgba(197,208,213,.95); border-radius: var(--tr-r-card) var(--tr-r-card) 0 0; background: #FFFFFF; }
html.theme-mist #hub #tq .tq-body > :is(.tq-h4 + :is(.tq-chart, .tq-life), .tq-h4 + .tq-sub + :is(.tq-chart, .tq-life), .tq-h4 + .tq-chart + .tq-sub){ border-color: rgba(197,208,213,.95); border-radius: 0 0 var(--tr-r-card) var(--tr-r-card); background: #FBFCFC; box-shadow: var(--tr-sh-card); }
html.theme-mist #hub #tq .tq-body > .tq-h4 + .tq-chart:has(+ .tq-sub){ border-radius: 0; box-shadow: none; }
html.theme-mist #hub #tq .tq-body > .tq-h4 + .tq-sub{ border-color: rgba(197,208,213,.95); }
html.theme-mist #hub #tq .tq-body > .tq-h4::before{ width: 4px; height: 1.1em; background: linear-gradient(180deg, #D2553F, #B23A2C); }

/* ── 알약 칩: 지표 칩·연도 칩·분야 칩 ── */
html.theme-mist #hub #tq :is(.tq-fchip, .tq-mchip, .tq-ychip, .tq-chip){ border-radius: 999px !important; padding-left: 16px; padding-right: 16px; box-shadow: 0 1px 2px rgba(20,35,42,.05); }
html.theme-mist #hub #tq :is(.tq-mchip, .tq-chip, .tq-fchip).on{ background: linear-gradient(145deg, #2E3B42, #1D2428) !important; border-color: #1D2428 !important; box-shadow: 0 8px 18px -10px rgba(20,35,42,.6); }

/* ── 영역 바로가기 줄: 유리 막대 + 지금 위치 붉은 그라데이션 알약 ── */
html.theme-mist #hub .tq-nav{ padding: 6px 8px; margin-top: 4px; top: calc(var(--top) + 6px); margin-bottom: 10px; border-radius: 999px; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--tr-ring), 0 14px 30px -20px rgba(20,35,42,.4); }
/* 유리판 배경은 칩 줄 자체에(가로로 넘겨도 배경이 따라 밀리지 않게) */
html.theme-mist #hub .tq-nav{ isolation: isolate; }
html.theme-mist #hub .tq-nav a{ border-radius: 999px !important; background: transparent !important; border-color: transparent !important; }
html.theme-mist #hub .tq-nav a:hover{ background: rgba(255,255,255,.85) !important; }
html.theme-mist #hub .tq-nav a.on{ background: linear-gradient(145deg, #D2553F, #B23A2C) !important; color: #FFFFFF !important; border-color: transparent !important; box-shadow: 0 8px 18px -10px rgba(178,58,44,.7); }
html.theme-mist #hub .tq-nav a.on i{ background: rgba(255,255,255,.22) !important; color: #FFFFFF !important; }
html.theme-mist #hub .tq-nav a.tq-edit{ background: #FFFFFF !important; border-color: rgba(197,208,213,.95) !important; box-shadow: none; }

/* ── 일진 캘린더·오늘의 운·타로도 같은 표현 ── */
html.theme-mist .fortune-panel{ border-radius: var(--tr-r-panel); background: linear-gradient(180deg, #FFFFFF, #FBFCFC); box-shadow: var(--tr-ring), 0 30px 60px -40px rgba(20,35,42,.45); border-color: rgba(255,255,255,.9); position: relative; overflow: clip; }
html.theme-mist .fortune-panel::after{ content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--tr-accent); }
html.theme-mist .mc-chart{ border-radius: var(--tr-r-card); }
html.theme-mist #hub #screen .tscore{ border-radius: var(--tr-r-panel); background: radial-gradient(70% 60% at 50% 0%, rgba(255,255,255,1), rgba(255,255,255,.85)); box-shadow: var(--tr-ring), 0 30px 60px -40px rgba(20,35,42,.45); border-color: rgba(255,255,255,.9); }
html.theme-mist #hub #screen .dc{ border-radius: var(--tr-r-card) !important; background: var(--tr-card) !important; box-shadow: var(--tr-sh-card); }
html.theme-mist #hub #screen .dsec{ border-radius: var(--tr-r-panel); background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.52)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(255,255,255,.9); box-shadow: var(--tr-ring), 0 30px 60px -40px rgba(20,35,42,.45); }
html.theme-mist #hub #screen .dsec > h3::before{ background: linear-gradient(180deg, #D2553F, #B23A2C); }
html.theme-mist #hub #screen details.dd{ border-radius: var(--tr-r-card); box-shadow: var(--tr-sh-card); }
html.theme-mist #hub #screen :is(.actcard, .nextc){ border-radius: var(--tr-r-panel); box-shadow: var(--tr-ring), 0 30px 60px -40px rgba(20,35,42,.45); border-color: rgba(255,255,255,.9); }
html.theme-mist #hub #screen .actcard .chips i{ border-radius: 999px; }
html.theme-mist #hub #screen .tm{ border-radius: var(--tr-r-card) !important; box-shadow: var(--tr-sh-card); transition: transform .18s ease, box-shadow .18s ease; }
html.theme-mist #hub #screen .tm:hover{ transform: translateY(-2px); box-shadow: var(--tr-sh-lift); }
html.theme-mist #hub #screen .tm .ic{ border-radius: 14px; background: linear-gradient(145deg, rgba(210,85,63,.14), rgba(178,58,44,.08)); }
html.theme-mist #hub #screen .rsum{ border-radius: var(--tr-r-card); background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.55)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html.theme-mist #hub #screen .rsec{ border-radius: var(--tr-r-card); box-shadow: var(--tr-sh-card); }
html.theme-mist #hub #screen .chipbtn{ box-shadow: 0 1px 2px rgba(20,35,42,.05); }
html.theme-mist #hub #screen .chipbtn[aria-pressed="true"]{ background: linear-gradient(145deg, #2E3B42, #1D2428) !important; box-shadow: 0 8px 18px -10px rgba(20,35,42,.6); }
@media (prefers-reduced-motion: reduce){ html.theme-mist #hub :is(#tq a.tq-fc, #tq a.tq-today, #screen .tm){ transition: none; } html.theme-mist #hub :is(#tq a.tq-fc, #tq a.tq-today, #screen .tm):hover{ transform: none; } }
@media (max-width: 720px){
  html.theme-mist #hub #tq .tq-sec{ padding: 10px 14px 22px; border-radius: 22px; }
  html.theme-mist #hub #tq .tq-sec::after{ left: 14px; right: 14px; }
  html.theme-mist #hub #tq .tq-sech > span{ width: 40px; height: 40px; border-radius: 12px; }
}
html.theme-mist #hub #tq .tq-sec{ scroll-margin-top: calc(var(--top) + 84px); }   /* 유리 바로가기 막대에 CHAPTER 머리말이 가리지 않게 */
/* 대비 보정(트렌디 묶음): 붉은 그라데이션 한 단계 진하게(흰 글씨 4.5 이상), 머리말 진하게, 막대 그래프는 마우스를 올려도 붉게 칠하지 않음(허브 공통 단추 규칙 덮어쓰기) */
html.theme-mist #hub #tq .tq-sech > span, html.theme-mist #hub .tq-nav a.on{ background: linear-gradient(145deg, #C2412E, #A8321F 55%, #8A2A1F) !important; }
html.theme-mist #hub .tq-nav a.on i{ background: rgba(0,0,0,.2) !important; }
html.theme-mist #hub .tq-hero .kick{ color: #4F5E64; }
html.theme-mist #hub #tq .tq-bar:not(:disabled):is(:hover, :focus-visible, :active){ background: #FFFFFF !important; color: inherit !important; border-color: rgba(178,58,44,.45) !important; box-shadow: 0 10px 22px -14px rgba(20,35,42,.45); }
html.theme-mist #hub #tq :is(.tq-ychip, .tq-mchip, .tq-fchip, .tq-chip):not(.on):not(:disabled):is(:hover, :focus-visible){ background: #FFFFFF !important; color: #1D2428 !important; border-color: rgba(178,58,44,.45) !important; }
html.theme-mist #hub #screen .hero .kick{ color: #7C4A10; }
/* 삼재 보조 지표(2026-11-24): 밝은 배경에서는 만세력과 같은 진한 남보라 */
html.theme-mist #hub .tq{ --sj: #4A47C9; --sj-solid: #4A47C9; }
html.theme-mist #hub .tq-bar.sjy u{ background: repeating-linear-gradient(135deg, rgba(74,71,201,.22) 0 2px, transparent 2px 6px), rgba(52,72,80,.06); }
html.theme-mist #hub .tq-sjc{ background: rgba(74,71,201,.06) !important; }
