/* 사주·운세 입력·결과 화면 보강. site.css 다음에 읽는다(같은 우선순위면 이 파일이 이긴다).
   대상: /ko/saju/input · /ko/saju/sample · /ko/fortune/* · /ko/ziwei. 링크 주소의 ?v= 는 scripts/build-site-menu.mjs 가 내용 해시로 맞춘다.
   시험: tests/results-ux.test.mjs */

/* ── [08] 출생정보 입력: 도움말 12.5px, 양력/음력·성별 버튼 44px, 체크박스 18px + 줄 전체 터치 ── */
.wheel-help{font-size:12.5px;line-height:1.6;color:rgba(245,234,209,.62)}
.choice-toggle button{min-height:44px;font-size:14px}
.field label,.field-label{font-size:13px}
.checkline{align-items:center;min-height:44px;padding:2px 0;font-size:13.5px;cursor:pointer}
.checkline input[type=checkbox]{flex:none;width:18px;height:18px;margin:0;accent-color:#f3d38b;cursor:pointer}
.checkline input[type=checkbox]:disabled{cursor:not-allowed}
.checkline input:disabled+span{opacity:.5}
.checkline.me-save{align-items:flex-start;padding:10px 0}
.checkline.me-save input[type=checkbox]{margin-top:3px}
.checkline small{display:block;margin-top:3px;font-size:12.5px;line-height:1.6}

/* ── [12][13][17] 결과 하단 추천 카드 13px, 별자리·띠·월 버튼 글자 ── */
.more-grid .product-card p,.more-grid.fortune-six .product-card p{font-size:13px;line-height:1.65}
.more-hook-desc{font-size:13px}
.pick-btn,.month-tabs .pick-btn{font-size:12.5px;line-height:1.35;word-break:keep-all}
.pick-btn small,.month-tabs .pick-btn small{font-size:11px}

/* ── [01][02] 광고 카드 위 결과 미리보기 + 8초 뒤 "바로 보기" ── */
.gate-preview{max-width:420px;margin:14px auto 0;padding:18px 20px 16px;border:1px solid rgba(243,211,139,.42);border-radius:18px;background:rgba(5,10,18,.6)}
.gate-preview-label{display:inline-block;margin-right:8px;color:#f3d38b;font-size:12px;font-weight:700;letter-spacing:.04em}
.gate-preview-meta{color:rgba(245,234,209,.66);font-size:12px}
.gate-preview-title{display:block;margin:10px 0 8px;color:#f5ead1;font:700 19px/1.45 'Gowun Batang',serif;word-break:keep-all}
/* [M1] 제목 + 첫 문단(4~6줄)은 또렷하게, 이어지는 글만 흐리게 */
.gate-preview-lead{margin:0;color:#f5ead1;font-size:14.5px;line-height:1.85;word-break:keep-all}
.gate-preview-text{display:-webkit-box;margin:2px 0 0;overflow:hidden;color:#f5ead1;font-size:14px;line-height:1.85;word-break:keep-all;-webkit-line-clamp:3;-webkit-box-orient:vertical;filter:blur(2px);-webkit-mask-image:linear-gradient(rgba(0,0,0,.75),transparent 92%);mask-image:linear-gradient(rgba(0,0,0,.75),transparent 92%);user-select:none;pointer-events:none}
.gate-preview-more{display:block;margin-top:8px;color:#f3d38b;font-size:12.5px;text-align:center}
.gate-preview-more::after{content:' ↓'}
.gate-preview+.coupang-gate{margin-top:10px}
.coupang-gate-skip{display:block;min-height:40px;margin:12px auto 0;padding:0 14px;border:0;background:none;color:#4b5567;font:500 13px 'Noto Sans KR',sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.coupang-gate-skip:hover,.coupang-gate-skip:focus-visible{color:#0b1626}

/* ── [11][14][15] 긴 결과: 목차 칩 · 접기/펼치기 · 맨 위로 ── */
.rs-toc{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 18px}
.rs-chip{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid rgba(216,169,79,.32);border-radius:999px;color:#f5ead1;background:rgba(5,10,18,.5);font-size:13px;text-decoration:none;white-space:nowrap}
.rs-chip:hover,.rs-chip:focus-visible{border-color:#f3d38b;color:#f3d38b;outline:none}
.rs-toc-months{gap:6px}
.rs-toc-months .rs-chip{min-width:52px;padding:0 8px}
/* 앱 화면(html.is-app-ui = 카셀 앱 + 휴대폰 웹, 2026-10-25 대표님): 맨 위 목차는 1열 목록(한 줄에 하나, 위·아래·사이 금색 선, 오른쪽 꺾쇠). PC는 칩 그대로. 열두 달 칩(.rs-toc-months)은 목차가 아니라 그대로 둔다. */
html.is-app-ui .rs-toc:not(.rs-toc-months){display:block;margin:8px 0 18px;border-top:1px solid var(--line,rgba(216,169,79,.24))}
html.is-app-ui .rs-toc:not(.rs-toc-months) .rs-chip{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;margin:0;padding:12px 4px 12px 0;border:0;border-bottom:1px solid var(--line,rgba(216,169,79,.24));border-radius:0;background:none;color:#f5ead1;font:500 15px/1.45 'Noto Sans KR',sans-serif;text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
html.is-app-ui .rs-toc:not(.rs-toc-months) .rs-chip::after{content:'';flex:none;width:8px;height:8px;margin:0 2px 0 0;border-top:2px solid #f3d38b;border-right:2px solid #f3d38b;opacity:.7;transform:rotate(45deg)}
html.is-app-ui .rs-toc:not(.rs-toc-months) .rs-chip:is(:hover,:focus-visible,:active){border-color:var(--line,rgba(216,169,79,.24));color:#f3d38b;outline:none}
.rs-sec,#rs-summary,#rs-areas,#rs-advice,#rs-months,#zw-chart,#zw-sum,#ziwei-preview{scroll-margin-top:16px}
.rs-sec>summary{display:flex;align-items:center;gap:10px;min-height:44px;list-style:none;cursor:pointer}
.rs-sec>summary::-webkit-details-marker{display:none}
.rs-sec>summary::after{content:'';flex:none;width:8px;height:8px;margin:0 4px 4px auto;border-right:2px solid #f3d38b;border-bottom:2px solid #f3d38b;transform:rotate(45deg);transition:transform .2s ease}
.rs-sec[open]>summary::after{margin-bottom:-4px;transform:rotate(-135deg)}
.rs-sec>summary:focus-visible{outline:2px solid #f3d38b;outline-offset:3px;border-radius:8px}
.rs-sum .section-title,.panel .rs-sum h2.section-title{margin:0;font:700 20px/1.4 'Gowun Batang',serif}
#sample-facts>.rs-sec{border-top:1px solid rgba(216,169,79,.24)}
#sample-facts>.rs-sec>summary{padding:12px 0}
#sample-facts>.rs-sec[open]>.rs-body{padding-bottom:14px}
.tj-month>summary strong{flex:1;margin:0}
.tj-month[open]>summary{margin-bottom:6px}
.tj-month p{font-size:14px}
.zw-palace>summary .zw-ptitle{flex:1;margin:0}
.zw-palace[open]>summary{margin-bottom:6px}
.to-top{position:fixed;right:16px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:50;min-height:44px;padding:0 16px;border:1px solid rgba(243,211,139,.55);border-radius:999px;background:rgba(5,10,18,.9);color:#f3d38b;font:700 13px 'Noto Sans KR',sans-serif;box-shadow:0 10px 26px rgba(0,0,0,.4);cursor:pointer}
.to-top::before{content:'↑ '}
.to-top[hidden]{display:none}
/* 앱 화면(html.is-app-ui = 카셀 앱 + 휴대폰 웹, 2026-10-22): 하단 탭바 위로 */
html.is-app-ui .to-top{bottom:calc(var(--app-tab-h,64px) + var(--app-safe-b,0px) + 12px)}

/* 본문 14px(긴 결과) */
.fact{font-size:14px}
.zw-text{font-size:14px}
.zw-covers{font-size:13px}
.zw-note{font-size:12.5px}
.zw-legend{font-size:12.5px}

/* 자미두수 맨 위 핵심 요약 */
.zw-summary{margin:16px 0 10px;padding:18px 18px 8px;border:1px solid rgba(243,211,139,.45);border-radius:16px;background:rgba(243,211,139,.06)}
.panel .zw-summary-title{margin:0 0 8px;font:700 19px/1.4 'Gowun Batang',serif}
.zw-sum-row{display:grid;grid-template-columns:84px 1fr;gap:10px;padding:10px 0;border-top:1px solid rgba(216,169,79,.24);font-size:14px;line-height:1.7}
.zw-sum-row strong{color:#f3d38b;font-weight:700}
.zw-sum-row span{color:#f5ead1;word-break:keep-all}

/* ── [10][16] 용어 "?" 와 한 줄 풀이 ── */
/* 전문 용어 옆 "?": 작고 흐리게(대표님 2026-10-22 — 크고 글자색이라 조잡). 누르면(aria-expanded) 금색으로. */
.term-q{position:relative;display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;margin:0 0 0 3px;padding:0;border:1px solid rgba(245,234,209,.2);border-radius:50%;background:transparent;color:rgba(245,234,209,.4);font:700 8px/1 'Noto Sans KR',sans-serif;vertical-align:middle;cursor:pointer}
.term-q::before{content:'';position:absolute;inset:-11px}
.term-q[aria-expanded=true]{background:#f3d38b;color:#050a12}
.term-q:focus-visible{outline:2px solid #f3d38b;outline-offset:2px}
.term-chip{width:auto;height:auto;min-height:32px;margin:0;padding:0 10px;gap:5px;border-color:rgba(216,169,79,.32);border-radius:999px;color:#f5ead1;font:500 12.5px/1.2 'Noto Sans KR',sans-serif}
.term-chip::before{inset:-4px 0}
.term-chip::after{content:'?';display:inline-grid;place-items:center;width:12px;height:12px;border:1px solid rgba(245,234,209,.25);border-radius:50%;color:rgba(245,234,209,.45);font-size:8px;font-weight:700}
.term-chip[aria-expanded=true]{background:rgba(243,211,139,.16);color:#f5ead1}
.term-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 6px}
.term-row::before{content:'용어 풀이';margin-right:2px;color:rgba(245,234,209,.55);font-size:12px}
.hero .term-row{margin-top:14px}
.chart-cell .term-q{width:12px;height:12px;margin-left:2px;font-size:8px}
.chart-row-head .term-q{width:12px;height:12px;margin-left:2px;font-size:8px}
.term-pop{position:absolute;z-index:60;padding:12px 14px;border:1px solid rgba(243,211,139,.5);border-radius:12px;background:#0b1626;color:#f5ead1;font-size:13.5px;line-height:1.65;word-break:keep-all;box-shadow:0 14px 34px rgba(0,0,0,.45)}
.term-pop b{display:block;margin-bottom:4px;color:#f3d38b;font-size:13px}
.term-pop[hidden]{display:none}

/* ── [G3] 원국 → 오행 원석 팔찌(가장 적은 기운) ── */
.element-pick{margin:16px 0 0;padding:16px 16px 14px;border:1px solid rgba(243,211,139,.42);border-radius:16px;background:rgba(243,211,139,.06)}
.element-pick-line{margin:0;color:#f5ead1;font:700 16px/1.6 'Noto Sans KR',sans-serif;word-break:keep-all}
.element-pick-line b{font-weight:700}
.element-pick .element-shop-link{display:inline-flex;align-items:center;min-height:40px;margin-top:6px;font-size:14px;line-height:1.5;word-break:keep-all}
.element-pick-note{margin:4px 0 0;color:rgba(245,234,209,.6);font-size:12.5px;line-height:1.6}

/* ── [G3] 결과 공유 카드: 버튼 + 카드 창 ── */
.share-bar{display:flex;justify-content:center;margin:20px 0 8px}
.share-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border:1px solid rgba(243,211,139,.62);border-radius:999px;background:rgba(243,211,139,.1);color:#f3d38b;font:700 14px 'Noto Sans KR',sans-serif;cursor:pointer}
.share-open::before{content:'';width:15px;height:15px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1 4.5 4.5l1 1L7.3 3.7V10h1.4V3.7l1.8 1.8 1-1zM2 9h1.4v4.6h9.2V9H14v6H2z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1 4.5 4.5l1 1L7.3 3.7V10h1.4V3.7l1.8 1.8 1-1zM2 9h1.4v4.6h9.2V9H14v6H2z'/%3E%3C/svg%3E") center/contain no-repeat}
.share-open:hover,.share-open:focus-visible{background:rgba(243,211,139,.18);outline:none;box-shadow:0 0 0 2px rgba(243,211,139,.35)}
/* 결과 맨 위(제목 줄 아래)의 작은 공유 버튼(VH): 같은 카드 창을 연다. 광고 게이트가 열린 뒤에만 생긴다. */
.share-top{min-height:36px;margin:2px 0 12px;padding:0 14px;font-size:12px}
.share-top::before{width:13px;height:13px}
html.share-sheet-open,html.share-sheet-open body{overflow:hidden}
.share-sheet{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(2,5,10,.78)}
.share-sheet-panel{box-sizing:border-box;width:min(420px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:14px 16px 16px;border:1px solid rgba(243,211,139,.45);border-radius:20px;background:#0b1626;color:#f5ead1;box-shadow:0 20px 50px rgba(0,0,0,.55)}
.share-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.panel .share-sheet-title,.share-sheet-title{margin:0;color:#f3d38b;font:700 18px/1.4 'Noto Sans KR',sans-serif}
.share-sheet-close{min-width:44px;min-height:40px;padding:0 12px;border:1px solid rgba(243,211,139,.4);border-radius:999px;background:transparent;color:#f5ead1;font:500 13px 'Noto Sans KR',sans-serif;cursor:pointer}
.share-sheet-preview{display:grid;place-items:center;min-height:120px}
.share-sheet-preview img{display:block;width:auto;max-width:100%;height:auto;max-height:min(50vh,430px);max-height:min(50dvh,430px);border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.45)}
.share-sheet-preview img[hidden]{display:none}
.share-sheet-wait{margin:0;color:rgba(245,234,209,.7);font-size:13.5px}
.share-sheet-wait[hidden]{display:none}
.share-sheet-who{margin-top:8px}
.share-sheet-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin-top:10px}
.share-act{min-height:46px;padding:0 10px;border:1px solid rgba(243,211,139,.55);border-radius:12px;background:transparent;color:#f5ead1;font:700 13.5px 'Noto Sans KR',sans-serif;cursor:pointer}
.share-act.share-save{border-color:#f3d38b;background:#f3d38b;color:#050a12}
.share-act:disabled{opacity:.45;cursor:default}
.share-act:focus-visible,.share-sheet-close:focus-visible{outline:2px solid #f3d38b;outline-offset:2px}
.share-sheet-status{min-height:1.4em;margin:8px 0 0;color:rgba(245,234,209,.75);font-size:12.5px;line-height:1.6;text-align:center;word-break:break-all}
html.is-app-ui .share-sheet{padding-bottom:calc(var(--app-tab-h,64px) + var(--app-safe-b,0px) + 12px)}

/* ── [M1] 운세 결과 맨 끝 "내 사주로 더 깊게" 권유 띠(대표님 2026-10-23: 행운 아이템 띠 같은 작은 띠 하나 — 큰 카드 금지, 남색 바탕·금색 테두리, 와인 면 없음.
   한 줄 제목 + 한 줄 설명 + 작은 [보러 가기]) · 오늘의 운세 7일 연속 보기(웹·앱 모두) ── */
/* 작은 띠(2026-10-23 운영 점검 2fa0f791 — 큰 카드·금색 채움 버튼 금지): 왼쪽 상품 이름(명조, 금색) + 권유 한 줄(고딕, 흐림), 오른쪽 작은 테두리 [보러 가기](34px). 남색 바탕·금색 테두리.
   머리말(eyebrow)·긴 설명(desc)은 띠에서 뺀다(마크업은 그대로 — tests/fortune-upsell.test.mjs). 큰 금색 버튼은 원국·미리보기의 [상세 풀이 보기] 하나뿐. */
.fortune-upsell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;margin:22px 0 6px;padding:12px 14px;border:1px solid var(--gold,#d8a94f);border-radius:18px;background:rgba(5,10,18,.4)}
.fortune-upsell-eyebrow{display:none}
.fortune-upsell .fortune-upsell-product{grid-column:1;grid-row:1;margin:0;color:var(--gold2,#f3d38b);font:700 16px/1.3 'Gowun Batang',serif;word-break:keep-all}
.fortune-upsell .fortune-upsell-product b{font-weight:700}
.fortune-upsell .fortune-upsell-line{grid-column:1;grid-row:2;margin:0;color:var(--muted,rgba(245,234,209,.62));font:400 13px/1.45 'Noto Sans KR',sans-serif;word-break:keep-all}
.fortune-upsell-price{display:none}
.fortune-upsell-desc{display:none}
.fortune-upsell .fortune-upsell-cta{grid-column:2;grid-row:1/span 2;display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border:1px solid var(--gold,#d8a94f);border-radius:8px;background:transparent;color:var(--gold2,#f3d38b);font:700 13px/1 'Noto Sans KR',sans-serif;text-decoration:none;white-space:nowrap}
.fortune-upsell .fortune-upsell-cta:hover,.fortune-upsell .fortune-upsell-cta:focus-visible{background:rgba(243,211,139,.12);outline:none}
.streak-line{margin:10px 0 14px;padding:9px 14px;border:1px solid rgba(243,211,139,.35);border-radius:999px;color:#f5ead1;font-size:13.5px;line-height:1.5;text-align:center;word-break:keep-all}
.streak-line::before{content:'✦ ';color:#f3d38b}
.streak-line.is-done{border-color:#f3d38b;background:rgba(243,211,139,.12);color:#f3d38b;font-weight:700}
.streak-line[hidden]{display:none}
.streak-line.streak-guest{padding:0;border:0;font-size:12.5px}
.streak-line.streak-guest::before{content:none}
.streak-guest a{color:rgba(245,234,209,.72);text-decoration:underline;text-underline-offset:3px}

/* ── [PF] 알림 진입(?from=push): 버튼 하나 → 결과 바텀시트. 공유 시트(.share-sheet·.share-sheet-panel·-head·-title·-close) 톤 재사용, 그라데이션 없음 ── */
.push-entry{display:grid;gap:12px;justify-items:center;padding:24px 18px 18px;border:1px solid rgba(243,211,139,.42);border-radius:18px;background:rgba(5,10,18,.55);text-align:center}
.push-entry-line{margin:0;color:#f5ead1;font:700 16px/1.6 'Noto Sans KR',sans-serif;word-break:keep-all}
.push-entry-line b{color:#f3d38b;font-weight:700}
.push-entry .push-entry-go{display:flex;box-sizing:border-box;width:100%;min-height:54px;margin-top:2px;align-items:center;justify-content:center;font-size:16px}
.push-entry-note{margin:0;color:rgba(245,234,209,.62);font-size:12.5px;line-height:1.6}
html.fortune-sheet-open,html.fortune-sheet-open body{overflow:hidden}
.fortune-sheet{align-items:flex-end;padding:0}
.fortune-sheet[hidden]{display:none}
.fortune-sheet-panel{width:min(560px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);padding:8px 18px calc(18px + env(safe-area-inset-bottom,0px));background:#070d18;border:1px solid rgba(216,169,79,.3);border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 30px 90px rgba(0,0,0,.6);overscroll-behavior:contain}
.fortune-sheet-grip{display:block;width:44px;height:4px;margin:0 auto 8px;border-radius:999px;background:rgba(245,234,209,.3)}
.fortune-sheet .share-sheet-head{position:sticky;top:0;z-index:1;margin:0 -18px 6px;padding:6px 18px 10px;border-bottom:1px solid rgba(245,234,209,.12);background:#070d18}
.fortune-sheet-body{padding-top:4px}
/* 운세 결과 시트 제목("오늘의 운세"·"내일의 운세")은 운세 제목이라 명조(2026-10-22 최종 점검). 공유 시트 제목("결과 카드")은 고딕 그대로. */
.fortune-sheet .share-sheet-title,.panel .fortune-sheet .share-sheet-title{font-family:'Gowun Batang',serif}
.fortune-sheet-body .today-head{margin-top:8px}
.fortune-sheet-body .coupang-gate{margin-top:8px}
.fortune-sheet-body .copy+.button{margin-top:14px}
/* 앱 화면(카셀 앱 + 휴대폰 웹): 결과 시트는 탭바를 덮는다. 오늘의 운세(mweb-today)는 아래 블록이 내용 맞춤 여백으로 덮어쓴다. */
html.is-app-ui .fortune-sheet{padding-bottom:0}
html.is-app-ui .fortune-sheet-panel{padding-bottom:calc(var(--app-tab-h,64px) + var(--app-safe-b,0px) + 14px)}
/* mweb-today — 오늘의 운세(앱 화면 html.is-app-ui = 카셀 앱 + 휴대폰 웹, 폭 ≤520 또는 터치 기기 — 판정 원천 src/lib/mweb-media.mjs): 진입 화면(03a/03c) + 결과 바텀시트(03b), 복원 B(2026-10-22 D4 — 앱도 같은 화면).
   page.js 가 <html>.mweb-today 를 붙이고, push-entry 에 날짜·serif 제목을 덧붙인다. 마우스 PC(>520)는 안 바뀐다. */
@media (max-width:520px), (pointer:coarse){
html.is-app-ui.mweb-today .hero{display:none}
/* 넓은 터치 화면(폴드 펼침·태블릿): 본문은 가운데 앱 폭 기둥(최대 520px), 결과 시트도 같은 폭. 휴대폰(≤520)은 화면이 더 좁아 효과 없음. */
html.is-app-ui.mweb-today .page{max-width:520px}
html.is-app-ui.mweb-today #today-badge{display:none}
/* 03a 진입(2026-10-22 대표님 결정 — 사주·운세 화면 = 시안 B, 이전 카드·글자·버튼): 날짜 한 줄 + 제목(고딕 24px = .panel h2) + 금색 버튼(44px, 모서리 12 — radius-spec v1)을 기존 .panel 카드 한 장에 */
html.is-app-ui.mweb-today .push-entry{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;margin:0;padding:22px 20px 20px;border:1px solid rgba(216,169,79,.24);border-radius:18px;background:rgba(5,10,18,.45);text-align:left}
html.is-app-ui.mweb-today .mweb-today-date{margin:2px 0 14px;color:rgba(245,234,209,.6);font:500 13.5px/1.5 var(--sans,'Noto Sans KR',sans-serif);letter-spacing:.01em}
html.is-app-ui.mweb-today .mweb-today-q{margin:0;color:var(--ivory,#f5ead1);font:400 24px/1.4 var(--sans,'Noto Sans KR',sans-serif);word-break:keep-all}
html.is-app-ui.mweb-today .mweb-today-q b{color:var(--gold2,#f3d38b);font-weight:700}
html.is-app-ui.mweb-today .push-entry:has(.mweb-today-q) .push-entry-line,
html.is-app-ui.mweb-today .push-entry:has(.mweb-today-q) .push-entry-note{display:none}
html.is-app-ui.mweb-today .push-entry .push-entry-go{width:100%;min-height:44px;margin:18px 0 0;border-radius:var(--r-btn,12px);font:700 14px var(--sans,'Noto Sans KR',sans-serif)}
html.is-app-ui.mweb-today #when-tabs{margin:2px 0 0;transform:scale(.92);transform-origin:left center}
html.is-app-ui.mweb-today .panel>.actions{margin-top:0}
html.is-app-ui.mweb-today #today-retest{display:inline-block;min-height:0;margin:0;padding:4px 0;border:0;background:none;color:rgba(245,234,209,.6);font-size:12.5px;text-decoration:underline;text-underline-offset:3px}
/* 03c 비회원 첫 방문: 사주 정보 입력 안내 + 금색 버튼(모서리 12, 같은 .panel 카드) */
html.is-app-ui.mweb-today .mweb-empty{padding:22px 20px 20px;border:1px solid rgba(216,169,79,.24);border-radius:18px;background:rgba(5,10,18,.45)}
html.is-app-ui.mweb-today .mweb-empty-q{margin:0;color:var(--ivory,#f5ead1);font:400 24px/1.4 var(--sans,'Noto Sans KR',sans-serif);word-break:keep-all}
html.is-app-ui.mweb-today .mweb-empty-sub{margin:10px 0 0;color:rgba(245,234,209,.7);font-size:14px;line-height:1.85;word-break:keep-all}
html.is-app-ui.mweb-today #today-retest.mweb-empty-cta{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:18px 0 0;padding:0;border:0;border-radius:var(--r-btn,12px);background:var(--gold2,#f3d38b);color:#050a12;font:700 14px var(--sans,'Noto Sans KR',sans-serif);text-decoration:none}
/* 03b 결과 바텀시트(2026-10-22 대표님 결정): 시트 흐름은 그대로, 안의 모양은 이전 결과 화면(육각형 그래프·종합 점수·분야 칸·한마디 — site.css 기본 모양)으로.
   여기서는 넓은 터치 화면의 가운데 기둥 폭과 sheet-fit(손잡이·머리·칸 사이 여백 줄이기)만. */
html.is-app-ui.mweb-today .fortune-sheet-panel{padding:4px 16px calc(12px + env(safe-area-inset-bottom,0px));max-width:520px}
html.is-app-ui.mweb-today .fortune-sheet-grip{width:36px;margin:0 auto 2px}
html.is-app-ui.mweb-today .fortune-sheet .share-sheet-head{margin:0 -16px 4px;padding:2px 16px 6px}
html.is-app-ui.mweb-today .fortune-sheet .share-sheet-title{font-size:17px}
html.is-app-ui.mweb-today .fortune-sheet .share-sheet-close{min-width:0;min-height:32px;padding:0 12px;font-size:12.5px}
html.is-app-ui.mweb-today .fortune-sheet-body{padding-top:0}
html.is-app-ui.mweb-today .fortune-sheet-body .today-head{margin:4px 0 6px}
html.is-app-ui.mweb-today .fortune-sheet-body .share-top{min-height:34px;margin:0 0 6px}
html.is-app-ui.mweb-today .fortune-sheet-body .streak-line{margin:4px 0 8px;padding:6px 12px}
html.is-app-ui.mweb-today .fortune-sheet-body .today-title{margin-top:4px;margin-bottom:8px}
html.is-app-ui.mweb-today .fortune-sheet-body .today-lucky{margin-top:8px;margin-bottom:10px}
html.is-app-ui.mweb-today .fortune-sheet-body .lucky-tile{padding:8px 6px}
html.is-app-ui.mweb-today .fortune-sheet-body .today-radar-wrap{margin:4px auto 8px}
html.is-app-ui.mweb-today .fortune-sheet-body .today-total{margin:6px 0 0}
html.is-app-ui.mweb-today .fortune-sheet-body .today-grid{gap:8px;margin:10px 0}
html.is-app-ui.mweb-today .fortune-sheet-body .today-cell{padding:10px 12px}
html.is-app-ui.mweb-today .fortune-sheet-body .today-advice{margin:12px 0 4px;padding:12px 14px}
html.is-app-ui.mweb-today .fortune-sheet-body .share-bar{margin:10px 0 2px}
html.is-app-ui.mweb-today .fortune-sheet-body .share-open{min-height:42px}
html.is-app-ui.mweb-today .fortune-sheet-body .fortune-upsell{margin:12px 0 2px;padding:14px 14px 12px}
html.is-app-ui.mweb-today .fortune-sheet-body .fortune-upsell-line{margin:4px 0 8px}
html.is-app-ui.mweb-today .fortune-sheet-body .fortune-upsell-desc{margin:4px 0 10px}
html.is-app-ui.mweb-today .fortune-sheet-body .gate-preview{margin:4px auto 0;padding:12px 14px 10px}
html.is-app-ui.mweb-today .fortune-sheet-body .gate-preview-title{margin:6px 0 4px;font-size:17px}
html.is-app-ui.mweb-today .fortune-sheet-body .gate-preview-lead{line-height:1.7}
html.is-app-ui.mweb-today .fortune-sheet-body .gate-preview-more{margin-top:4px}
html.is-app-ui.mweb-today .fortune-sheet-body .gate-preview+.coupang-gate{margin-top:8px}
}
/* /mweb-today */
/* radius-mweb (radius-spec v1, 2026-10-22): 휴대폰·터치 기기(앱 포함 — 판정 원천 src/lib/mweb-media.mjs)만 — 결과 바텀시트 위 모서리 24, 시트 닫기·작은 공유 버튼 8,
   공유 버튼 12, 결과 카드 창(가운데) 18, 시트 안 분야 칸 12(시트 24 → 한 단계 작게 — 앱 운세 결과 .cell 과 같은 값). 넓은 마우스 PC 결과 화면은 그대로. */
@media (max-width:520px), (pointer:coarse){
.fortune-sheet-panel{border-radius:var(--r-sheet,24px) var(--r-sheet,24px) 0 0}
.share-open{border-radius:var(--r-btn,12px)}
.share-sheet-close,.share-open.share-top{border-radius:var(--r-btn-sm,8px)}
.share-sheet-panel:not(.fortune-sheet-panel){border-radius:var(--r-dlg,18px)}
.fortune-sheet-body .today-cell{border-radius:var(--r-cell,12px)}
}
/* /radius-mweb */
/* upsell-picks: 결과 끝 권유 카드·행운 아이템 쿠팡 상품 한 줄(2026-10-22). 모서리 radius-spec: 카드 18 · 안의 버튼·줄 12 · 상품 그림 8. PC 웹 카드 모양은 그대로. */
@media (max-width:520px),(pointer:coarse){.fortune-upsell .fortune-upsell-cta{border-radius:var(--r-btn-sm,8px)}}
.lucky-pick{margin:-10px 0 20px}
.lucky-pick-row{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 12px;border:1px solid rgba(245,234,209,.22);border-radius:12px;background:rgba(245,234,209,.04);color:inherit;text-decoration:none}
.lucky-pick-row:hover,.lucky-pick-row:focus-visible{border-color:rgba(243,211,139,.6);outline:none}
.lucky-pick-img{flex:none;width:44px;height:44px;border-radius:8px;object-fit:cover;background:#fff}
.lucky-pick-text{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.lucky-pick-tag{color:var(--gold2,#f3d38b);font:600 11.5px/1.4 var(--sans,'Noto Sans KR',sans-serif)}
.lucky-pick-name{overflow:hidden;color:var(--ivory,#f5ead1);font:600 13.5px/1.45 var(--sans,'Noto Sans KR',sans-serif);text-overflow:ellipsis;white-space:nowrap}
.lucky-pick-price{display:flex;flex:none;flex-direction:column;align-items:flex-end;color:var(--ivory,#f5ead1);font:700 13px/1.4 var(--sans,'Noto Sans KR',sans-serif);white-space:nowrap}
.lucky-pick-price small{color:var(--muted,rgba(245,234,209,.6));font-size:11px;font-weight:500}
.lucky-pick-note{margin:6px 2px 0;color:var(--muted,rgba(245,234,209,.6));font-size:11px;line-height:1.5;text-align:right;word-break:keep-all}
html.is-app-ui.mweb-today .fortune-sheet-body .lucky-pick{margin:-4px 0 10px}
/* PC(마우스, 넓은 화면): 세 칸 중 "행운의 아이템" 칸 바로 아래에 그 칸 폭으로 */
@media (min-width:521px) and (pointer:fine){.lucky-pick{width:calc((100% - 20px) / 3);margin:-10px 0 20px auto}}
/* /upsell-picks */

/* 나의 원국 이야기(무료 원국 natalReading, 2026-10-26): 원국 표 바로 아래 섹션. 칩 없이 줄 목록 — 제목(명조)·본문(고딕)·근거(작은 흐린 금색). */
#sample-facts .natal-story-headline{margin:2px 0 10px;color:var(--gold2,#f3d38b);font:700 17px/1.55 var(--serif,'Gowun Batang',serif);word-break:keep-all;overflow-wrap:anywhere}
#sample-facts .natal-story-list{margin:0;padding:0;list-style:none}
#sample-facts .natal-story-item{min-width:0;margin:0;padding:13px 0;border-top:1px solid rgba(216,169,79,.16)}
#sample-facts .natal-story-item:first-child{border-top:0;padding-top:6px}
#sample-facts .natal-story-item:last-child{padding-bottom:2px}
#sample-facts .natal-story-heading{margin:0 0 6px;color:var(--ivory,#f5ead1);font:700 15.5px/1.45 var(--serif,'Gowun Batang',serif);word-break:keep-all;overflow-wrap:anywhere}
#sample-facts .natal-story-body{margin:0;color:rgba(245,234,209,.86);font:400 14px/1.75 var(--sans,'Noto Sans KR',sans-serif);word-break:keep-all;overflow-wrap:anywhere}
#sample-facts .natal-story-evidence{margin:7px 0 0;color:rgba(243,211,139,.62);font:400 12px/1.5 var(--sans,'Noto Sans KR',sans-serif);word-break:keep-all;overflow-wrap:anywhere}
