/* GYEOL: black & gold celestial illustration, with readable opaque content surfaces. */
:root,html,body.theme-b{color-scheme:dark!important}
body.theme-b{--ink:#fff8e9;--muted:#d6ccba;--line:#685334;background:#050609 url('assets/celestial-gold-bg.png') center top/cover fixed no-repeat!important;color:#fff8e9!important;-webkit-text-fill-color:currentColor!important}
.theme-b :is(h1,h2,h3,h4,h5,p,span,strong,em,small,a,button,summary,label,dt,dd,li,td,th,legend){-webkit-text-fill-color:currentColor!important}
.theme-b :is(h1,h2,h3,h4,h5){color:#fff8e9!important}
.theme-b :is(p,small,em,label,dd,li){color:#ddd6c8!important}
.theme-b :is(.eyebrow,.tiny,.category,.product-label,.logo,.mbti-type,.text-btn){color:#f1cd79!important}
.theme-b main{background:transparent!important}
.theme-b .preview{background:#12100cf2!important;color:#e9ce95!important;border-bottom:1px solid #715121}
.theme-b .preview span{color:#d6c7ad!important}
.theme-b>header,.theme-b .quiz-header{background:#06090ff2!important;border-color:#a17a3c!important;box-shadow:0 8px 30px #0009;color:#f8df9f!important}
.theme-b header nav :is(a,button),.theme-b .quiz-header a{color:#f4e6c7!important}
.theme-b .chosen-b{background:#080a10c9!important;border:1px solid #b88b45!important;box-shadow:inset 0 1px 0 #fff2,0 18px 55px #0009!important}
.theme-b .chosen-b .chosen-background{opacity:.65!important;object-fit:cover!important;object-position:center!important;height:100%!important;top:0!important}
.theme-b .chosen-b:after{background:linear-gradient(90deg,#05070bf5 0%,#05070be6 44%,#05070b30 100%)!important}
.theme-b .chosen-b h1 em,.theme-b .tarot-spotlight h2 em{background:none!important;color:#f4ce72!important;-webkit-text-fill-color:#f4ce72!important}
.theme-b .hero-object{width:32%;aspect-ratio:1;height:auto;right:4%;bottom:12%;border-radius:50%;box-shadow:0 0 75px #f1b73a30;transform:none!important}
.theme-b .hero-object img{display:none}
.theme-b :is(.hero-tags span,.free-pill,.free-label,.product-label span,.tarot-spread-labels span,.tarot-spotlight-badge){background:#13151de8!important;border-color:#9c783f!important;color:#f3d69a!important}
.theme-b :is(.dark,.chosen-b .dark,.tarot-spotlight-copy .dark){background:linear-gradient(120deg,#ffe6a1,#d9a649)!important;border:1px solid #ffe3a0!important;color:#1a1206!important;-webkit-text-fill-color:#1a1206!important;box-shadow:inset 0 1px 0 #fff9,0 4px 0 #80591f,0 10px 28px #0008!important;font-weight:750}
.theme-b .dark *{color:inherit!important}
.theme-b :is(.outline,.curiosity-strip button,.topic-list button){background:linear-gradient(145deg,#1b202b,#080b12)!important;color:#f6dfaa!important;border:1px solid #80653c!important;box-shadow:inset 0 1px 0 #fff1,0 5px 15px #0006!important}
.theme-b :is(.free-zone,.report-feature,.tarot-spotlight){background:linear-gradient(120deg,#080c14ef,#111018d9)!important;border:1px solid #99713a!important;box-shadow:inset 0 1px 0 #fff2,0 14px 38px #0008!important}
.theme-b :is(.section-head,.discovery-heading){text-shadow:0 2px 9px #000,0 0 24px #000}
.theme-b :is(.section-head h2,.discovery-heading h2){color:#fff3d4!important}
.theme-b .free-tile,.theme-b .free-tile.mbti-tile,.theme-b .free-tile.fortune-tile,.theme-b .free-tile.tarot-tile,.theme-b .featured-products>*,.theme-b .featured-products>:nth-child(2),.theme-b .featured-products>:nth-child(3){background:linear-gradient(130deg,#171c29,#070a10)!important;border:1px solid #806744!important;box-shadow:inset 0 1px 0 #ffffff24,0 5px 0 #050506,0 14px 26px #0009!important}
.theme-b .free-tile strong,.theme-b .featured-products b{color:#f6d683!important}
.theme-b .free-illustration,.theme-b .featured-products .fp-icon{aspect-ratio:1;height:auto!important;border-radius:14px!important;background-color:#050810!important;box-shadow:0 6px 20px #0008!important}
.theme-b .free-illustration img,.theme-b .fp-icon img{display:none}
.theme-b .free-illustration{width:115px;top:25px;right:14px}
.theme-b .featured-products .fp-icon{width:94px;flex-basis:94px}
/* One atlas contains six independent illustrations; no generated words are used. */
.theme-b .hero-object,.theme-b .free-illustration,.theme-b .fp-icon,.theme-b #serviceGrid .service-art{background-image:url('assets/celestial-gold-menus.png')!important;background-size:300% 200%!important;background-repeat:no-repeat!important;background-position:0 0!important}
.theme-b .mbti-tile .free-illustration{background-position:100% 0!important}
.theme-b .fortune-tile .free-illustration,.theme-b .featured-products>:nth-child(2) .fp-icon{background-position:100% 100%!important}
.theme-b .tarot-tile .free-illustration,.theme-b .featured-products>:nth-child(3) .fp-icon{background-position:50% 0!important}
.theme-b .filters,.theme-b .search{background:#0b101bef!important;border-color:#97723d!important}
.theme-b .filters button{color:#eee0c2!important}
.theme-b .filters button:before{display:none}
.theme-b .filters button.active{background:linear-gradient(120deg,#efce85,#bf9141)!important;color:#1c1409!important}
.theme-b .search input{background:transparent!important;color:#fff5df!important;-webkit-text-fill-color:#fff5df!important}
.theme-b .search input::placeholder{color:#c6baa2!important;opacity:1}
/* Desktop and tablet preserve the reference's image-left / copy-right cards. */
.theme-b #serviceGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-b #serviceGrid .service,.theme-b #serviceGrid .service[data-service="관계별 궁합"]{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:18px;min-height:190px;padding:18px!important;border-radius:18px;background:linear-gradient(135deg,#161d2b,#06090f)!important;border:1px solid #806640!important;box-shadow:inset 0 1px 0 #fff2,0 5px 0 #040506,0 14px 25px #0008!important;text-align:left}
.theme-b #serviceGrid .service-art{grid-column:1;grid-row:1/5;align-self:center;width:112px;height:112px;margin:0;border:0;border-radius:13px;box-shadow:0 8px 20px #0008}
.theme-b #serviceGrid .service-art img{display:none}
.theme-b #serviceGrid .service .category{grid-column:2;margin:0;color:#e2bf7d!important;font-size:11px}
.theme-b #serviceGrid .service h3{grid-column:2;margin:5px 0 9px;font-size:20px;color:#fff8e8!important;line-height:1.45}
.theme-b #serviceGrid .service p{grid-column:2;margin:0 0 12px;font-size:14px;color:#d8dce6!important;line-height:1.65}
.theme-b #serviceGrid .service-foot{grid-column:2;margin:0;padding-top:9px;font-size:11px;color:#eacb8c!important;border-color:#685438;gap:6px}
.theme-b #serviceGrid .service[data-category="연애·관계"] .service-art{background-position:0 100%!important}
.theme-b #serviceGrid .service[data-category="일·재물"] .service-art,.theme-b #serviceGrid .service[data-service="오늘과 올해의 운세"] .service-art{background-position:100% 100%!important}
.theme-b #serviceGrid .service[data-service="타로"] .service-art,.theme-b #serviceGrid .service[data-service="꿈·해몽"] .service-art{background-position:50% 0!important}
.theme-b #serviceGrid .service[data-service="택일·길일"] .service-art,.theme-b #serviceGrid .service[data-service="생활·변화운"] .service-art{background-position:50% 100%!important}
.theme-b #serviceGrid .service[data-service="이름·작명"] .service-art,.theme-b #serviceGrid .service[data-service="개인 심층 상담"] .service-art{background-position:100% 0!important}
.theme-b :is(.report-paper,.principles article){background:#0b101bec!important;border-color:#957440!important;box-shadow:4px 5px 0 #705127,0 20px 30px #0009!important}
.theme-b .paper-top,.theme-b .paper-line>span{color:#edc978!important}
.theme-b footer{background:linear-gradient(#05070c9c,#05070ced)!important;color:#e1d4b9!important;border-color:#91703c}
/* Dialogs, forms and full readings use opaque dark panels, never busy artwork behind text. */
.theme-b dialog,.theme-b .quiz-main{background:#0c1019f7!important;color:#f4eddf!important;border:1px solid #a88045!important;box-shadow:0 20px 80px #000b}
.theme-b .modal-head{background:#141823!important;color:#f4d69a!important;border-color:#745d39}
.theme-b .modal-head .close{color:#ffe7af!important}
.theme-b :is(.field input,.field select,.field textarea,input,select,textarea){background:#080d16!important;color:#f7f0df!important;-webkit-text-fill-color:#f7f0df!important;border-color:#887146!important}
.theme-b :is(input,textarea)::placeholder{color:#bfb7a6!important;opacity:1}
.theme-b input[type=checkbox],.theme-b input[type=radio]{accent-color:#d9ac55}
.theme-b :is(.info-box,.person-form,.report-section,.tarot-reading,.full-draw-head,.full-tarot-deck,.election-date,.election-person,.election-luck p,.election-action,.report-toc,.reading-chapter){background:#151b27!important;color:#f1e7d3!important;border-color:#655437!important}
.theme-b .election-date.preferred{border-color:#e2b65e!important;background:#201c14!important}
.theme-b .election-date header{background:transparent!important;box-shadow:none!important}
.theme-b .election-date header b{background:#33291a!important;color:#ffe2a1!important}
.theme-b :is(.special-prose,.live-reading,.check,.catalog-note,.business-info,.paper-foot){color:#e0d6c3!important}
.theme-b .full-tarot-card small{color:#f6dda1!important}
.theme-b .quiz-header{color:#f0d393!important}
.theme-b :is(.mbti-result-nav,.mbti-option,.mbti-comparison article,.mbti-evidence-axis,.mbti-short-life article,.mbti-reading-block,.mbti-self-check,.mbti-synthesis article,.mbti-near-note,.mbti-candid,.mbti-pros-cons article,.mbti-work-fit,.mbti-type-story,.mbti-practice-grid article,.mbti-two-notes article){background:#171e2b!important;color:#f4ead6!important;border-color:#75603a!important}
.theme-b :is(.mbti-result-nav button,.mbti-trait-list dt,.mbti-choice-quote){color:#ead4a1!important}
.theme-b .mbti-result-nav button.active,.theme-b .mbti-option[aria-pressed=true],.theme-b .mbti-option.selected{background:#48371c!important;color:#fff3d2!important;border-color:#f7cd75!important}
.theme-b .mbti-simple-cover .mbti-type{color:#f1c96e!important;-webkit-text-fill-color:#f1c96e!important}
.theme-b :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #ffce6c!important;outline-offset:4px}
@media(hover:hover){.theme-b #serviceGrid .service:hover,.theme-b .featured-products>*:hover{transform:translateY(-3px);border-color:#f0c777!important;box-shadow:inset 0 1px 0 #fff3,0 18px 32px #000b!important}}
@media(max-width:650px){
 body.theme-b{background-size:auto 100lvh!important;background-position:center top!important}
 .theme-b .chosen-b{min-height:660px;padding-bottom:220px}
 .theme-b .chosen-b:after{background:linear-gradient(#05070bf2,#05070bdc 58%,#05070b30)!important}
 .theme-b .hero-object{width:180px;bottom:24px;right:calc(50% - 90px)}
 .theme-b #serviceGrid{gap:12px}
 .theme-b #serviceGrid .service,.theme-b #serviceGrid .service[data-service="관계별 궁합"]{grid-template-columns:1fr;grid-template-rows:auto auto auto 1fr auto;min-height:0;padding:12px!important;gap:0;border-radius:16px}
 .theme-b #serviceGrid .service-art{grid-column:1;grid-row:1;width:100%;height:auto;aspect-ratio:1;margin:0 0 12px;border-radius:10px}
 .theme-b #serviceGrid .service .category,.theme-b #serviceGrid .service h3,.theme-b #serviceGrid .service p,.theme-b #serviceGrid .service-foot{grid-column:1}
 .theme-b #serviceGrid .service h3{font-size:17px;margin:6px 0 9px}
 .theme-b #serviceGrid .service p{font-size:13px;margin:0 0 12px}
 .theme-b #serviceGrid .service-foot{font-size:11px;display:flex;flex-direction:column;align-items:flex-start}
 .theme-b .featured-products .fp-icon{width:82px;flex-basis:82px}
 .theme-b .free-illustration{width:100px}
 .theme-b .free-tile h3{font-size:23px!important}
 .theme-b .free-tile p{max-width:calc(100% - 75px)}
}
@media(prefers-reduced-motion:reduce){.theme-b #serviceGrid .service:hover,.theme-b .featured-products>*:hover{transform:none}}
/* Outrank legacy light-theme heading fills on nested menu and result panels. */
:root body.theme-b :is(h1,h2,h3,h4,h5){color:#fff7e5!important;-webkit-text-fill-color:currentColor!important}
:root body.theme-b :is(p,small,em,dd,li){color:#ddd6c8!important;-webkit-text-fill-color:currentColor!important}
:root body.theme-b .chosen-b h1 em,:root body.theme-b .tarot-spotlight h2 em{color:#f4ce72!important}
:root body.theme-b .dark,:root body.theme-b .dark *{color:#1a1206!important;-webkit-text-fill-color:currentColor!important}
.theme-b #savedCount{background:#332817;color:#ffe1a1}
.theme-b :is(.mbti-evidence-overview,.mbti-axis-card,.mbti-life-section,.mbti-observed,.mbti-note,.mbti-response-note,.mbti-answer-log,.couple-report-note,.sample-score){background:#171e2b!important;color:#f4ead6!important;border-color:#75603a!important}

/* Specificity fixes and unique catalogue artwork. */
.theme-b .featured-products .fp-icon{background-image:url("assets/celestial-gold-menus.png")!important;background-size:300% 200%!important;background-repeat:no-repeat!important;background-position:0 0!important}
.theme-b .featured-products>:nth-child(2) .fp-icon{background-position:100% 100%!important}.theme-b .featured-products>:nth-child(3) .fp-icon{background-position:50% 0!important}
:root .theme-b #serviceGrid .service .service-art{background-image:url("assets/menu-gold-20.png")!important;background-size:400% 500%!important}
:root .theme-b #serviceGrid .service[data-service="종합 사주 × MBTI"] .service-art{background-position:0.00000% 0%!important}
:root .theme-b #serviceGrid .service[data-service="평생 사주"] .service-art{background-position:33.33333% 0%!important}
:root .theme-b #serviceGrid .service[data-service="오늘과 올해의 운세"] .service-art{background-position:66.66667% 0%!important}
:root .theme-b #serviceGrid .service[data-service="연애운"] .service-art{background-position:100.00000% 0%!important}
:root .theme-b #serviceGrid .service[data-service="결혼운"] .service-art{background-position:0.00000% 25%!important}
:root .theme-b #serviceGrid .service[data-service="관계별 궁합"] .service-art{background-position:33.33333% 25%!important}
:root .theme-b #serviceGrid .service[data-service="사업운"] .service-art{background-position:66.66667% 25%!important}
:root .theme-b #serviceGrid .service[data-service="직업·직장운"] .service-art{background-position:100.00000% 25%!important}
:root .theme-b #serviceGrid .service[data-service="재물운"] .service-art{background-position:0.00000% 50%!important}
:root .theme-b #serviceGrid .service[data-service="학업·시험운"] .service-art{background-position:33.33333% 50%!important}
:root .theme-b #serviceGrid .service[data-service="가족·인간관계"] .service-art{background-position:66.66667% 50%!important}
:root .theme-b #serviceGrid .service[data-service="생활·변화운"] .service-art{background-position:100.00000% 50%!important}
:root .theme-b #serviceGrid .service[data-service="타로"] .service-art{background-position:0.00000% 75%!important}
:root .theme-b #serviceGrid .service[data-service="택일·길일"] .service-art{background-position:33.33333% 75%!important}
:root .theme-b #serviceGrid .service[data-service="이름·작명"] .service-art{background-position:66.66667% 75%!important}
:root .theme-b #serviceGrid .service[data-service="서양 점성술"] .service-art{background-position:100.00000% 75%!important}
:root .theme-b #serviceGrid .service[data-service="전통 운세"] .service-art{background-position:0.00000% 100%!important}
:root .theme-b #serviceGrid .service[data-service="꿈·해몽"] .service-art{background-position:33.33333% 100%!important}
:root .theme-b #serviceGrid .service[data-service="관상·손금"] .service-art{background-position:66.66667% 100%!important}
:root .theme-b #serviceGrid .service[data-service="개인 심층 상담"] .service-art{background-position:100.00000% 100%!important}

.daily-card-deck{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:420px;margin:24px auto}.daily-card-deck button{padding:0;border-radius:10px;min-width:0;transition:transform .2s}.daily-card-deck img{display:block;width:100%;aspect-ratio:2/3;object-fit:contain;border:1px solid #b79855;border-radius:9px;box-shadow:2px 4px 0 #806639,0 9px 20px #0008}.daily-card-deck button:hover{transform:translateY(-5px)}.daily-card-result{text-align:center}.daily-revealed{display:block;width:min(220px,65%);aspect-ratio:2/3;object-fit:contain;margin:24px auto;border:2px solid #d6b367;border-radius:10px;box-shadow:0 12px 32px #0009}.daily-card-result .info-box{text-align:left}.daily-keywords{font-weight:700;color:#f0d08b}.daily-card-result h3{margin:20px 0 8px}@media(prefers-reduced-motion:reduce){.daily-card-deck button{transition:none}.daily-card-deck button:hover{transform:none}}
