/* 사주 풀이. 사이트(home.css) · 채틀라이저(단계 · 버튼 · 글)의 모양 위에 이 페이지에만 있는 것 */
.ymd { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.ymd label { display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--muted); }
.ymd input { width: 92px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 17px; background: var(--card); color: var(--ink); }
.ymd input[type=time] { width: 140px; }
.ymd input:disabled { opacity: .4; }
.ymd input#m, .ymd input#d { width: 70px; }
.paychk { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.fnote { max-width: none; margin-top: 24px; }
.fsec { padding: 8px 0 24px; }
.fsec .label { margin-top: 32px; }
.fh { margin: 12px 0 0; font-size: 24px; line-height: 1.4; font-weight: 700; letter-spacing: -.5px; word-break: keep-all; }
.fbody .rp { max-width: 720px; }
.fbody .rp.pending { text-align: left; }

/* 사주표: 시 · 일 · 월 · 연 네 칸 */
.chart8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin-top: 12px; }
.col { text-align: center; }
.cn { margin: 0 0 6px; font-size: 13.5px; color: var(--faint); }
.col.me .cn { color: var(--ink); font-weight: 700; }
.cg { margin: 4px 0; font-size: 12.5px; color: var(--muted); }
.ch { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 86px; margin: 6px 0; border-radius: 12px; }
.ch b { font-size: 34px; line-height: 1.1; font-weight: 700; font-family: "Noto Serif KR", serif; }
.ch span { font-size: 12px; margin-top: 4px; font-weight: 600; }
.ch.none { background: var(--surface); color: var(--faint); font-size: 26px; }
.col.me .ch:first-of-type { outline: 2px solid var(--ink); outline-offset: -2px; }
/* 오행 색(사이트 그래프 색과 같은 결) */
.e0 { background: #e3ece5; color: #3f6b4c; } .e1 { background: #f6e1df; color: #a5403a; }
.e2 { background: #f3ead7; color: #8c6418; } .e3 { background: #eceef1; color: #4b5563; }
.e4 { background: #e3e9f6; color: #2e4f8f; }
.els { max-width: 560px; margin-top: 18px; }
.el { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.el > span { width: 64px; flex: none; padding: 3px 8px; border-radius: 6px; font-weight: 600; text-align: center; }
.el i { flex: 1; height: 10px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.el i b { display: block; height: 100%; border-radius: 5px; filter: saturate(1.6) brightness(.9); }
.el em { width: 18px; font-style: normal; color: var(--muted); text-align: right; }

/* 대운 줄 */
.dline { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: thin; }
.dw { flex: none; width: 74px; padding: 10px 0; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.dw span { display: block; font-size: 12px; color: var(--faint); }
.dw b { display: block; margin: 4px 0 0; font-size: 22px; font-family: "Noto Serif KR", serif; }
.dw em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.dw.on { border-color: var(--accent); background: var(--accent-soft); }
.dw.on span, .dw.on em { color: var(--accent-ink); }

/* 달마다 · 대운 해마다 */
.mlist { list-style: none; padding: 0; margin: 8px 0 0; max-width: 720px; }
.mlist li { position: relative; padding: 18px 0; }
.mlist li + li::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--fade-line); }
.mh { margin: 0; font-size: 13.5px; color: var(--faint); }
.mh b { color: var(--accent-ink); font-weight: 600; }
.mlist h4 { margin: 4px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.mlist .rp { margin-top: 6px; }
.ynow { margin-top: 12px; }

/* 기다리는 화면 */
.wait { max-width: 560px; margin: 0 auto; padding: 72px 0 96px; text-align: center; }
.wsub { margin: 0; color: var(--faint); font-size: 14px; }
.wt { margin: 10px 0 0; font-size: 30px; font-weight: 800; letter-spacing: -.6px; }
.wchars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 320px; margin: 32px auto 0; }
.wchars b { display: flex; align-items: center; justify-content: center; height: 64px; border-radius: 12px; font-size: 30px; font-family: "Noto Serif KR", serif; opacity: .15; animation: glow 3s ease-in-out infinite; }
.wchars b.none { background: var(--surface); color: var(--faint); }
@keyframes glow { 0%, 100% { opacity: .2; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: .6; } }
.wmsg { min-height: 1.6em; margin: 28px 0 0; font-size: 16.5px; font-weight: 600; }
.wait .prog { margin: 20px auto 0; max-width: 360px; }
.wait .prog p { text-align: center; }
.wait .hint { margin-top: 24px; }

/* 풀이 카드: 항목 이름 · 한 줄 요점(굵게) · 풀이 */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.tags span { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; }
.tags span::before { content: "#"; opacity: .6; }
.fcards { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 880px; }
.fcard { padding: 18px 20px; border-radius: 14px; background: var(--surface); }
.fcard.now { grid-column: 1 / -1; background: var(--accent-soft); }
.fl { margin: 0; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.fp { margin: 6px 0 0; font-size: 17.5px; line-height: 1.45; font-weight: 700; letter-spacing: -.3px; word-break: keep-all; }
.ft { margin: 8px 0 0; font-size: 15px; line-height: 1.75; color: var(--muted); word-break: keep-all; }
.ft b { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, #fde68a 62%); }
.ft.sum { max-width: 720px; font-size: 16px; color: var(--ink); }
.mood { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; vertical-align: 2px; letter-spacing: 0; }
.mood.good { background: #e3ece5; color: #3f6b4c; } .mood.mid { background: #eceef1; color: #4b5563; } .mood.care { background: #f6e1df; color: #a5403a; }
.mgrid { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 880px; }
.mcard { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.mcard h4 { margin: 6px 0 0; font-size: 16.5px; line-height: 1.45; font-weight: 700; word-break: keep-all; }
.mcard .ft { font-size: 14.5px; }
.lkb .fcards, .lkb .mgrid { margin-top: 8px; }

/* 유료 구간: 개발 중엔 점선 표시만, '결제 전 화면으로 보기'면 흐리게 */
.lkb { position: relative; margin-top: 16px; padding: 4px 0 4px 16px; border-left: 3px dashed #d6b25e; }
.lkt { margin: 0; font-size: 12.5px; font-weight: 700; color: #a3741c; }
span.lk { text-decoration: underline dotted #d6b25e 2px; text-underline-offset: 4px; }
.paywall span.lk, .paywall .lkb > * { filter: blur(6px); user-select: none; pointer-events: none; }
.paywall span.lk { background: none; }
.paywall .lkb { border-left-color: transparent; }
.paywall .lkb::after { content: "결제하면 이어서 볼 수 있어요"; position: absolute; left: 50%; top: 40px; transform: translateX(-50%); padding: 10px 18px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; filter: none; white-space: nowrap; }
.paywall .lkb .lkt { visibility: hidden; }
@media (max-width: 760px) {
  .ch { height: 72px; }
  .ch b { font-size: 28px; }
  .fh { font-size: 21px; }
  .chart8 { gap: 6px; }
  .fcards, .mgrid { grid-template-columns: minmax(0, 1fr); }
  .fcard { padding: 16px; }
  .wait { padding: 48px 0 72px; }
  .wt { font-size: 26px; }
}
@media (max-width: 1000px) and (min-width: 761px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 탭: 위에 붙어 따라오는 큰 글자 탭(정보 게시판 탭 모양) */
.ftabs { position: sticky; top: 0; z-index: 5; margin: 24px 0 0; padding: 14px 0 12px; background: var(--bg); border-bottom: 1px solid var(--line); overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; scrollbar-width: none; }
.ftabs::-webkit-scrollbar { display: none; }
#panels { padding-bottom: 56px; }
/* 탭 요약(무료): 맨 위 큰 제목 · 세 줄 */
.fsum { margin-top: 24px; padding: 24px 24px 20px; border-radius: 16px; background: var(--accent-soft); max-width: 880px; }
.fsum .fl { color: var(--accent-ink); }
.fsum .fh { margin-top: 8px; font-size: 26px; }
.flines { list-style: none; padding: 0; margin: 14px 0 0; }
.flines li { position: relative; padding: 6px 0 6px 18px; font-size: 16.5px; line-height: 1.6; word-break: keep-all; }
.flines li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.flines li:last-child { font-weight: 700; }
.flines b { font-weight: 700; }
.fh2 { margin: 8px 0 0; font-size: 21px; line-height: 1.4; font-weight: 700; letter-spacing: -.4px; word-break: keep-all; }
.fbody .label { margin-top: 28px; }
.fwait { margin-top: 20px; padding: 28px 20px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; max-width: 880px; }
.fwait p { margin: 0; font-weight: 600; }
.fwait span { display: block; margin-top: 6px; color: var(--faint); font-size: 13.5px; }
/* 인생 흐름: 대운마다 한 줄 */
.plist { list-style: none; padding: 0; margin: 12px 0 0; max-width: 880px; }
.plist li { position: relative; padding: 14px 0 14px 18px; border-left: 2px solid var(--line); }
.plist li::before { content: ""; position: absolute; left: -6px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.plist li.on { border-left-color: var(--accent); }
.plist li.on::before { background: var(--accent); }
.plist em { font-style: normal; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.plist .fp { font-size: 16.5px; }
/* 이미지 저장용(화면 밖) */
.fshot { width: 760px; }
.fshot .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fshot .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fshot .lkt { display: none; }
.fshot .lkb { padding-left: 0; border-left: 0; }
.fshot .chart8, .fshot .els { max-width: none; }
@media (max-width: 760px) {
  .fsum { padding: 20px 18px 16px; }
  .fsum .fh { font-size: 22px; }
  .flines li { font-size: 15.5px; }
  .ftabs { font-size: 16px; gap: 8px 18px; }
}

/* 일주 한 줄 · 용어 풀이 */
.ilju { max-width: 560px; margin: 14px 0 0; font-size: 16.5px; color: var(--muted); }
.ilju:empty { display: none; }
.ilju b { color: var(--ink); }
.explain { max-width: 720px; margin: 20px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.explain summary { cursor: pointer; padding: 12px 2px; font-size: 15px; font-weight: 600; color: var(--accent-ink); list-style: none; }
.explain summary::-webkit-details-marker { display: none; }
.explain summary::after { content: " ▾"; }
.explain[open] summary::after { content: " ▴"; }
.explain dl { margin: 0 0 16px; }
.explain dt { margin-top: 12px; font-weight: 700; font-size: 15px; }
.explain dd { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; word-break: keep-all; }
/* 요약 탭 */
#p-summary .fsum + .fsum { margin-top: 14px; }
.fgo { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.frest { list-style: none; padding: 0; margin: 8px 0 0; max-width: 880px; }
.frest li + li { border-top: 1px solid var(--line); }
.frest button { display: block; width: 100%; padding: 14px 2px; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.frest button > span { display: block; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.frest b { display: block; margin-top: 4px; font-size: 16.5px; line-height: 1.45; word-break: keep-all; }
.frest button:hover b { color: var(--accent-ink); }
.fshot .fgo, .fshot .explain { display: none; }

/* 시험 중: A · B 두 방식을 나란히(휴대폰은 위아래) */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.vcol { min-width: 0; }
.vs .fcards, .vs .mgrid { grid-template-columns: minmax(0, 1fr); }
.vhead { margin: 20px 0 0; padding: 8px 12px; border-radius: 10px; background: #111827; color: #fff; font-size: 13.5px; }
.vhead b { margin-right: 4px; color: #fde68a; }
.vhead em { font-style: normal; color: #a7f3d0; font-weight: 700; }
.ivar { display: block; }
.ivar em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: #111827; color: #fde68a; font-size: 12px; font-weight: 700; }
.fshot.fshot { width: 1100px; }
@media (max-width: 900px) { .vs { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* 입력 고르는 칸 */
.ymd select { height: 42px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 17px; background: var(--card); color: var(--ink); cursor: pointer;
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.ymd select:disabled { opacity: .4; cursor: default; }
#basis-row .bigtabs { font-size: 16px; }

/* 기다리는 화면: 기어가는 산벌레(제목 '사주 풀이 중' 너비 안에서만) */
.wtitle { display: inline-block; }
.crawl { position: relative; width: 100%; height: 40px; margin-top: 6px; overflow: hidden; }
.bug { position: absolute; bottom: 0; left: 100%; width: 80px; height: 40px; animation: crawl 6s linear infinite; }
.bug img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; animation: frame .9s steps(1, end) infinite; }
.bug img:nth-child(2) { animation-delay: -.6s; }
.bug img:nth-child(3) { animation-delay: -.3s; }
@keyframes crawl { from { left: 100%; } to { left: -80px; } }
@keyframes frame { 0% { opacity: 1; } 33.34% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bug { animation: none; left: calc(50% - 40px); } .bug img { animation: none; } .bug img:first-child { opacity: 1; } }
.wslow { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.wslow .btn { height: 36px; padding: 0 14px; margin-left: 6px; font-size: 14px; border-radius: 8px; }
.vs.one { grid-template-columns: minmax(0, 1fr); }
.vs.one .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs.one .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .vs.one .fcards, .vs.one .mgrid { grid-template-columns: minmax(0, 1fr); } }

/* 요약 첫 화면: 소제목 · 전체 풀이 · 배지 · 특징 카드 */
h2.sec { margin: 36px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
h2.sec small { margin-left: 8px; font-size: 13.5px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
h2.sec.big { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 24px; }
#sum-sec .chart8, #sum-sec .els { margin-top: 14px; }
.ov { max-width: 880px; }
.ov-k { margin: 14px 0 0; font-size: 13.5px; font-weight: 700; color: var(--accent-ink); }
.ov-h { margin: 6px 0 0; font-size: 26px; line-height: 1.35; font-weight: 800; letter-spacing: -.6px; word-break: keep-all; }
.ov-p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.85; word-break: keep-all; }
.ov-p b { font-weight: 700; background: linear-gradient(transparent 62%, #fde68a 62%); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; max-width: 880px; }
.badges span { padding: 5px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 700; border: 1px solid transparent; }
.badges .b-many { background: #f6e1df; color: #a5403a; }
.badges .b-none { background: #e3ece5; color: #3f6b4c; border-style: dashed; border-color: #9bb8a3; }
.badges .b-sal { background: #111827; color: #fde68a; }
.badges .b-str { background: #eceef1; color: #4b5563; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; max-width: 880px; }
.fact { padding: 14px 14px 12px; border-radius: 14px; background: var(--surface); }
.fact p { margin: 0; }
.fact .fk { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); }
.fact .fv { margin-top: 4px; font-size: 16px; font-weight: 800; letter-spacing: -.3px; word-break: keep-all; }
.fact .fm { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--muted); word-break: keep-all; }
#p-summary { margin-top: 12px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-h { font-size: 22px; } h2.sec.big { font-size: 21px; } }

/* 상세 탭 위 요약: 지금(내가 입력해 주기)은 제목 한 줄만, '결제 전 화면으로 보기' 면 전부 */
.fsum.tsum { padding: 16px 20px; }
.fsum.tsum .fh { font-size: 19px; }
.fsum.tsum .flines { display: none; }
.paywall .fsum.tsum { padding: 24px 24px 20px; }
.paywall .fsum.tsum .fh { font-size: 26px; }
.paywall .fsum.tsum .flines { display: block; }
/* 결제 전: 항목 이름과 첫 요점은 보이고, 나머지 글만 흐림 */
.paywall .lkb > * { filter: none; user-select: auto; pointer-events: auto; }
.paywall .lkb .ft, .paywall .lkb .fp, .paywall .lkb .fh2, .paywall .lkb .tags, .paywall .lkb .mcard h4 { filter: blur(6px); user-select: none; }
.paywall .lkb .fcards > .fcard:first-child .fp { filter: none; }
.paywall .lkb::after { top: auto; left: auto; bottom: 40px; position: sticky; display: block; width: fit-content; margin: 16px auto 0; transform: none; }

/* 결과 화면은 모든 칸을 같은 폭(사이트 본문 전체 폭)으로 맞춤. A · B 비교도 나란히 대신 위아래로 */
#result .chart8, #result .els, #result .explain, #result .ov, #result .badges, #result .facts, #result .fsum, #result .fcards,
#result .mgrid, #result .plist, #result .frest, #result .fwait, #result .mlist, #result .fbody .rp, #result .ft.sum, #result .ilju { max-width: none; }
#result .vs, #result .vs.one { grid-template-columns: minmax(0, 1fr); gap: 0; }
#result .vs > .vcol + .vcol { margin-top: 28px; }
#result .vs .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#result .vs .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#result .ch { height: 96px; }
@media (max-width: 760px) {
  #result .vs .fcards, #result .vs .mgrid { grid-template-columns: minmax(0, 1fr); }
  #result .ch { height: 72px; }
}
#result .dw { flex: 1 0 74px; }
#form .step { grid-template-columns: minmax(0, 1fr); }
#owner-link { margin-top: 18px; }
#owner-link a { color: var(--faint); font-size: 13px; text-decoration: underline; }
.fshotimg img { width: 100%; height: auto; max-width: 260px; }

/* 이름 칸 · 초대 받은 사람 안내 */
.ymd input.nm { width: 240px; max-width: 100%; }
#form h2 small { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--faint); }
.inv-banner { margin: 20px 0 0; padding: 14px 18px; border-radius: 12px; background: #fff4f7; border: 1px solid #f6c9d8; color: #9b2350; font-weight: 600; line-height: 1.6; }
/* 오늘의 운세(요약 맨 위) */
.today { margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: #fff8e6; border: 1px solid #f3dfa8; }
.today .fh { margin-top: 6px; font-size: 21px; }
.today .ft { margin-top: 6px; }
.today .tip { margin: 10px 0 0; font-size: 14.5px; font-weight: 700; color: #8c6418; }
/* 궁합 */
.cform { margin-top: 12px; }
.cform .bigtabs { margin: 14px 0 0; font-size: 17px; }
.cform .ymd { margin-top: 12px; }
.cres { margin-top: 12px; }
.cscore { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 0; }
.cscore b { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -1.5px; color: var(--accent); }
.cscore span { font-size: 20px; font-weight: 700; }
.cfacts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cfacts li { padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13.5px; color: var(--muted); }
.cres .btns { margin-top: 20px; }
/* 공유하기 · 초대 목록 */
.sharebox .btns { margin-top: 14px; }
.sharelink { margin: 12px 0 0; font-size: 14px; word-break: break-all; }
.sharelink em { font-style: normal; margin-left: 6px; color: #3f6b4c; font-weight: 700; }
.ir span { display: block; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.ir b { display: block; margin-top: 4px; font-size: 16px; line-height: 1.45; }
.frest li .ir { padding: 14px 2px; }
/* 복비 지불하기 */
.bokbi { margin: 48px 0 56px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.bokbi .btn { height: 46px; padding: 0 26px; font-size: 15.5px; }
.bokbi .hint { margin-top: 12px; }
/* 공유 카드(화면 밖에서 그려 이미지로) */
.scard-box { position: absolute; left: -10000px; top: 0; width: 540px; background: #fff; }
.scard { padding: 34px 32px 28px; color: #111827; font-family: "Pretendard Variable", Pretendard, sans-serif; }
.sc-top { display: flex; gap: 14px; align-items: center; }
.sc-top img { width: 150px; height: auto; flex: none; }
.sc-k { margin: 0; font-size: 14px; font-weight: 700; color: #1d4ed8; }
.scard h2 { margin: 6px 0 0; font-size: 25px; line-height: 1.35; font-weight: 800; letter-spacing: -.6px; word-break: keep-all; }
.sc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.sc-badges span { padding: 5px 11px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 13px; font-weight: 700; }
.sc-list { list-style: none; padding: 0; margin: 18px 0 0; }
.sc-list li { padding: 12px 0; border-top: 1px solid #e5e7eb; font-size: 16px; line-height: 1.45; font-weight: 700; word-break: keep-all; }
.sc-list li b { display: block; margin-bottom: 2px; font-size: 12.5px; color: #8b929c; }
.sc-qr { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding: 16px; border-radius: 14px; background: #f6f8fa; }
.sc-qr img { width: 112px; height: 112px; flex: none; image-rendering: pixelated; background: #fff; }
.sc-qr b { font-size: 17px; }
.sc-qr p { margin: 4px 0 0; color: #4b5563; font-size: 14px; }

/* 어두운 화면(2026-11-15, 사이트 전체가 어둡게): 직접 색을 박은 곳 중 어두운 바탕에서 안 보이는 것만 고침. 색 딱지(.e0 등)는 제 바탕 · 글자색을 같이 가져서 그대로 */
:root[data-theme="dark"] .ft b, :root[data-theme="dark"] .ov-p b { background: linear-gradient(transparent 62%, rgba(253, 230, 138, .3) 62%); }
:root[data-theme="dark"] .lkt { color: #d6b25e; }
:root[data-theme="dark"] .paywall .lkb::after, :root[data-theme="dark"] .plist em { color: var(--on-accent); }
:root[data-theme="dark"] .vhead, :root[data-theme="dark"] .ivar em, :root[data-theme="dark"] .badges .b-sal { background: #322e2b; }
:root[data-theme="dark"] .inv-banner { background: #2b1620; border-color: #5a2b3d; color: #f3a6c0; }
:root[data-theme="dark"] .today { background: #2a2410; border-color: #4a3f1a; }
:root[data-theme="dark"] .today .tip { color: #e8c66a; }
:root[data-theme="dark"] .sharelink em { color: #7fc497; }
/* 공유 카드는 흰 종이 그림으로 내보내는 것이라 어두운 화면에서도 밝은 값으로 그림 */
.scard-box { --bg: #fff; --surface: #f6f8fa; --card: #fff; --ink: #111827; --muted: #4b5563; --faint: #6b7280; --line: #e5e7eb; --line2: #d1d5db; --accent: #2563eb; --accent-ink: #1d4ed8; --accent-soft: #eff6ff; color-scheme: light; }
