/* 10/31 시안 result.html?rest=b — 판매 카드~끝. 배치·여백은 청월당 실측(390px 기준), 색·글꼴·그림은 태생 */
.rb { --iv:#f3ecdf; --pa:#fbf6ec; --ink:#2a2119; --sub:#6d5f4f; --gd:#b5842c; --gd2:#e8c27a; --dk:#17110c; --br:#2a1c12; background:var(--iv); color:var(--ink); font-family:'Noto Sans KR',sans-serif; overflow:hidden; text-align:center; word-break:keep-all; }
:where(.rb) h2, :where(.rb) h3 { font-family:'Noto Serif KR',serif; font-weight:800; margin:0; letter-spacing:-.01em; }
:where(.rb) p { margin:0; } :where(.rb) img { display:block; } :where(.rb) ul, :where(.rb) ol { list-style:none; margin:0; padding:0; }
.rb em { font-style:normal; color:var(--gd); }
.rb mark { background:#ffe7a8; color:inherit; padding:0 2px; }
.rb-say { position:absolute; z-index:3; display:flex; align-items:center; justify-content:center; width:150px; height:150px; border-radius:50%; background:#fffaf0; border:1.5px solid #1d140d; color:var(--ink); font:500 16px/1.5 'Noto Sans KR',sans-serif; text-align:center; }
.rb-say::after { content:''; position:absolute; left:58%; bottom:-22px; width:16px; height:30px; background:#fffaf0; border-right:1.5px solid #1d140d; clip-path:polygon(0 0,100% 0,60% 100%); }
.rb-hr { display:block; height:1px; margin:44px 0; background:var(--gd2); position:relative; } .rb-hr::after { content:'◆'; position:absolute; left:50%; top:-10px; transform:translateX(-50%); font-size:13px; color:var(--gd); background:var(--iv); padding:0 6px; }
.rb-dots { display:block; width:4px; height:4px; margin:30px auto; border-radius:50%; background:#bbb; box-shadow:0 -14px #bbb, 0 14px #bbb; }
.rb-fine { margin-top:24px; font-size:11.5px; color:var(--sub); } .rb-fine.dk { color:#a9987f; }

.rb-card { padding:96px 24px 84px; background:linear-gradient(var(--iv), #e9dfca); }
.rb-count { font-size:17px; color:var(--ink); font-weight:500; }
.rb-yr { margin-top:40px; font:700 24px/1 'Song Myung',serif; }
.rb-title { font:700 76px/1.15 'Song Myung',serif !important; background:linear-gradient(120deg,#2a1c12,#7c5a26 55%,#2a1c12); -webkit-background-clip:text; background-clip:text; color:transparent; }
.rb-box { position:relative; margin-top:38px; padding:32px 26px 0; background:#fff; border-radius:18px; text-align:left; box-shadow:0 8px 24px rgba(70,50,20,.12); overflow:hidden; }
.rb-badge { position:absolute; top:0; left:50%; transform:translateX(-50%); padding:8px 16px; background:var(--gd); color:#fff; font-weight:700; font-size:15px; white-space:nowrap; }
.rb-box h3 { margin-top:16px; padding-bottom:18px; border-bottom:1px solid #e4dccd; text-align:center; font-size:22px; }
.rb-box ul { margin-top:16px; position:relative; z-index:1; } .rb-box li { position:relative; padding:0 0 0 28px; font:500 15px/34px 'Noto Sans KR',sans-serif; } .rb-box li::before { content:'✓'; position:absolute; left:0; top:8px; width:19px; height:19px; border-radius:50%; background:var(--ink); color:#fff; font:700 12px/19px sans-serif; text-align:center; }
.rb-cardyang { position:absolute; right:-16px; top:150px; width:170px; -webkit-mask:linear-gradient(90deg,transparent,#000 30%), linear-gradient(#000 70%,transparent); -webkit-mask-composite:source-in; mask-composite:intersect; }
.rb-note { position:relative; z-index:1; margin:22px 0 22px; padding:12px; background:var(--pa); border:1px solid var(--gd2); font-size:13.5px; text-align:center; }
.rb-box dl { display:grid; grid-template-columns:1fr auto; gap:14px 8px; margin:0; font:700 15px/1.3 'Noto Sans KR',sans-serif; } .rb-box dd { margin:0; } .rb-box dd.y { color:#a3421f; }
.rb-final { display:flex; justify-content:space-between; align-items:center; margin-top:20px; padding:20px 4px 24px; border-top:1px solid #e4dccd; font-weight:700; } .rb-final b { font:800 34px/1 'Noto Sans KR',sans-serif; }
.rb-cta { margin:0 -26px; } .rb-cta summary.btn, .rb-cta .btn { display:block; width:100%; padding:20px 0; background:var(--br); color:#ffe6ae; border:0; border-radius:0; font:700 18px/1 'Noto Sans KR',sans-serif; text-align:center; list-style:none; cursor:pointer; } .rb-cta summary::-webkit-details-marker { display:none; }
.rb-cta .ord-b { padding:18px 24px; font-size:14px; line-height:1.7; background:var(--pa); } .rb-cta .ord-h { font-weight:700; } .rb-cta .ord-b li { padding:0; font-size:14px; line-height:1.7; } .rb-cta .ord-b li::before { display:none; }

.rb-night { position:relative; background:#201610; } .rb-night img { width:100%; aspect-ratio:2/2.9; object-fit:cover; object-position:50% 10%; }
.rb-night .tl { left:32px; top:-40px; width:170px; height:170px; } .rb-night .tl::after { left:60%; }
.rb-night .bl { left:28px; bottom:-60px; width:180px; height:180px; } .rb-night .bl::after { top:-22px; bottom:auto; left:62%; transform:rotate(180deg); }

.rb-dark { position:relative; padding:150px 24px 0; background:radial-gradient(120% 60% at 50% 20%,#352a20,#17110c); color:#efe6d6; }
.rb-dark h2 { font-size:27px; line-height:1.5; } .rb-dark h2 em { color:var(--gd2); }
.rb-sub { font-size:18px; line-height:1.6; color:#c8bba8; }
.rb-float { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:40px -8px 0; } .rb-float span { padding:22px 10px; border:1px solid rgba(232,194,122,.35); font-size:13px; line-height:1.6; color:#d7ccba; } .rb-float i { font-style:normal; color:var(--gd2); }
.rb-dark .rb-say { width:auto; height:auto; padding:14px 22px; border-radius:30px; border:0; font-size:17px; font-weight:700; } .rb-dark .rb-say::after { display:none; }
.rb-dark .c1 { position:relative; display:inline-block; margin:26px 60px 0 0; } .rb-dark .c2 { position:relative; display:inline-block; margin:14px 0 0 90px; }
.rb-big { margin-top:68px; font-size:20px; line-height:1.7; color:#d7ccba; } .rb-big b { font:800 26px/1.5 'Noto Serif KR',serif; color:#fff; }
.rb-worry { width:100%; margin:18px -24px 0; width:calc(100% + 48px); max-width:none; -webkit-mask:linear-gradient(#000 80%,transparent); mask:linear-gradient(#000 80%,transparent); }

.rb-door { position:relative; padding:44px 24px 96px; background:linear-gradient(rgba(243,223,174,.75),rgba(232,208,162,.9)),url(art/looks/cloud_tile.webp); border-radius:50% 50% 0 0 / 56px 56px 0 0; margin-top:-30px; color:var(--br); font-family:'Noto Serif KR',serif; }
.rb-door .a { font:800 24px/1.2 'Noto Serif KR',serif; } .rb-door .b { margin-top:30px; font-size:19px; color:#5a4834; } .rb-door .c { margin-top:12px; font-size:30px; font-weight:800; } .rb-door i { display:block; width:1px; height:44px; margin:24px auto 0; background:var(--br); } .rb-door .d { margin-top:12px; font-size:33px; font-weight:800; }

.rb-ivory { position:relative; margin-top:-34px; padding:56px 0 60px; background:var(--iv); border-radius:18px 18px 0 0; } .rb-ivory > h2 { font-size:28px; line-height:1.45; color:var(--br); }
.rb-tiny { margin-top:8px; font-size:12.5px; color:var(--sub); }
.rb-tag { margin:42px 28px 26px; padding:18px 10px; background:var(--pa); border:1px solid #ecdcc0; font:700 17px/1.5 'Noto Serif KR',sans-serif; box-shadow:0 2px 10px rgba(120,90,40,.08); }
.rb-tiny + .rb-tag { margin-top:44px; }
.rb-row { display:flex; gap:12px; width:130%; margin-bottom:14px; } .rb-row img { flex:1; min-width:0; aspect-ratio:3/4; object-fit:cover; border-radius:12px; } .rb-row.r1 { margin-left:0; } .rb-row.r2 { margin-left:-30%; }
.rb-ex { max-width:320px; margin:28px 0 0 24px; text-align:left; } .rb-ex.r { margin-left:auto; margin-right:18px; text-align:right; } .rb-ex p { padding:16px 20px; border-radius:30px 30px 30px 6px; background:linear-gradient(#fff,#f7eedd); box-shadow:0 3px 10px rgba(90,60,20,.14); font-size:14.5px; line-height:1.55; font-weight:500; text-align:center; } .rb-ex.r p { border-radius:30px 30px 6px 30px; }
.rb-ex span { display:inline-flex; align-items:center; gap:8px; margin-top:8px; font-size:12.5px; color:var(--sub); } .rb-ex span img { width:24px; height:24px; border-radius:50%; object-fit:cover; object-position:50% 12%; }
.rb-habit { width:124%; margin-left:-12%; aspect-ratio:3/2; background-size:cover; background-position:center; }
.rb-luck { margin:0 24px; padding:30px 30px 20px; border-radius:18px; background:#f7f0e2; border:1px solid #e2d6bf; box-shadow:0 4px 14px rgba(80,60,20,.1); } .rb-luck p { font:600 15px/1 'Noto Serif KR',serif; } .rb-luck h3 { margin-top:8px; padding-bottom:16px; border-bottom:1px solid #cfc2aa; font-size:24px; }
.rb-luck ul { padding:16px 0; border-bottom:1px solid #cfc2aa; text-align:left; } .rb-luck li { display:flex; gap:10px; align-items:center; font:700 13.5px/34px 'Noto Sans KR',sans-serif; } .rb-luck li i { flex:none; width:20px; height:20px; border-radius:4px; font:700 11px/20px 'Noto Serif KR',serif; text-align:center; } .rb-luck .g { background:#e5eedd; color:#476b3b; } .rb-luck .b { background:#f6e0d6; color:#a3421f; } .rb-luck small { display:block; margin-top:12px; font-size:11.5px; color:var(--sub); }
.rb-h2b { font-size:30px; color:var(--br); } .rb-lead { margin-top:12px; font-size:16px; line-height:1.7; }

.rb-num { position:relative; background:#efe6d6; } .rb-num > img { width:100%; aspect-ratio:1/1.05; object-fit:cover; object-position:50% 6%; } .rb-num svg { display:block; width:100%; height:40px; margin-top:-40px; position:relative; fill:var(--br); }
.rb-num .inn { padding:24px 22px 66px; background:var(--br); color:#fff; } .rb-rings { display:flex; align-items:center; justify-content:center; gap:6px; } .rb-rings > div { flex:none; width:152px; height:152px; border-radius:50%; border:2px solid var(--gd2); box-shadow:inset 0 0 0 5px var(--br), inset 0 0 0 6px rgba(232,194,122,.6); display:flex; flex-direction:column; justify-content:center; } .rb-rings b { font:800 28px/1.3 'Noto Serif KR',serif; padding-bottom:6px; margin:0 26px 8px; border-bottom:1px solid var(--gd2); } .rb-rings span { font-size:11.5px; line-height:1.5; color:#ddd0bb; } .rb-rings em { color:#fff; font-size:22px; }
.rb-chev { display:block; margin:12px 0 18px; font-style:normal; font-size:22px; color:#ddd0bb; } .rb-band { display:inline-block; font:800 30px/1.2 'Noto Serif KR',serif; } .rb-after { margin-top:12px; font-size:22px; font-weight:300; }

.rb-p { position:relative; padding:58px 0 0; } .pill { display:inline-block; padding:4px 13px; border:1.5px solid var(--gd); border-radius:20px; color:var(--gd); font-size:14.5px; font-weight:500; } .rb-p h2 { margin-top:16px; font-size:29px; line-height:1.5; } .rb-p .ln { display:block; width:22px; height:1px; margin:22px auto; background:#9d8d76; } .rb-p > p { font-size:15px; line-height:1.7; }
.p1 { background:var(--pa); }
.rb-coll { position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:38px 0 0; padding:0 8px 60px; height:520px; overflow:hidden; } .rb-coll img { width:100%; height:240px; object-fit:cover; object-position:50% 14%; border-radius:8px; } .rb-coll img:nth-child(3n+2) { margin-top:36px; }
.rb-coll::after { content:''; position:absolute; inset:50% 0 0; background:linear-gradient(transparent,var(--dk)); } .rb-coll .k1 { width:92px; height:92px; left:10px; top:60px; font-size:13px; } .rb-coll .k2 { width:92px; height:92px; right:12px; top:190px; font-size:13px; }
.p2 { background:var(--dk); color:#efe6d6; padding-top:34px; } .p2 .pill { border-color:var(--gd2); color:var(--gd2); } .p2 h2 em { color:var(--gd2); } .p2 > p { color:#cdbfa9; }
.rb-bk { position:relative; margin-top:26px; height:496px; background:radial-gradient(closest-side, rgba(232,194,122,.2), rgba(232,194,122,0)); }
.rb-bk figure { position:absolute; left:50%; top:14px; width:330px; margin:0 0 0 -165px; } .rb-bk figure img { display:block; width:100%; filter:drop-shadow(0 14px 22px rgba(0,0,0,.55)); } .rb-bk figcaption { position:absolute; left:49.5%; top:73.6%; width:50%; transform:translate(-50%,-50%); text-align:center; color:#3b2714; font-family:'Song Myung',serif; font-weight:700; line-height:1.12; word-break:break-all; } .rb-bk figcaption span { white-space:nowrap; } /* 긴 이름(최대 20자)은 잘리지 않고 두 줄로 — '님의'만 따로 떨어지지 않게 */
.rb-mk { margin-top:12px; padding:0 26px; } .rb-mk li { display:table; margin:12px auto; padding:5px 10px; background:#f7f0e2; color:var(--ink); font-size:14.5px; } .rb-mk li:nth-child(odd) { transform:translateX(-10px); } .rb-mk li:nth-child(even) { transform:translateX(10px); }
.p2 .v { display:block; height:60px; margin-top:30px; background:var(--iv); clip-path:polygon(0 0,50% 100%,100% 0,100% 100%,0 100%); }
.p3 { background:var(--iv); padding-top:20px; margin-top:-1px; } /* 11/6 동생: 위 칸과 경계가 소수점 위치에 걸리면 검은 줄이 비침 → 1px 겹침 */ .rb-toc { position:relative; margin:30px 12px 54px; padding:34px 22px 34px; background:#faf4e7 url(art/looks/cloud_tile.webp); background-blend-mode:soft-light; border:3px double var(--gd); text-align:left; } .rb-toc .c { position:absolute; width:26px; height:26px; background:url(art/looks/orn_corner.webp) center/contain no-repeat; } .c.a { left:6px; top:6px; } .c.b { right:6px; top:6px; transform:scaleX(-1); } .c.d { left:6px; bottom:6px; transform:scaleY(-1); } .c.e { right:6px; bottom:6px; transform:scale(-1); }
.tbook { width:190px; margin:0 auto; } .tbook-f { position:relative; width:190px; margin:0 auto; } .tbook-f .tbook { display:block; width:100%; }
.tbook-f figcaption { position:absolute; left:49.5%; top:73.6%; width:50%; transform:translate(-50%,-50%); text-align:center; color:#3b2714; font-family:'Song Myung',serif; font-weight:700; line-height:1.12; word-break:break-all; } .tbook-f figcaption span { white-space:nowrap; } /* 11/9 동생: 작은 책 이름표에도 손님 이름 (큰 책과 같은 자리) */
.tn { margin:12px 0 26px; padding:12px; background:#fff; font-size:13.5px; text-align:center; } .rb-toc h3 { margin:26px 0 10px; padding-left:12px; border-left:5px solid var(--gd); font-size:18px; } .rb-toc li { padding:11px 6px; border-bottom:1px solid #d9cdb6; font-size:14.5px; } .tsay { display:flex; align-items:center; gap:10px; margin-top:16px; } .tsay.r { flex-direction:row-reverse; } .tsay img { flex:none; width:62px; height:62px; border-radius:50%; object-fit:cover; object-position:50% 12%; border:3px solid var(--gd2); } .tsay p { flex:1; padding:12px 14px; background:#fff; border-radius:12px; font:500 12.5px/1.55 'Noto Serif KR',serif; text-align:center; }

.rb-who { padding:60px 18px 0; background:#271a15; color:#efe6d6; } .rb-who > :not(.rb-road) { position:relative; z-index:1; } .rb-who .rb-road { display:block; width:calc(100% + 36px); max-width:none; height:auto; margin:calc((100% + 36px) * -1.3) -18px 0; -webkit-mask:linear-gradient(#000 calc(100% - 230px),rgba(0,0,0,.72) calc(100% - 160px),rgba(0,0,0,.28) calc(100% - 80px),transparent); mask:linear-gradient(#000 calc(100% - 230px),rgba(0,0,0,.72) calc(100% - 160px),rgba(0,0,0,.28) calc(100% - 80px),transparent); } /* 11/6 동생: 갈림길 사진 — 위쪽 어두운 하늘을 글 뒤로 겹치고, 아래는 서재 사진 쪽으로 서서히 */ .rb-who h2 { font-size:30px; line-height:1.5; font-weight:500; margin-bottom:30px; } .rb-who h2 em { color:var(--gd2); font-weight:800; }
.rb-who .l, .rb-who .r { display:table; margin:0 0 20px; padding:14px 13px; background:#3a332d; border-radius:6px; font-size:14px; } .rb-who .r { margin-left:auto; } .rb-who .m { font-size:19px; } .rb-who .bigt { color:#fff; margin-top:20px; font:800 24px/1.3 'Noto Serif KR',serif; } .rb-who .hl { display:inline-block; margin-top:10px; padding:6px 12px; background:var(--gd); font:800 24px/1.3 'Noto Serif KR',serif; }
.rb-sky { position:relative; background:linear-gradient(#271a15 50%,#4a372e 50%); overflow:hidden; } .rb-sky .h { position:relative; z-index:2; padding:14px 16px 0; color:#fff; font-size:24px; line-height:1.5; text-align:center; word-break:keep-all; text-shadow:0 1px 8px rgba(0,0,0,.7); font-family:'Noto Serif KR',serif; } .rb-sky > img { display:block; width:100%; height:auto; margin-top:-14px; -webkit-mask:linear-gradient(transparent,rgba(0,0,0,.3) 70px,rgba(0,0,0,.75) 140px,#000 210px,#000 calc(100% - 36px),transparent); mask:linear-gradient(transparent,rgba(0,0,0,.3) 70px,rgba(0,0,0,.75) 140px,#000 210px,#000 calc(100% - 36px),transparent); } /* 11/6 동생: 세로로 긴 사진을 끝까지 · 글 상자는 사진 아래쪽 안에 · 문구는 두 사진 사이 어둠 위, 사진은 그 아래에서 서서히 */
.rb-glass { position:absolute; z-index:2; left:12px; right:12px; bottom:22px; padding:22px 16px 18px; border-radius:16px; background:linear-gradient(rgba(255,250,240,.72),#fbf6ec 42%); backdrop-filter:blur(8px); } .st { color:#e0a54c; letter-spacing:4px; } .rb-glass h3 { margin-top:10px; font-weight:500; font-size:21px; } .rb-glass h3 b { font-weight:800; } .rb-glass ul { margin-top:12px; text-align:left; } .rb-glass li { position:relative; padding:9px 0 9px 28px; border-bottom:1px solid #e6dcc9; font-size:14.5px; } .rb-glass li:last-child { border:0; } .rb-glass li::before { content:'✓'; position:absolute; left:2px; top:9px; color:var(--gd); font-weight:800; }

.rb-greet { margin-top:-1px; background:linear-gradient(#4a372e 50%,#f8f4ec 50%); } .rb-greet > img { display:block; width:100%; height:auto; -webkit-mask:linear-gradient(transparent,rgba(0,0,0,.14) 50px,rgba(0,0,0,.42) 110px,rgba(0,0,0,.76) 170px,#000 240px,#000 calc(100% - 150px),rgba(0,0,0,.72) calc(100% - 100px),rgba(0,0,0,.28) calc(100% - 45px),transparent); mask:linear-gradient(transparent,rgba(0,0,0,.14) 50px,rgba(0,0,0,.42) 110px,rgba(0,0,0,.76) 170px,#000 240px,#000 calc(100% - 150px),rgba(0,0,0,.72) calc(100% - 100px),rgba(0,0,0,.28) calc(100% - 45px),transparent); } /* 11/6 동생: 마지막 편지는 그림 한 장으로 · 위는 서재 사진 맨 아래 색, 아래는 푸터 색에서 이어짐 */
.rb-foot { padding:28px 20px 130px; background:#f8f4ec; color:#a39888; font-size:12px; line-height:1.9; } .rb-foot img { width:80px; margin:0 auto 12px; filter:sepia(1) saturate(1.6) brightness(.6); } /* 11/18 새 로고는 테두리 없는 크림색이라 밝은 바닥에서 갈색으로 */
/* 10/31 사장님: 책 앞 양선생 그림 뺌 — 글이 나타나는 신호(.in)가 이 칸을 보고 켜지므로 칸은 높이 0으로 남김 */
.bk2 .bk-fig { width:100%; height:0; aspect-ratio:auto; margin:0; }
/* 그림이 빠진 자리: 대사 위 숨 쉴 틈만 두고, 카드 아래 틈은 줄여 판매 카드로 바로 이음 */
.bk2 { padding-top:56px; padding-bottom:0; } body .after { padding-bottom:40px; }
/* 10/31 장면 상자 (책 장면 먼저): 상자 폭 = 칸 폭, 높이 = 폭×16/9 · 안의 위치는 %, 글자는 상자 폭 기준(cqw)이라 함께 커지고 줄어듦 · 위아래 남는 곳은 .bk-bg 가 채움 */
.bk-st.boxed { container-type:inline-size; padding-bottom:0; background:#1a120c; --bw:100cqw; }
.bk-bg { position:absolute; inset:-8%; width:116%; height:116%; filter:blur(22px) brightness(.72); }
.bk-box { position:absolute; left:0; top:max(0px, calc((var(--sh, 100svh) - 110px - var(--bw) * 16 / 9) / 2)); width:var(--bw); aspect-ratio:9 / 16; margin:0; overflow:hidden; -webkit-mask-image:linear-gradient(transparent, #000 5%, #000 80%, transparent 90%); mask-image:linear-gradient(transparent, #000 5%, #000 80%, transparent 90%); }
.bk-box .bk-cap { top:9%; font-size:21px; font-size:5.4cqw; }
.bk-box .bk-roll { top:15%; height:38%; }
.bk-box .bk-rl p { margin-bottom:4.1cqw; font-size:22px; font-size:5.6cqw; } .bk-box .bk-rl p.nm { font-size:30px; font-size:7.7cqw; }
.bk-box .bk-books { position:absolute; left:50%; top:60%; width:88cqw; margin:0; transform:translate(-50%, -50%); z-index:3; }
/* 10/31 사장님 "청월당처럼 폰이든 PC든 일정한 비율": 폭 448px 넘는 모든 화면(큰 폰·접는 폰·태블릿·PC)을 같은 칸으로 */
.paybar { box-sizing:border-box; }
@media (min-width:449px) {
  .stage, .read { left:50%; right:auto; width:var(--col); transform:translateX(-50%); }
  .after, #rest.v15wrap { width:var(--col); max-width:100%; margin-left:auto; margin-right:auto; box-sizing:border-box; }
  .paybar { left:50%; right:auto; width:var(--col); transform:translate(-50%, 110%); } .paybar.on { transform:translateX(-50%); }
}
/* 10/31 사장님: 그림은 자르지 않음(청월당처럼 칸 폭에 통째로) · 화면이 그림보다 길면 가운데 두고 남는 곳은 구름으로 · 11/9 동생: 큰 화면에서 영상 위가 텅 비어 뚝 끊겨 보여서 위에 붙임(남는 곳은 아래 구름으로) */
.yj-st { justify-content:flex-start; background:linear-gradient(rgba(241,224,206,.45), rgba(241,211,185,.6)), url(art/looks/cloud_tile.webp) center top / 100% auto repeat-y, #f1d3b9; }
/* 10/31 달력: 옆으로 밀어 넘기기 + 세로 줄이기 (넘김 코드는 result.html "swipe") */
.fl.sw { height:auto !important; }
.fl-nav { display:flex; align-items:center; justify-content:center; gap:18px; margin:0 0 12px; font:700 15px/1 'Noto Serif KR',serif; color:#5a4030; } .fl-nav span { min-width:92px; text-align:center; }
.fl-nav button { width:38px; height:38px; padding:0 0 3px; border:1px solid rgba(176,125,44,.5); border-radius:50%; background:#fffaf2; color:#8a5d10; font:400 24px/1 serif; cursor:pointer; } .fl-nav button:disabled { opacity:.35; cursor:default; }
.fl.sw .fl-win { display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; border-radius:0 0 18px 18px; } .fl.sw .fl-win::-webkit-scrollbar { display:none; }
.fl.sw .fl-p { flex:0 0 100%; min-width:0; overflow:hidden; margin:0 !important; scroll-snap-align:start; scroll-snap-stop:always; display:flex; } .fl.sw .fl-p > .al-pp { flex:1; min-width:0; box-sizing:border-box; padding:20px 14px 16px; }
.fl.sw .al-hd { margin:0 0 2px; } .fl.sw .al-hd span { flex-basis:76px; padding:5px 0; font-size:11.5px; } .fl.sw .al-hd b { font-size:21px; }
.fl.sw .al-big { min-height:96px; } .fl.sw .al-n { font-size:78px; } .fl.sw .al-n small { font-size:19px; } .fl.sw .al-pine { width:52%; }
.fl.sw .al-big .nw-md { width:50px !important; height:50px !important; margin-top:2px !important; } .fl.sw .al-v { font-size:11px; }
.fl.sw .nw-mh { margin:6px 0 8px; font-size:19px; } .fl.sw .sc-dv { display:none; }
.fl.sw .al-yj { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; padding:8px 4px; } .fl.sw .al-r { display:block; min-width:0; margin:0; padding:2px 6px; border:0; text-align:center; } .fl.sw .al-r + .al-r { border-left:1px dashed rgba(176,125,44,.4); } .fl.sw .al-s { display:none; } .fl.sw .al-c { justify-content:center; } .fl.sw .al-r b { font-size:21px; } .fl.sw .al-r small { display:block; border:0; padding:0; word-break:keep-all; }
.fl.sw .nw-story { margin-top:12px; } .fl.sw .nw-story p { margin-bottom:6px; font-size:14.5px; line-height:1.6; } .fl.sw .nw-story p.pre { font-size:12.5px; } .fl.sw .nw-tip { margin-top:10px !important; padding:10px 12px; }
.fl.sw .fl-lock .al-pp { min-height:0; } .fl.sw .fl-lock { position:relative; }

/* 11/4 목차 장마다 담기는 내용 */
.rb-toc li .td { display:block; margin-top:4px; font-size:13px; color:#8a6a3a; } .rb-toc .tsub { margin:8px 0 2px; padding:0 0 0 2px; list-style:none; } .rb-toc .tsub li { position:relative; padding:3px 0 3px 14px; border:0; font-size:13px; line-height:1.5; color:#4a3e31; } .rb-toc .tsub li::before { content:""; position:absolute; left:2px; top:11px; width:5px; height:5px; border-radius:50%; background:var(--gd); }
/* 11/4 2차: 목차 여백·강조 (사장님: 다닥다닥 붙어 눈에 안 들어옴) — 장마다 흰 카드, 제목 크게, 설명은 금색 띠, 내용 줄 간격 넓게 */
.rb-toc h3 { margin:44px 0 16px; font-size:19px; }
.rb-toc > ol { margin:0; padding:0; list-style:none; }
.rb-toc > ol > li { margin:0 0 14px; padding:18px 18px 16px; border:0; border-radius:14px; background:rgba(255,255,255,.78); box-shadow:0 2px 10px rgba(120,90,40,.08); font-size:16px; }
.rb-toc > ol > li > b { display:inline-block; margin-right:4px; padding:2px 9px; border-radius:99px; background:#3a2e22; color:#f3dfae; font-size:12.5px; vertical-align:2px; }
.rb-toc > ol > li { font-weight:700; color:#2a2119; }
.rb-toc li .td { margin:10px 0 0; padding:8px 12px; border-radius:8px; background:#f6ecd6; font-size:13.5px; font-weight:500; line-height:1.5; color:#7a5a24; }
.rb-toc .tsub { margin:12px 0 0; }
.rb-toc .tsub li { padding:6px 0 6px 18px; font-size:14px; font-weight:400; line-height:1.55; color:#3e3428; }
.rb-toc .tsub li::before { left:3px; top:14px; width:6px; height:6px; }
.rb-toc .tsub li + li { border-top:1px dashed #e4d6bb; }
.tsay { margin:22px 0 34px; }
.rb-luck li i { width:auto; min-width:34px; padding:0 5px; box-sizing:border-box; } /* 11/4 좋음·조심 두 글자 */
/* 11/4 판매 카드 (사장님): 금색 띠와 제목 사이 여백 · 양선생 그림 위치·크기 · 가격 줄 오른쪽 끝 맞춤 */
.rb .rb-box h3 { margin-top:34px; } /* .v15wrap h3 { margin:0 } 보다 세게 */
.rb-cardyang { top:140px; right:-6px; width:180px; -webkit-mask:linear-gradient(90deg,transparent,#000 25%), linear-gradient(#000 80%,transparent); -webkit-mask-composite:source-in; mask-composite:intersect; } /* 11/4 2차: 목록 높이만큼 */
.rb-box dd { text-align:right; }
.rb-final { padding:20px 0 24px; }
/* 11/4 사장님: 판매 카드 다음 금빛 구간 — 둥근 윗모서리가 양끝에서 각지게 끊겨 어색함 → 모서리 없이 위에서 부드럽게 물들게 */
.rb-door { border-radius:0; margin-top:0; padding-top:64px; }
.rb-door::before { content:""; position:absolute; left:0; right:0; top:0; height:90px; pointer-events:none; background:linear-gradient(#e9dfca, rgba(233,223,202,0)); }
.rb-door > * { position:relative; }
/* 11/4 해석서 화면 캡처 6장 (가상 인물) */
.rb-shots { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px 10px; margin:22px 16px 6px; }
.rb-shots figure { margin:0; }
.rb-shots img { display:block; width:100%; aspect-ratio:400 / 640; object-fit:cover; object-position:top; border-radius:10px; border:1px solid #e2d6bf; box-shadow:0 6px 16px rgba(70,50,20,.16); background:#fff; }
.rb-shots figcaption { margin-top:6px; font:600 11px/1.35 'Noto Sans KR', sans-serif; color:#7a6a58; text-align:center; word-break:keep-all; }
/* 11/4 2차: 해석서 캡처 = 세로 띠 다섯 장을 엇갈려 세우고 흐리게 — 양끝은 잘리고 위아래는 바탕으로 녹아듦 */
.rb-strip { position:relative; display:flex; justify-content:center; gap:12px; height:560px; margin:26px -24px 6px; overflow:hidden; -webkit-mask-image:linear-gradient(transparent, #000 12%, #000 82%, transparent); mask-image:linear-gradient(transparent, #000 12%, #000 82%, transparent); }
.rb-strip .col { flex:none; width:34%; }
.rb-strip img { display:block; width:100%; border-radius:12px; box-shadow:0 10px 26px rgba(60,40,15,.22); filter:blur(1.8px) saturate(.92); }
.rb-strip .col:nth-child(1) { transform:translateY(70px); } .rb-strip .col:nth-child(2) { transform:translateY(-10px); }
.rb-strip .col:nth-child(3) { transform:translateY(40px); } .rb-strip .col:nth-child(3) img { filter:blur(1.1px); }
.rb-strip .col:nth-child(4) { transform:translateY(-30px); } .rb-strip .col:nth-child(5) { transform:translateY(60px); }
/* 11/4 생활 가이드 캡처 3장 — 부채처럼 펼쳐 겹치고, 양옆 장은 살짝 흐리게 */
.rb-fan { position:relative; height:470px; margin:26px -24px 4px; overflow:hidden; -webkit-mask-image:linear-gradient(#000 78%, transparent); mask-image:linear-gradient(#000 78%, transparent); }
.rb-fan img { position:absolute; top:18px; left:50%; width:46%; border-radius:14px; border:1px solid #e2d6bf; box-shadow:0 12px 28px rgba(60,40,15,.22); }
.rb-fan img:nth-child(1) { transform:translateX(-112%) rotate(-7deg); transform-origin:bottom right; filter:blur(1.6px); }
.rb-fan img:nth-child(3) { transform:translateX(12%) rotate(7deg); transform-origin:bottom left; filter:blur(1.6px); }
.rb-fan img:nth-child(2) { transform:translateX(-50%); top:4px; z-index:1; filter:blur(.6px); }
/* 11/4 POINT 1: 실제 해석서를 넘겨 보는 화면 녹화 — 휴대폰 테두리 안에 또렷하게 */
.rb-phone { position:relative; margin:34px 0 0; padding:0 0 56px; }
.rb-phone .bz { width:64%; margin:0 auto; padding:9px; border-radius:38px; background:#1f1813; box-shadow:0 0 0 2px #3a2e24, 0 22px 44px rgba(40,25,10,.35); }
.rb-phone video { display:block; width:100%; aspect-ratio:390 / 720; object-fit:cover; border-radius:30px; background:#fdf8ef; }
.rb-phone .k1 { position:absolute; width:92px; height:92px; left:6px; top:70px; font-size:13px; } .rb-phone .k2 { position:absolute; width:92px; height:92px; right:8px; top:300px; font-size:13px; }
.rb-phone .rb-fine { margin-top:16px; }
/* 11/4 사장님: 말풍선 꼬다리가 반쪽 테두리로 끊겨 보임 → 원(::before) 뒤에 테두리 있는 꼬리(::after)를 깔아 원과 이어지게, 휴대폰 쪽을 향함 */
.rb-phone .rb-say { background:none; border:0; }
/* 11/10 동생: 원과 꼬리를 한 그림(한 줄 테두리)으로 — 따로 겹치던 꼬리가 어색해 보임. 꼬리는 휴대폰 쪽 아래 */
.rb-phone .rb-say::before { content:''; position:absolute; left:0; top:0; z-index:-1; width:100%; height:118%; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 118'%3E%3Cpath d='M65 96.1A48.5 48.5 0 1 1 81.2 87.2C83 95 85 101 89 107C80 105 72 101 65 96.1Z' fill='%23fffaf0' stroke='%231d140d' stroke-width='1.5' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%; }
.rb-phone .k2::before { transform:scaleX(-1); } .rb-phone .rb-say::after { display:none; }
/* 11/4 사장님: 열두 달 표 = 실제 해석서 10장 표 모양 */
.rb-mt { width:100%; margin-top:6px; border-collapse:collapse; font:500 13.5px/1 'Noto Sans KR',sans-serif; color:var(--ink); }
.rb-mt th { padding:12px 0 10px; font-size:11.5px; font-weight:500; color:var(--sub); border-bottom:1px solid #cfc2aa; }
.rb-mt td { padding:9px 0; border-bottom:1px solid #e6dcc8; text-align:center; } .rb-mt td:first-child { font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.rb-mt .g { color:#3f7a4a; font-weight:700; } .rb-mt .s { color:#5f9a68; font-weight:700; } .rb-mt .p { color:#8a7f70; } .rb-mt .b { color:#a3421f; font-weight:700; }
.rb-mt tr.on td { background:#fbe9bf; } .rb-mt tr.on td:first-child { border-radius:8px 0 0 8px; } .rb-mt tr.on td:last-child { border-radius:0 8px 8px 0; }
.rb-luck .rb-mt + small { margin-top:12px; line-height:1.6; }
.rb-mt td.g, .rb-mt td.s, .rb-mt td.p, .rb-mt td.b { background:none; }
.rb-mt tbody tr:nth-child(n+3) td:nth-child(2) span { display:inline-block; filter:blur(3.5px); user-select:none; } /* 11/6 동생: 1~2월은 보여 주고 3월부터 그달 칸만 흐리게 (전부 흐리면 오류처럼 보임) */
/* 11/4 사장님: 고민 상자들이 양끝으로 갈라져 읽기 어려움 → 가운데 좁은 줄 안에서 살짝만 엇갈리게, 글 사이 여백 고르게 (보관 rest_b_before_who.css) */
section.rb-who h2 { margin-bottom:34px; }
.rb-who .l, .rb-who .r { margin:0 0 12px; padding:13px 18px; font-size:15px; line-height:1.4; border-radius:10px; }
.rb-who .l { margin-left:calc(50% - 150px); } .rb-who .r { margin-left:auto; margin-right:calc(50% - 150px); }
@media (max-width:360px) { .rb-who .l { margin-left:8px; } .rb-who .r { margin-right:8px; } }
.rb-who .rb-dots { margin:42px auto 36px; } .rb-who .m { margin-bottom:6px; } .rb-who .bigt { margin-top:22px; }
/* 11/10 사장님: 맨 아래 로고(열두선생 신년사주)가 안 보임 — 밝은 바탕에 금색·80px 라 흐림 → 키우고 진한 금색으로 */
.rb-foot img { width:150px; margin:0 auto 14px; filter:brightness(0) invert(36%) sepia(70%) saturate(900%) hue-rotate(12deg) brightness(.92); }

/* 11/10 접은 갤럭시 폴드(바깥 화면 300~344px) — 좁은 화면에서만, 375px 이상은 그대로: 옆으로 넘치던 것(큰 한 줄 문구·달 번호 12개·다음 달 안내·13장/12달 원·책 그림) 줄임 */
@media (max-width:359px) {
  body { overflow-wrap:break-word; }
  .ix-w .ix-word, .txt .ix-word { font-size:min(37px, 9.4vw); }
  [data-ks="4"] .nw-chips { gap:2px; }
  [data-ks="4"] .nw-chips a, [data-ks="4"] .nw-chips span { flex:1 1 0; min-width:0; max-width:24px; width:auto; height:auto; aspect-ratio:1; font-size:10px; }
  .fl-nav { gap:12px; margin-bottom:24px; }
  .fl-tip { left:50%; top:calc(100% + 4px); transform:translateX(-50%); font-size:11px; }
  .rb-rings { gap:4px; } .rb-rings > div { width:min(124px, 40vw); height:min(124px, 40vw); } .rb-rings b { font-size:22px; margin:0 14px 6px; padding-bottom:4px; } .rb-rings span { font-size:10.5px; } .rb-rings em { font-size:18px; }
  .rb-num .inn { padding-left:14px; padding-right:14px; }
  .rb-bk figure { width:min(330px, calc(100vw - 16px)); margin-left:calc(min(330px, calc(100vw - 16px)) / -2); }
  .rb-ex { max-width:calc(100% - 24px); margin-left:12px; }
}

/* 11/11 큰 글씨 설정·좁은 화면에서 제목이 화면 밖으로 나가지 않게 (375 이상은 그대로) */
.rb-title { font-size:min(76px, 21vw) !important; overflow-wrap:anywhere; }
.fl-tip.below { left:50%; top:calc(100% + 4px); transform:translateX(-50%); font-size:11px; }
.rb-foot .rb-biz { color:#8a7f70; } .rb-foot a { color:#6b5f50; text-decoration:underline; text-underline-offset:2px; } /* 11/21 사업자 정보·약관 링크 */
