@charset "UTF-8";
/* Approved quiet bar presentation across every screen. Existing IDs, controls and scripts remain the source of behavior. */
:root{
 --paper:#f3f0ea;--sheet:#faf8f4;--white:#fff;
 --ink:#2d2926;--ink-soft:#4e463f;--muted:#74695e;
 --pine:#655244;--pine-deep:#4a3c32;--pine-soft:#eae3da;--steady:#b9ab9c;
 --rule:#e1d9cf;--rule-strong:#c2b3a4;--frame:#a49483;
 --seal:#57483c;--ochre:#806a50;--ochre-soft:#efe7dc;
 --serif:"IBM Plex Sans KR","Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif;
 --side:194px;--radius:12px;
}
body{line-height:1.75;letter-spacing:-.01em}
h1,h2,h3{font-family:var(--sans);letter-spacing:-.035em}
h1{font-size:clamp(27px,2.5vw,38px);font-weight:600;line-height:1.3}
h2{font-weight:600}h3{font-weight:500}
.sidebar{padding:28px 15px 20px;background:var(--sheet);box-shadow:none;border-right:1px solid var(--rule)}
.brand{gap:9px;align-items:center;padding:0 7px}
.brand-mark{width:39px;height:39px;color:var(--ink)}
.brand-mark rect{fill:transparent}.brand-mark path{fill:var(--ink)}
.brand-name{font-family:var(--sans);font-size:20px;letter-spacing:-.06em}
.brand-name small{font-size:10.5px;letter-spacing:-.02em;margin-top:4px}
.sidebar nav{margin-top:24px;gap:5px}
.nav-label{margin:14px 11px 6px;font-size:11.5px}
.nav-item{padding:9px 10px;gap:10px;font-size:13px;min-height:40px;border-radius:9px}
.nav-item.selected{background:var(--pine-soft);box-shadow:none;color:var(--ink)}
.nav-glyph,.nav-item.selected .nav-glyph{background:none;border:0;color:inherit;width:21px;height:21px}
.nav-glyph svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.sidebar-bottom{padding:15px 8px 0}.sidebar-bottom p{font-size:11.5px;line-height:1.75}
.sidebar-bottom a,.version{font-size:11px}
.topbar{height:50px;padding:0 32px;background:var(--paper);border-bottom-color:var(--rule)}
.crumb{font-size:12px}.connection{font-size:11.5px}.connection::before{width:5px;height:5px}
.avatar{border-color:var(--rule);background:var(--sheet);color:var(--ink)}
main{max-width:1510px;padding:25px 30px 22px}
.page-heading{align-items:center;margin-bottom:24px;padding-bottom:0;border:0;gap:18px}
.page-date{font-size:12.5px;margin-bottom:9px}.subtitle{font-size:13px;margin-top:9px}
.page-heading .button{flex-shrink:0;font-size:12.5px;min-height:40px;padding:8px 14px}
/* The same profile controls remain available below the full-width reading canvas. */
.content-layout{display:flex;flex-direction:column;gap:30px}
.view-content{width:100%;order:0;min-width:0}
.profile-panel{width:100%;order:1;position:static;border:1px solid var(--rule);border-radius:12px;padding:24px 26px;background:var(--sheet)}
.profile-panel.collapsed{display:none}
.profile-head h2{font-family:var(--sans);font-size:20px}.profile-head .small{font-size:12.5px}
#profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-items:start}
#profile-form>.calendar-choice,#profile-form>fieldset,#profile-form>details,#profile-form>.check,#profile-form>.button,#profile-form>.text-button{grid-column:1/-1}
#profile-form>.text-button{justify-self:center}
.profile-note{font-size:12px}
.button{font-weight:500;border-radius:9px;min-height:42px;padding:9px 17px}
.button.primary{background:var(--pine);color:#fff}.button.primary:hover{background:var(--pine-deep)}
.button.subtle{background:var(--sheet);color:var(--ink);border-color:var(--rule-strong)}
.button.subtle:hover{background:var(--pine-soft);border-color:var(--pine)}
input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:8px;border-color:var(--rule-strong);background:var(--sheet)}
textarea::placeholder,input::placeholder{color:#82776d}
.editorial-hero{position:relative;isolation:isolate;overflow:hidden;min-height:240px;background:#29231f;border-radius:12px;margin:0 0 17px;color:#faf8f4}
.editorial-hero-art{position:absolute;inset:0;z-index:-2;background-image:url('/images/editorial-atlas.png');background-size:max(100%,720px) auto;background-position:right top;background-repeat:no-repeat}
.editorial-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(30,25,21,.45) 0%,rgba(30,25,21,.16) 43%,transparent 68%)}
.editorial-hero-copy{position:relative;padding:33px 32px;max-width:56%}
.editorial-hero h2{font-family:var(--sans);font-size:clamp(23px,2.45vw,33px);line-height:1.45;color:inherit;font-weight:500;letter-spacing:-.055em;margin:0 0 23px}
.editorial-hero-button{background:#faf8f4;color:#2d2926;min-height:43px;padding:10px 19px;font-size:14px;border:0;gap:25px;white-space:nowrap}
.editorial-hero-button:hover{background:#eae3da}.editorial-hero-button span{font-size:22px;line-height:1}
.register{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:none;border:0;border-radius:0}
.register-head{display:none}
.fortune-menu-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;min-width:0;background:var(--sheet);border:1px solid var(--rule);border-radius:11px;overflow:hidden;transition:border-color .16s ease,background-color .16s ease;isolation:isolate}
.fortune-menu-card:last-child{border-bottom:1px solid var(--rule)}
.fortune-menu-card:hover{background:var(--sheet);border-color:var(--pine)}
.editorial-photo{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:1.86;background:#b3aca5}
.editorial-photo img{position:absolute;display:block;max-width:none;width:300%;height:auto;top:50%;left:0;pointer-events:none}
.photo-today img{transform:translate(0,-51.2%)}
.photo-tomorrow img{transform:translate(-33.333333%,-51.2%)}
.photo-weekly img{transform:translate(-66.666667%,-51.2%)}
.photo-monthly img{transform:translate(0,-83.333333%)}
.photo-yearly img{transform:translate(-33.333333%,-83.333333%)}
.photo-tojeong img{transform:translate(-66.666667%,-83.333333%)}
.register-title{display:block;padding:13px 16px 3px;min-width:0}
.register-title strong{font:600 17px/1.45 var(--sans);letter-spacing:-.035em;padding-right:18px}
.register-title small{font:400 12px/1.6 var(--sans);color:var(--muted);margin-top:3px}
.fortune-menu-card::after{content:'›';position:absolute;right:16px;bottom:49px;color:var(--ink-soft);font-size:24px;line-height:1;pointer-events:none}
.menu-arrow{display:block;font-size:11.5px;font-weight:400;line-height:1.5;color:var(--muted);text-align:left;margin:0;padding:0 16px 13px;grid-column:auto}
.fortune-home-note{padding:3px 0;margin-top:17px}
.fortune-home-note h3{font-family:var(--sans);font-size:13px;font-weight:500;margin-bottom:3px}
.fortune-home-note .small{font-size:12px}
.panel,.report,.research-note{border-color:var(--rule);border-radius:12px}
.sheet{border:1px solid var(--rule-strong);box-shadow:none;border-radius:12px}
.sheet-main{padding:28px 30px}.tojeong-sheet{grid-template-columns:minmax(0,1fr) 34px;padding:0;overflow:hidden}
.pansim{background:#eae2d7;border-left-color:var(--rule);padding:20px 0}
.pansim-text{font-family:var(--sans);font-size:12px;letter-spacing:.08em;color:var(--muted)}
.eomi{width:13px;height:13px;background:var(--rule-strong)}
.gwae-seal{background:#ece4d9;color:var(--ink);border:1px solid var(--rule-strong);border-radius:10px;box-shadow:none;width:78px;height:78px}
.gwae-seal strong{font:500 29px/1 var(--sans)}.gwae-seal span{font-size:11px}
.tojeong-titles h2{font:600 27px/1.5 var(--sans)}
.reading-summary-headline,.natal-headline{font-family:var(--sans);font-weight:500;letter-spacing:-.025em}
.reading-summary-headline{font-size:24px;line-height:1.65}
.report-row{grid-template-columns:160px minmax(0,1fr);gap:25px}
.report-head h2,.report h2{font-family:var(--sans)}
.report-body p,.month-body p{line-height:1.95;font-size:15.5px}
.pill.tone.good{border-color:#bdae9d;background:var(--pine-soft);color:#5d4938}
.pill.tone.careful{border-color:#c9b79f;background:var(--ochre-soft);color:#725b40}
.fortune-action{border-left-width:2px;border-radius:0 9px 9px 0;background:#f0e8dd}
.pillar-grid{border:1px solid var(--rule-strong);box-shadow:none;border-radius:10px;overflow:hidden}
.bubble.gyeol{background:var(--sheet)}
.bubble.user{background:var(--pine-deep);color:#fff}
.bubble.user .bubble-label{color:#ede3d8}
.bar-month{font-family:var(--sans)}
.month-num{font-family:var(--sans)}
.bar.careful .bar-fill{box-shadow:none}
.month-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
.month-groups .group{flex-wrap:wrap;gap:4px 9px}
.area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
footer{font-size:11.5px;padding-top:24px;margin-top:28px}
@media(min-width:1500px){main{padding-left:42px;padding-right:42px}.editorial-hero{min-height:280px}.editorial-hero-copy{padding:43px 38px}.register{gap:18px}.register-title strong{font-size:18px}.editorial-photo{aspect-ratio:1.95}}
@media(max-width:1100px){:root{--side:174px}.sidebar{padding-left:11px;padding-right:11px}.brand-name{font-size:18px}.brand-name small{font-size:10px}.nav-item{padding:8px;font-size:12.5px}.brand-mark{width:34px;height:34px}main{padding:24px}.topbar{padding:0 24px}.register{gap:11px}.register-title{padding:11px 12px 3px}.register-title strong{font-size:15px}.register-title small{font-size:11.5px}.menu-arrow{padding:0 12px 11px;font-size:11px}.fortune-menu-card::after{right:12px;bottom:48px}.editorial-hero{min-height:225px}.editorial-hero-copy{padding:29px 26px}.report-row{grid-template-columns:135px minmax(0,1fr)}}
@media(max-width:960px){:root{--side:70px}.sidebar{padding:22px 10px}.brand{justify-content:center;padding:0}.brand-name,.nav-label,.sidebar-bottom{display:none}.brand-mark{width:38px;height:38px}.sidebar nav{margin-top:23px;gap:6px}.nav-item{font-size:0;justify-content:center;padding:10px 0}.nav-glyph,.nav-item.selected .nav-glyph{width:23px;height:23px}.nav-glyph svg{width:22px;height:22px}.register-title strong{font-size:16px}.report-row{grid-template-columns:140px minmax(0,1fr)}}
@media(max-width:860px){.content-layout{display:flex;gap:24px}.view-content{order:0}.profile-panel{order:1}.profile-panel.collapsed{display:none}.month-groups{grid-template-columns:1fr;gap:7px}}
@media(max-width:730px){:root{--side:0px}body{font-size:14px}.sidebar{inset:auto 0 0 0;width:auto;height:64px;background:var(--sheet);border-right:0;border-top:1px solid var(--rule);padding:5px 5px 3px;box-shadow:0 -4px 16px rgba(45,41,38,.025)}.brand{display:none}.sidebar nav{flex-direction:row;margin:0;gap:1px;overflow-x:auto}.nav-item{font-size:10px;min-width:62px;min-height:53px;flex-direction:column;gap:3px;justify-content:center;padding:4px 5px;border-radius:8px}.nav-glyph,.nav-item.selected .nav-glyph{width:21px;height:21px}.nav-glyph svg{width:19px;height:19px}.workspace{margin-left:0}.topbar{height:46px;padding:0 16px}.connection{font-size:10.5px}.topbar-side{gap:10px}.crumb{font-size:11.5px}main{padding:21px 15px 85px}.page-heading{display:flex;flex-direction:row;align-items:flex-start;gap:12px;margin-bottom:19px}.page-heading h1{font-size:26px;line-height:1.4;letter-spacing:-.06em}.page-heading .button{font-size:11px;padding:6px 9px;min-height:34px;max-width:110px;white-space:normal;text-align:center}.page-date{font-size:11.5px;margin-bottom:8px}.subtitle{font-size:12px;margin-top:6px}.editorial-hero{min-height:206px;border-radius:10px;margin-bottom:12px}.editorial-hero-copy{padding:25px 20px;max-width:68%}.editorial-hero h2{font-size:24px;line-height:1.55;letter-spacing:-.055em;margin-bottom:19px}.editorial-hero-button{font-size:12px;gap:16px;min-height:39px;padding:8px 13px}.editorial-hero-art{background-position:83% top}.editorial-hero::before{background:linear-gradient(90deg,rgba(30,25,21,.55),rgba(30,25,21,.12) 75%)}.register{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fortune-menu-card{padding:0;border-radius:9px}.editorial-photo{aspect-ratio:1.35}.register-title{padding:10px 11px 1px}.register-title strong{font-size:15px;padding-right:12px}.register-title small{font-size:11px;line-height:1.5;margin-top:3px}.menu-arrow{grid-column:auto;font-size:10.5px;margin:0;padding:0 11px 10px;line-height:1.55}.fortune-menu-card::after{right:10px;bottom:49px;font-size:21px}.fortune-home-note{margin-top:14px}.fortune-home-note h3{font-size:12px}.fortune-home-note .small{font-size:11px}.profile-panel{padding:21px 18px;border-radius:10px}#profile-form{display:block}.panel{padding:22px 18px}.report{padding:0 18px}.sheet{padding:22px 18px}.tojeong-sheet{padding:0;grid-template-columns:1fr}.sheet-main{padding:24px 20px}.pansim{display:none}.tojeong-head{flex-direction:row;gap:15px}.gwae-seal{width:64px;height:64px;border-radius:8px}.gwae-seal strong{font-size:24px}.tojeong-titles h2{font-size:22px;line-height:1.5}.reading-summary-headline{font-size:21px}.report-row,.month-entry{grid-template-columns:1fr;gap:12px}.report-body p,.month-body p{font-size:15px;line-height:1.9}.area-grid{grid-template-columns:1fr;gap:22px}.months-heading{display:block}.research-note{padding:0 18px}.month-num{font-size:23px}footer{font-size:11px}.toast{bottom:78px}}
@media(max-width:380px){main{padding-left:12px;padding-right:12px}.page-heading h1{font-size:23px}.page-heading .button{max-width:87px;font-size:10.5px}.topbar{padding:0 12px}.topbar-side .connection{display:none}.editorial-hero-copy{max-width:76%;padding-left:18px}.editorial-hero h2{font-size:22px}.register{gap:9px}.register-title strong{font-size:14px}.register-title small{font-size:10.5px}.menu-arrow{font-size:10px}.tojeong-head{flex-direction:column}.month-groups .group{font-size:13px}}
@media(prefers-reduced-motion:reduce){.fortune-menu-card{transition:none}}
@media(min-width:1500px){.editorial-hero-art{background-size:max(100%,840px) auto}} @media(max-width:1100px){.editorial-hero-art{background-size:max(100%,675px) auto}} @media(max-width:730px){.editorial-hero-art{background-size:max(100%,618px) auto;background-position:right top}}
/* Shared room, paper and walnut treatment for all app and support views. */
:root{--bar-night:#29231f;--bar-light:#f6efe5;--bar-edge:#b5a18c}
body{background:var(--paper)}
.brand-name{font-family:Georgia,"Times New Roman",serif;font-size:35px;font-weight:400;letter-spacing:-.05em;line-height:1}
.brand-name small{font-family:var(--sans);font-size:11px;letter-spacing:.02em;margin-top:7px;color:var(--ink)}
.brand-mark{width:37px;height:43px}
.sidebar nav{margin-top:26px}
.nav-item{border:1px solid transparent}
.nav-item:hover{background:#f0eae2}
.nav-item.selected{background:var(--pine-soft);border-color:#d7cabb;color:var(--pine-deep)}
.avatar{border-color:var(--rule-strong);background:var(--pine-soft)}
.editorial-hero-copy{max-width:60%;padding-top:30px;padding-bottom:30px}
.editorial-hero h2{margin-bottom:8px;line-height:1.45}
.bar-signature{font-size:13px;line-height:1.7;margin:0 0 20px;color:#eee5d9}
.editorial-hero::before{background:linear-gradient(90deg,rgba(24,20,17,.65) 0%,rgba(24,20,17,.25) 48%,transparent 80%)}
.editorial-hero-button{color:var(--ink);background:var(--sheet);border:1px solid #e9dfd3}
.editorial-hero-button:hover{background:#eee5d9}
.fortune-menu-card{border-color:var(--rule);box-shadow:0 2px 5px rgba(55,41,30,.025)}
.fortune-menu-card:hover{border-color:#9b826a;box-shadow:0 3px 14px rgba(55,41,30,.08)}
.bar-room-banner{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;min-height:88px;padding:18px 28px;border:1px solid #3b3028;border-radius:12px;background:var(--bar-night) url('/images/editorial-atlas.png') right top/390px auto no-repeat;color:var(--bar-light)}
.bar-room-banner::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#29231f 0%,#29231f 25%,rgba(41,35,31,.4) 75%,transparent)}
.bar-room-banner>span{font:400 27px/1.2 Georgia,"Noto Serif KR",serif;letter-spacing:-.04em}
.view>.bar-room-banner+*{margin-top:20px}

#view-reading > .bar-room-banner {
  --detail-banner-image: url('/images/fortune-today-detail.webp');
}
body:has(.nav-item.selected[data-fortune="tomorrow"]) #view-reading > .bar-room-banner {
  --detail-banner-image: url('/images/fortune-tomorrow-detail.webp');
}
body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading > .bar-room-banner {
  --detail-banner-image: url('/images/fortune-weekly-detail.webp');
}
body:has(.nav-item.selected[data-fortune="monthly"]) #view-reading > .bar-room-banner {
  --detail-banner-image: url('/images/fortune-monthly-detail.webp');
}
body:has(.nav-item.selected[data-fortune="yearly"]) #view-reading > .bar-room-banner {
  --detail-banner-image: url('/images/fortune-yearly-detail.webp');
}
body:has(.nav-item.selected[data-fortune="tojeong"]) #view-reading > .bar-room-banner {
  --detail-banner-image: url('/images/fortune-tojeong-detail.webp');
}

#view-match > .bar-room-banner {
  --detail-banner-image: url('/images/compatibility-detail.webp');
}
#view-charm > .bar-room-banner {
  --detail-banner-image: url('/images/charm-detail.webp');
}

#view-reading > .bar-room-banner,
#view-match > .bar-room-banner,
#view-charm > .bar-room-banner {
  min-height: clamp(94px, 29vw, 148px);
  background-image: linear-gradient(90deg, var(--bar-night), transparent 45%), var(--detail-banner-image);
  background-position: right center;
  background-size: min(100%, 500px) 100%, min(100%, 500px) auto;
}
#view-reading > .bar-room-banner::before,
#view-reading > .bar-room-banner::after,
#view-match > .bar-room-banner::before,
#view-charm > .bar-room-banner::before {
  content: none;
}

.panel,.report,.sheet,.research-note,.profile-panel,.action-card{background:var(--sheet);border-color:var(--rule);box-shadow:0 3px 16px rgba(50,38,27,.025)}
.panel,.research-note,.action-card{border-radius:12px}
.reading-controls{padding:22px 26px;background:var(--sheet);border:1px solid var(--rule);border-radius:12px}
.reading-controls h2{font-size:20px}
.reading-controls .section-heading{margin-bottom:8px}
.reading-controls #reading-intro{font-size:13px}
.reading-summary{border-top:3px solid var(--bar-edge)}
.reading-summary-headline{color:var(--ink);font-weight:500}
.reading-summary-copy{color:var(--ink-soft)}
.report-head h2,.area h3,.natal-section h3{color:var(--pine-deep)}
.report-head .pill{margin-top:2px}
.report-row{padding-top:27px;padding-bottom:27px}
.fortune-action{background:#f0e8dd;border-left-color:#9a8065;border-radius:0 8px 8px 0}
.fortune-action>strong{color:#65503c}
.pill{background:var(--sheet);border-color:var(--rule-strong);color:var(--pine-deep);font-size:12px}
.pill.tone.good{background:#e9e0d4;color:#5d4938;border-color:#bdae9d}
.pill.tone.steady,.pill.neutral{background:#f2ede6;color:var(--muted);border-color:var(--rule)}
.pill.tone.careful{background:#f1e7d9;color:#725b40;border-color:#c9b79f}
.pill.tone.keyword{background:#f6f1e9;color:var(--pine-deep)}
.fortune-timeline-item summary,.research-note summary,.action-card strong{font-family:var(--sans)}
.fortune-timeline-item[open]{border-left:2px solid var(--bar-edge);padding-left:16px}
.gwae-seal{background:#e9dfd1;color:var(--pine-deep);border-color:#c9b79f;box-shadow:none}
.pansim{background:#ede5da;border-left-color:#d8cbbc}
.pansim-text{color:var(--pine)}
.eomi{background:#c2ae95}
.year-chart{background:#f5f0e8;padding:20px 18px 17px;border:1px solid var(--rule);border-radius:10px}
.bar.good .bar-fill{background:#6c5542}
.bar.steady .bar-fill{background:#bbad9d}
.bar.careful .bar-fill{background:repeating-linear-gradient(135deg,#947a5b 0 2px,transparent 2px 6px)}
.bar-month{border-top-color:var(--rule-strong)}
.month-bars{border-bottom-color:var(--rule-strong)}
.month-entry:target,.month-entry:focus-within{background:linear-gradient(90deg,#ece1d3,transparent 85%);outline:1px solid var(--rule);outline-offset:5px}
.area-grid .area{padding-top:8px}
.research-note summary{line-height:1.6}
.profile-panel{border-top:3px solid var(--bar-edge)}
.profile-head{padding-bottom:16px;border-bottom-color:var(--rule)}
.profile-head h2,.section-heading h2{color:var(--ink)}
input:not([type=checkbox]):not([type=radio]),select,textarea{background:#fffdfa;border-color:#c6b8a9;min-height:44px;border-radius:8px}
textarea::placeholder,input::placeholder{color:#82776d}
.button{min-height:44px}
.button.primary{background:#655244;color:#fffaf4;border-color:#655244}
.button.primary:hover{background:#4a3c32;border-color:#4a3c32}
.button.subtle:hover,.chip:hover{background:#eee5d9;border-color:#9d856e}
.button.danger{background:#faf5f1;color:#874b3d;border-color:#cfb4a8}
.text-button{color:#725a46}
.chip{background:#f8f3eb;color:#5e4a39;border-color:#d0c0ae;min-height:38px}
.bubble.user{background:#40352d;color:#fff8ee;border:1px solid #40352d}
.bubble.user .bubble-label{color:#e8d9c6}
.bubble.gyeol{background:#f2ebe1;border-color:#dfd1bf;color:var(--ink)}
.bubble.gyeol .fortune-action{background:#faf6ef}
.consult-panel textarea{background:#fffdfa}
.pillar-grid{border-color:#c6b6a4;background:#f4ede3;border-radius:10px;box-shadow:none}
.pillar strong{color:#584330}
.transit-grid{border-color:var(--rule);background:#f5efe6;border-radius:9px;overflow:hidden}
.transit-grid strong{font-family:var(--sans);color:var(--pine-deep)}
.evidence-item strong{color:var(--pine-deep)}
th{background:#f1e8dc;border-bottom-color:#c2ae95;color:#685341}
td{background:var(--sheet)}
.journal-entry{border-top:2px solid var(--bar-edge)}
.journal-entry small{color:#79634e}
.settings-row{padding-top:22px;padding-bottom:22px}
.settings-row h3{font-family:var(--sans)}
#notice,.legal .warning{background:#efe5d6;border-color:#d2bfa5;color:#705639;border-radius:10px}
.toast{background:#352c25;color:#fff8ee;border:1px solid #75614d;box-shadow:0 5px 25px rgba(40,30,20,.12)}
.legal{max-width:840px;margin:40px auto;padding:32px 36px;background:var(--sheet);border:1px solid var(--rule);border-radius:14px}
.legal .brand{display:inline-flex;align-items:baseline;gap:10px;font:400 30px/1.2 Georgia,"Noto Serif KR",serif;margin-bottom:22px;color:var(--ink)}
.legal .brand small{font:500 12px/1 var(--sans);color:var(--muted)}
.legal .bar-room-banner{min-height:100px;margin-bottom:25px}
.legal h1{font-size:28px;margin-bottom:20px}
.legal h2{font-family:var(--sans);color:var(--pine-deep)}
.legal form{margin-top:22px}
@media(min-width:1500px){.editorial-hero-copy{padding-top:37px;padding-bottom:37px}.editorial-hero h2{margin-bottom:9px}.bar-signature{margin-bottom:23px}}
@media(max-width:1100px){.brand-name{font-size:31px}.brand-name small{font-size:10px}.editorial-hero-copy{max-width:65%}.bar-signature{font-size:12px}.bar-room-banner{min-height:80px}}
@media(max-width:730px){.editorial-hero{min-height:232px}.editorial-hero-copy{max-width:80%;padding:24px 19px}.editorial-hero h2{font-size:24px;margin-bottom:7px}.bar-signature{font-size:11px;margin-bottom:17px}.editorial-hero-art{background-size:max(100%,702px) auto}.bar-room-banner{min-height:76px;padding:16px 20px;background-size:285px auto;border-radius:10px}.bar-room-banner>span{font-size:25px}.view>.bar-room-banner+*{margin-top:15px}.reading-controls{padding:20px 18px}.reading-filter-fields{gap:10px}.reading-filter-fields label{min-width:0;flex:1 1 150px}.reading-filter-fields .button{flex:1 1 110px}.reading-controls h2{font-size:18px}.year-chart{padding:16px 9px 14px}.bubble{max-width:94%;padding:12px 14px}.chat-suggestions{gap:7px}.chip{font-size:12px;padding:7px 11px}.profile-panel{border-top-width:3px}.legal{width:auto;margin:16px 12px 24px;padding:24px 20px}.legal .bar-room-banner{min-height:85px}.legal h1{font-size:25px}.legal h2{font-size:19px}.legal p,.legal li{font-size:14px}.legal .brand{display:inline-flex}.settings-row .button{align-self:flex-start}.pillar strong{font-size:23px}}
@media(max-width:380px){.editorial-hero-copy{max-width:90%}.bar-signature{font-size:10.5px}.bar-room-banner{padding-left:18px}.reading-filter-fields .button{font-size:12px}}

/* Align the photographic hero to the end of its atlas band, keeping the counter visible. */
.editorial-hero-art{background:none}
.editorial-hero-art::after{content:"";position:absolute;top:100%;right:0;width:max(100%,720px);aspect-ratio:1;background:url('/images/editorial-atlas.png') right top/100% auto no-repeat;transform:translateY(-36.6%)}
@media(min-width:1500px){.editorial-hero-art::after{width:max(100%,840px)}}
@media(max-width:1100px){.editorial-hero-art::after{width:max(100%,675px)}}
@media(max-width:730px){.editorial-hero-art::after{width:max(100%,702px)}}

/* Fortune reading surfaces keep each period's presentation. */

/* Today: a round, softly lit stone, with an open paper reading surface. */
body:has(.nav-item.selected[data-fortune="today"]) #view-reading .reading-summary{border-top-color:#b39778;background:#fdf9f2}
body:has(.nav-item.selected[data-fortune="today"]) #view-reading .report-head h2{color:#75573c}
body:has(.nav-item.selected[data-fortune="today"]) #view-reading .report-row{padding-top:29px;padding-bottom:29px}

/* Tomorrow: smoked glass and a darker reflection, followed by quiet light pages. */
body:has(.nav-item.selected[data-fortune="tomorrow"]) #view-reading .reading-summary{border-top:1px solid var(--rule);border-left:4px solid #887667;background:#f6f1eb}
body:has(.nav-item.selected[data-fortune="tomorrow"]) #view-reading .report-row{grid-template-columns:145px minmax(0,1fr)}
body:has(.nav-item.selected[data-fortune="tomorrow"]) #view-reading .report-head h2{color:#5f5147}

/* Week: seven pebbles in a wide sequence, and a readable day-by-day board. */
body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading .reading-summary{border-top-color:#9f917d;background:#f6f2eb}
body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading .fortune-timeline>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading .fortune-timeline-item{border:1px solid #e0d6c8;border-radius:9px;padding:18px;background:#f8f4ed;min-width:0}
body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading .fortune-timeline-item:last-child{grid-column:1/-1}
body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading .fortune-timeline-item strong{color:#665542}

/* Month: moon impressions on paper, with a calm framed journal treatment. */
body:has(.nav-item.selected[data-fortune="monthly"]) #view-reading .reading-summary{border-top-color:#9c8b77;background:#f6f0e7}
body:has(.nav-item.selected[data-fortune="monthly"]) #view-reading .reading-controls{border-bottom:3px solid #b6a48f}
body:has(.nav-item.selected[data-fortune="monthly"]) #view-reading .fortune-timeline{border-color:#d3c3af;background:#f8f4ed}
body:has(.nav-item.selected[data-fortune="monthly"]) #view-reading .fortune-timeline>details>summary{padding:14px 16px;border:1px solid #d7c7b1;border-radius:8px;background:#eee4d5;color:#5c4937}
body:has(.nav-item.selected[data-fortune="monthly"]) #view-reading .fortune-timeline-item{padding:18px 6px}

/* Year: a wider room and lamplight. No fixed year is baked into this view. */
body:has(.nav-item.selected[data-fortune="yearly"]) #view-reading .reading-summary{border-top-color:#a48763;background:#faf4e9}
body:has(.nav-item.selected[data-fortune="yearly"]) #view-reading .fortune-timeline>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body:has(.nav-item.selected[data-fortune="yearly"]) #view-reading .fortune-timeline-item{margin:0;border:1px solid #d7c6ae;border-radius:9px;padding:15px 18px;background:#f8f2e8;min-width:0;align-self:start}
body:has(.nav-item.selected[data-fortune="yearly"]) #view-reading .fortune-timeline-item[open]{border-left:3px solid #9f805c}
body:has(.nav-item.selected[data-fortune="yearly"]) #view-reading .fortune-timeline-item summary{color:#715638}

/* Tojeong: an upright bound book, with the existing annual and lunar report intact. */
body:has(.nav-item.selected[data-fortune="tojeong"]) #view-reading .tojeong-sheet{border-color:#bca78b;background:#fbf5e9}
body:has(.nav-item.selected[data-fortune="tojeong"]) #view-reading .pansim{background:#e3d6bf}
body:has(.nav-item.selected[data-fortune="tojeong"]) #view-reading .gwae-seal{background:#ded0b5;border-color:#b29a77;color:#64472b}
body:has(.nav-item.selected[data-fortune="tojeong"]) #view-reading .year-chart{background:#f2e8d7;border-color:#d9c6a7}
body:has(.nav-item.selected[data-fortune="tojeong"]) #view-reading .months-report{border-color:#d5c3a9;background:#fcf7ee}

@media(max-width:730px){
 body:has(.nav-item.selected[data-fortune="tomorrow"]) #view-reading .report-row{grid-template-columns:1fr}
 body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading .fortune-timeline>div,body:has(.nav-item.selected[data-fortune="yearly"]) #view-reading .fortune-timeline>div{grid-template-columns:1fr}
 body:has(.nav-item.selected[data-fortune="weekly"]) #view-reading .fortune-timeline-item{padding:16px}
}
@media(prefers-reduced-motion:reduce){body:has(.nav-item.selected[data-fortune]) #view-reading *{scroll-behavior:auto}}

/* Home shortcuts for the existing compatibility and talisman screens. */
#view-fortunes .home-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
#view-fortunes .home-extra-card{display:flex;flex-direction:column;width:100%;min-width:0;padding:0;overflow:hidden;text-align:left;color:var(--ink);background:var(--sheet);border:1px solid var(--rule);border-radius:11px;box-shadow:0 2px 5px rgba(55,41,30,.025);transition:border-color .16s ease,box-shadow .16s ease}
#view-fortunes .home-extra-card:hover{border-color:#9b826a;box-shadow:0 3px 14px rgba(55,41,30,.08)}
#view-fortunes .home-extra-photo{position:relative;display:block;width:100%;height:200px;overflow:hidden;background:#b3a492}
#view-fortunes .home-extra-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#view-fortunes .home-extra-copy{position:relative;display:block;min-height:80px;padding:13px 42px 14px 18px}
#view-fortunes .home-extra-copy strong{display:block;font:600 18px/1.45 var(--sans);letter-spacing:-.035em}
#view-fortunes .home-extra-copy small{display:block;margin-top:3px;font:400 12px/1.6 var(--sans);color:var(--muted)}
#view-fortunes .home-extra-arrow{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:24px;line-height:1;color:var(--ink-soft)}
@media(min-width:1500px){#view-fortunes .home-extras{gap:18px}#view-fortunes .home-extra-photo{height:220px}}
@media(max-width:730px){#view-fortunes .home-extras{gap:11px;margin-top:14px}#view-fortunes .home-extra-card{border-radius:9px}#view-fortunes .home-extra-photo{height:auto;aspect-ratio:1.35}#view-fortunes .home-extra-photo img{position:absolute;inset:0}#view-fortunes .home-extra-copy{min-height:74px;padding:10px 26px 11px 11px}#view-fortunes .home-extra-copy strong{font-size:15px}#view-fortunes .home-extra-copy small{font-size:11px}#view-fortunes .home-extra-arrow{right:10px;font-size:21px}}
@media(max-width:380px){#view-fortunes .home-extras{gap:9px}#view-fortunes .home-extra-copy strong{font-size:14px}#view-fortunes .home-extra-copy small{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){#view-fortunes .home-extra-card{transition:none}}

/* Approved label-first sidebar only. Existing page layouts and mobile navigation stay in place. */
.sidebar .sidebar-settings{display:none}
@media(min-width:731px){
 :root{--side:204px}
 .sidebar{width:var(--side);padding:22px 12px 16px;background:var(--sheet);border-right:1px solid var(--rule);box-shadow:none}
 .sidebar .brand{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0 10px}
 .sidebar .brand-mark{width:30px;height:39px;flex-shrink:0}
 .sidebar .brand-name{display:block;font-size:32px;line-height:1;letter-spacing:-.05em}
 .sidebar .brand-name small{display:block;font-size:11px;line-height:1.2;margin-top:6px;color:var(--muted)}
 .sidebar nav{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:3px;margin-top:18px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--rule-strong) transparent}
 .sidebar .nav-label{display:block;margin:10px 11px 4px;font-size:11px;font-weight:400;line-height:1.5;letter-spacing:.025em;color:var(--muted)}
 .sidebar .nav-item{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-height:38px;padding:7px 10px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:400;line-height:1.4;text-align:left;white-space:nowrap;color:var(--ink-soft);background:transparent;box-shadow:none}
 .sidebar .nav-item:hover{background:#f0eae2}
 .sidebar .nav-item.selected{background:var(--pine-soft);border-color:#d7cabb;color:var(--pine-deep);font-weight:500;box-shadow:none}
 .sidebar .nav-glyph,.sidebar .nav-item.selected .nav-glyph{display:grid;place-items:center;width:18px;height:18px;flex-shrink:0;background:none;border:0;color:inherit}
 .sidebar .nav-glyph svg{display:block;width:18px;height:18px;stroke-width:1.6}
 .sidebar nav>.nav-item[data-view="settings"]{display:none}
 .sidebar .sidebar-bottom{display:block;margin-top:12px;padding:12px 8px 0;border-top:1px solid var(--rule)}
 .sidebar .sidebar-settings{display:flex;width:100%;margin-bottom:10px}
 .sidebar .sidebar-bottom p{display:none}
 .sidebar .sidebar-bottom a{font-size:11px;line-height:1.5}
 .sidebar .sidebar-bottom .version{display:block;margin-top:6px;font-size:10.5px;line-height:1.5;color:var(--muted)}
}
@media(min-width:731px) and (max-width:960px){
 :root{--side:184px}
 .sidebar{padding:18px 10px 14px}
 .sidebar .brand{padding:0 8px}
 .sidebar .brand-name{font-size:30px}
 .sidebar .nav-item{padding-left:9px;padding-right:9px;gap:9px}
}

/* 띠별운세: 띠마다 작은 그림과 그 아래 이름 (2026-11-15, 요청) */
.zodiac-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0}
.zodiac-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:0;padding:10px 4px 9px;border-radius:12px}
.zodiac-chip svg{width:40px;height:40px;display:block}
.zodiac-chip svg .bg{fill:#f8f3eb}
.zodiac-chip svg .belly{stroke:#f8f3eb}
.zodiac-chip svg .dot{fill:currentColor;stroke:none}
.zodiac-chip:hover svg .bg{fill:#eee5d9}
.zodiac-chip:hover svg .belly{stroke:#eee5d9}
.zodiac-chip[aria-pressed="true"]{background:#eee5d9;border-color:#5e4a39}
.zodiac-chip[aria-pressed="true"] svg .bg{fill:#eee5d9}
.zodiac-chip[aria-pressed="true"] svg .belly{stroke:#eee5d9}
.zodiac-chip span{font-size:12px;line-height:1.2;white-space:nowrap}
@media(max-width:730px){.zodiac-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.zodiac-chip svg{width:36px;height:36px}}
/* Phone menu: five fixed places (홈 · 운세 · 궁합 · 부적 · 더보기); 운세 and 더보기 open a small sheet above the bar. */
.sidebar .phone-tab{display:none}
.phone-sheet[hidden]{display:none}
@media(max-width:730px){.sidebar nav{overflow:visible;justify-content:space-around;margin:0}.sidebar nav .nav-item[data-fortune],.sidebar nav .nav-item[data-view=consult],.sidebar nav .nav-item[data-view=chart],.sidebar nav .nav-item[data-view=journal],.sidebar nav .nav-item[data-view=settings]{display:none}.sidebar nav .nav-item{flex:1 1 0;min-width:0}.sidebar nav .phone-tab{display:flex}.phone-sheet{position:fixed;left:10px;right:10px;z-index:30;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px;background:var(--sheet);border:1px solid var(--rule);border-radius:12px;box-shadow:0 8px 24px rgba(45,41,38,.12)}.phone-sheet .nav-item{font-size:11px;min-height:58px;flex-direction:column;gap:4px;justify-content:center;padding:6px 4px;border-radius:8px}.phone-sheet .nav-glyph,.phone-sheet .nav-item.selected .nav-glyph{width:21px;height:21px}.phone-sheet .nav-glyph svg{width:19px;height:19px}}
/* Talisman kinds: a small picture of each one beside its name. */
.chip.charm-kind{display:inline-flex;align-items:center;gap:8px;padding:4px 12px 4px 5px;border-radius:10px}
.charm-thumb{display:block;flex:none;width:24px;height:53px;border-radius:2px;overflow:hidden;box-shadow:0 1px 2px rgba(45,41,38,.18)}
.charm-thumb svg{display:block;width:100%;height:100%}
.profile-prompt-actions{justify-content:center}
.birth-form-error{margin:6px 0 14px;color:#982f2a;font-weight:600}
.birth-form-error:focus{outline:2px solid currentColor;outline-offset:3px}
.birth-time-field{margin:12px 0}
#profile-form>.birth-time-field{margin:0 0 16px}
.birth-time-field>label{margin:0}
.birth-time-parts{display:flex;align-items:center;gap:4px;min-height:47px;margin-top:6px;padding:0 7px;border:1px solid #c6b8a9;border-radius:8px;background:#fffdfa}
.birth-time-parts>input[type=text],.birth-time-parts>select{min-height:36px;margin:0;padding:4px;border:0;background:transparent}
.birth-time-parts>select{width:64px}
.birth-time-parts>input[type=text]{width:34px;text-align:center;font-variant-numeric:tabular-nums}
.birth-time-parts>select:disabled{opacity:.5}
#weekly-period{margin:0 0 12px;color:var(--ink-soft);font-weight:600;font-variant-numeric:tabular-nums}
#weekly-period:empty{display:none}
#weekly-options .actions{justify-content:flex-start;flex-wrap:nowrap;gap:8px}
.reading-filter-fields:has(>#weekly-options:not([hidden])) :is(#reading-reference,.button){height:44px}
.saved-partners{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:8px;margin-bottom:16px}
.saved-partners>h3{flex:1 1 auto;margin:0;font-size:13.5px;font-weight:400;color:var(--ink-soft)}
.saved-partners>.chat-suggestions{order:2;flex:1 0 100%;margin:0}
.saved-partners>.text-button{order:1;margin:0;padding:4px 0}
.saved-partner-entry .text-button{margin:0;padding:4px 2px}
.saved-partner-entry{display:inline-flex;align-items:center;gap:4px;max-width:100%}
.saved-partner-entry .chip{overflow-wrap:anywhere}
dialog.match-share-dialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--rule);border-radius:14px;background:var(--sheet);color:var(--ink);padding:20px}
dialog.match-share-dialog::backdrop{background:rgba(45,41,38,.48)}
.match-share-preview{display:grid;justify-items:center;margin:12px 0}
.match-share-preview canvas{display:block;max-width:100%;max-height:52dvh;width:auto;height:auto;border-radius:8px}

@media(max-width:730px){
 .reading-filter-fields:has(>#weekly-options:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) max-content}
 .reading-filter-fields:has(>#weekly-options:not([hidden])) #reading-reference{min-width:0;padding-inline:8px}
 #weekly-options .button{flex:0 0 auto;padding-inline:10px}
 #view-reading.reading-entry:not([hidden]){display:flex;flex-direction:column}
 #view-reading.reading-entry>.bar-room-banner{order:1;margin-top:14px}
}
