@font-face{font-family:AnVanSerif;font-style:normal;font-weight:400 500;font-display:swap;src:url('/fonts/serif-regular.ttf') format('truetype')}
@font-face{font-family:AnVanSerif;font-style:normal;font-weight:600 900;font-display:swap;src:url('/fonts/serif-bold.ttf') format('truetype')}
@font-face{font-family:AnVanSerif;font-style:italic;font-weight:400 900;font-display:swap;src:url('/fonts/serif-italic.ttf') format('truetype')}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/400.ttf") format("truetype")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:500;font-display:swap;src:url("/fonts/500.ttf") format("truetype")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/600.ttf") format("truetype")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/700.ttf") format("truetype")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:800;font-display:swap;src:url("/fonts/800.ttf") format("truetype")}
:root{--paper:#f6f1e7;--ink:#302c28;--red:#af4535;--muted:#7d786c;--line:#ded7c9}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'Be Vietnam Pro',sans-serif}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #a28c50;outline-offset:5px}header{max-width:1280px;margin:auto;padding:28px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-weight:800;letter-spacing:3px;font-size:21px}.seal{background:var(--red);color:var(--paper);font:26px serif;border-radius:6px;padding:4px 6px;transform:none}.brandline{font-size:8px;font-weight:500;letter-spacing:1.5px;border-left:1px solid var(--line);padding-left:18px;margin-left:10px}.profile{border:0;background:transparent;color:var(--ink);font-size:12px}.profile span{margin-left:12px;color:var(--red)}main{max-width:1184px;margin:auto;padding:0 0}.topline{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;padding:25px 0;letter-spacing:1px}.edition{font-size:9px}.hero{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:10px;padding:24px 0 50px}.eyebrow{font-size:10px;letter-spacing:2.2px;color:var(--red);font-weight:600}h1{font-size:66px;line-height:1.2;letter-spacing:-3.5px;font-weight:500;margin:23px 0}h1 em{font-family:AnVanSerif,serif;color:var(--red);font-size:85px;font-weight:400}p{line-height:1.9;color:var(--muted)}.intro p{font-size:13px;margin-bottom:27px}.primary{border:0;background:var(--red);color:#fff9ed;padding:17px 24px;border-radius:5px;display:inline-flex;gap:35px;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;transition:background .2s,transform .2s}.primary:hover{background:#923b2e;transform:translateY(-2px)}.primary:disabled{opacity:.7;cursor:wait}.smallnote{font-size:9px;color:var(--muted);margin-top:15px}.landscape{position:relative;border-radius:50% 50% 4px 4px;overflow:hidden;background:#eee8d6;margin-left:12px}.landscape svg{display:block;width:100%;height:auto}.art-caption{text-align:center;font-size:8px;letter-spacing:3px;background:#344b43;color:#eee3c7;padding:12px}.calendar{border:1px solid var(--line);border-radius:7px;padding:23px 28px;display:flex;gap:25px;align-items:center;background:#fbf7ee}.calmark{font-size:36px;color:#a68d4e}.label{font-size:8px;color:var(--muted);letter-spacing:1.5px;display:block;margin-bottom:8px}strong{font-weight:500;font-size:13px}.caldivider{height:37px;width:1px;background:var(--line);margin:0 20px}.calendar-note{margin-left:auto;color:#8a866f;font-size:10px;line-height:1.8}.below{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:60px;margin:55px 0}h2{font-size:26px;font-weight:500;line-height:1.5;letter-spacing:-.8px;margin:12px 0}.feature>span{color:#a18c59;font-size:10px}.feature h3{font-size:13px;font-weight:600;margin:18px 0 8px}.feature p{font-size:11px;max-width:240px}footer{border-top:1px solid var(--line);padding:25px 0;display:flex;justify-content:space-between;font-size:9px;gap:20px}footer>span:last-child,.muted{color:var(--muted)}dialog{border:1px solid var(--line);border-radius:15px;background:#fffcf5;padding:38px;max-width:440px;width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#302c2877;backdrop-filter:blur(4px)}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:27px;color:var(--muted)}dialog>p{font-size:12px}label{display:block;margin-top:20px;font-size:11px;font-weight:600}input{display:block;width:100%;border:1px solid var(--line);background:#f9f5ec;padding:13px;margin-top:9px;border-radius:5px;color:var(--ink);min-height:46px}.privacy{font-size:10px;margin:20px 0}.textbtn{border:0;background:none;color:var(--muted);font-size:10px;display:block;margin:16px auto 0}form .primary{width:100%}#error{font-size:11px;color:var(--red)}#result{margin:35px 0;scroll-margin-top:20px}.result-head{display:flex;justify-content:space-between;align-items:center}.result-head button{border:1px solid var(--line);padding:10px;background:none;border-radius:5px;font-size:11px}.reading{margin-top:20px;display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.message{background:#ede9dd;border:1px solid var(--line);padding:30px;border-radius:8px}.message h2{font-size:30px;color:var(--red)}.message p{font-size:13px}.fortune-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mini{border:1px solid var(--line);border-radius:8px;padding:20px;background:#fffcf5}.mini p{font-size:12px;margin:8px 0 0}.mini b{font-size:35px;color:var(--red);font-weight:500;display:block;margin-top:12px}.demo{font-size:10px;line-height:1.8;color:var(--muted);margin-top:20px}.color-dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px}.reveal{animation:appear .65s ease-out}@keyframes appear{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1500px){main{padding-top:25px}.hero{padding-top:40px;padding-bottom:65px}}@media(max-width:1250px){main{margin:0 48px}}@media(max-width:700px){header{padding:20px}.brandline,.edition{display:none}.brand{font-size:18px}.profile{font-size:11px}main{margin:0 22px}.topline{padding:20px 0;font-size:9px}.hero{display:flex;flex-direction:column;padding:17px 0 28px;gap:32px}.intro{width:100%}h1{font-size:48px;letter-spacing:-2.5px;margin:17px 0}h1 em{font-size:65px}.intro p{font-size:12px}.landscape{width:100%;max-width:440px;margin:0}.calendar{gap:15px;padding:19px 15px;flex-wrap:wrap}.calmark{display:none}.caldivider{margin:0 0;height:32px}.calendar strong{font-size:10px}.label{font-size:7px}.calendar-note{display:none}.below{grid-template-columns:1fr 1fr;gap:25px;margin:35px 0}.below>div:first-child{grid-column:1/-1}.below h2{font-size:24px}.feature p{font-size:11px}footer{flex-direction:column;gap:10px;line-height:1.8}.reading{grid-template-columns:1fr}.message{padding:22px}.message h2{font-size:26px}.mini{padding:15px}.result-head h2{font-size:21px}.result-head button{font-size:10px}dialog{padding:30px 24px}.desktop{display:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* An Vận 02 — personal almanac */
[hidden]{display:none!important}html{scroll-behavior:smooth;scroll-padding-top:24px}.topnav{display:flex;gap:28px;align-items:center}.topnav a{font-size:12px;color:var(--ink);text-decoration:none}.calendar-note{color:var(--red);text-decoration:none}.profile-panel{background:#fffcf5;border:1px solid var(--line);border-radius:10px;padding:28px;margin-top:28px}.identity-top{display:flex;gap:18px;align-items:center}.element-seal{width:64px;height:70px;display:grid;place-items:center;border:1px solid var(--element);color:var(--element);border-radius:36px 36px 6px 6px;font:34px AnVanSerif,serif;flex-shrink:0}.identity-top h2{margin:7px 0 3px;font-size:23px;overflow-wrap:anywhere}.identity-top p{margin:0;font-size:11px}.identity-year{display:block;font-size:12px;letter-spacing:0;font-weight:400;margin-top:5px;color:var(--muted)}.outline-btn{border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--ink);padding:11px 15px;font-size:11px}.identity-top .outline-btn{margin-left:auto;flex-shrink:0}.identity-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;padding:24px 0}.identity-grid>div+div{border-left:1px solid var(--line);padding-left:24px}.identity-grid strong{display:block;font-size:15px}.identity-grid small{display:block;font-size:10px;color:var(--muted);margin-top:9px}.accent{color:var(--red)}.pillars{background:#f3eee3;display:grid;grid-template-columns:1fr 1fr 1fr;border-radius:6px;padding:16px 20px;gap:18px}.pillars span,.day-pillars span{display:block;color:var(--muted);font-size:10px;margin-bottom:7px}.pillars b,.day-pillars b{font-size:13px;font-weight:500}.element-note{margin-top:16px}.element-note summary,.reason summary,.method summary{cursor:pointer;font-size:12px;font-weight:500;list-style:none;display:flex;justify-content:space-between;gap:20px}.element-note summary::-webkit-details-marker,.reason summary::-webkit-details-marker,.method summary::-webkit-details-marker{display:none}summary span{color:var(--red)}details[open]>summary>span[aria-hidden="true"]:last-child{transform:rotate(45deg)}.element-note p{font-size:12px;margin-bottom:0}.fine{font-size:10px!important;line-height:1.9;color:var(--muted);font-weight:400}.reading{grid-template-columns:1.5fr 1fr}.reading-tags{display:flex;gap:8px;flex-wrap:wrap}.reading-tags span{border:1px solid #c9c0aa;border-radius:30px;padding:6px 9px;font-size:9px;color:#66654e}.message{background:linear-gradient(135deg,#ece8dc,#f4eee1)}.message h2{margin-top:23px}.message .verse{color:#756c51;font-style:italic;font-size:14px}.daily-action{margin-top:24px;padding-top:20px;border-top:1px solid #d4ccbb}.daily-action strong{font-size:12px;line-height:1.8;display:block}.wide{grid-column:1/-1}.mini small{font-size:9px;color:var(--muted);display:block;margin-top:10px}.mini .label{line-height:1.7}.life-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0}.life-grid article{border:1px solid var(--line);border-radius:8px;background:#fbf7ee;padding:24px}.life-grid h3{font-size:15px;font-weight:500;margin:10px 0}.life-grid p{font-size:12px;margin-bottom:0}.life-icon{font-size:10px;color:#a18c59}.reason{border:1px solid var(--line);border-radius:8px;padding:23px}.reason-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:24px}.reason-grid p{font-size:11px;margin:8px 0 12px}.reason-grid strong{font-size:12px;color:#5b6e58}.reason>p{margin-bottom:0;padding-top:14px;border-top:1px solid var(--line)}.reflection{text-align:center;padding:30px 15px 8px}.reflection span{font-size:8px;letter-spacing:2px;color:var(--red)}.reflection p{font-size:14px;color:#66634f}.calendar-section{margin-top:52px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-title h2{margin-bottom:0}.calendar-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:24px}.month-card,.day-detail{border:1px solid var(--line);border-radius:10px;background:#fffcf5;padding:25px}.month-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.month-nav h3{font-size:16px;font-weight:500;margin:0}.month-nav button{border:1px solid var(--line);border-radius:50%;width:34px;height:34px;background:transparent;font-size:24px;line-height:1;color:var(--ink)}button:disabled{opacity:.4;cursor:default}.weekdays,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekdays{text-align:center;color:var(--muted);font-size:10px;margin-bottom:10px}.day-cell{position:relative;background:transparent;border:1px solid transparent;min-height:54px;border-radius:7px;padding:6px 2px 12px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;color:var(--ink)}.day-cell>span{font-size:14px}.day-cell small{font-size:9px;color:var(--muted)}.day-cell:hover{background:#eee8dc}.day-cell.today{border-color:#b7896f}.day-cell.selected{background:var(--red);color:#fff8e9}.day-cell.selected small{color:#f3d7c9}.good-dot{position:absolute;width:4px;height:4px;border-radius:50%;background:#7f9464;bottom:5px}.selected .good-dot{background:#e3deb3}.calendar-legend{display:flex;justify-content:space-between;gap:8px;font-size:8px;color:var(--muted);margin-top:17px;line-height:1.8}.calendar-legend i{display:inline-block;width:5px;height:5px;background:#7f9464;border-radius:50%;margin-right:3px}.jump-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;border-top:1px solid var(--line);padding-top:17px;font-weight:400}.jump-label input{width:160px;font-size:11px;margin:0;min-width:0;padding:9px;min-height:36px}.day-detail-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.day-detail-top h2{font-size:27px;margin:10px 0 0}.day-detail-top p{font-size:12px;margin:3px 0 0}.day-badge{text-align:center;border-radius:7px;font-size:11px;padding:12px;white-space:nowrap}.day-badge.good{color:#536a4b;background:#edf0e4}.day-badge.calm{color:#84735a;background:#f0eadd}.day-badge small{display:block;font-size:9px;margin-top:5px}.day-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:19px 0;margin-top:20px}.day-element{font-size:11px}.day-element strong{font-size:11px}.hours-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:20px 0 13px}.hours-heading h3{font-size:13px;font-weight:600;margin:0}.hours-heading span{font-size:8px;color:var(--muted)}.hour-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hour-grid>div{border:1px solid #e7dfd0;border-radius:6px;padding:10px 4px;text-align:center;background:#f7f3e9}.hour-grid b{font-size:11px;font-weight:600;color:#62704f;display:block}.hour-grid span{font-size:10px;display:block;margin-top:5px}.hour-grid small{font-size:8px;color:var(--muted);display:block;margin-top:6px}.day-tip{font-size:11px;line-height:1.8;border-top:1px solid var(--line);padding-top:15px;color:#666b53}.method{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin-top:28px}.method-content{max-width:850px;padding:10px 0}.method h3{font-size:12px;font-weight:600;margin:20px 0 6px}.method p,.method li{font-size:11px;line-height:1.9;color:var(--muted)}.method a{color:var(--red);text-underline-offset:3px}.method ul{padding-left:18px}select{font:inherit;display:block;width:100%;border:1px solid var(--line);border-radius:5px;padding:12px;background:#f9f5ec;color:var(--ink);margin-top:9px}.birth-fields{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:10px}.birth-fields input{min-width:0;padding:12px 8px}.checkbox-label{display:flex;gap:8px;align-items:center;font-weight:400;font-size:11px}.checkbox-label input{width:16px;min-height:16px;height:16px;display:inline;margin:0;accent-color:var(--red)}.birth-preview{font-size:11px;line-height:1.9;color:#5f7057;border:1px solid #dce0ce;background:#f1f2e8;border-radius:6px;padding:12px;margin-top:20px;white-space:pre-line}.birth-preview.invalid{color:var(--red);background:#f8eee5;border-color:#e5cfc0}dialog{max-height:90dvh;overflow-y:auto}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#344b43;color:#fff8ed;padding:14px 20px;max-width:calc(100% - 32px);width:max-content;border-radius:8px;box-shadow:0 5px 25px #302c2820;font-size:12px;line-height:1.7;z-index:100}.hero{padding-bottom:35px}.intro p{max-width:440px}.below{margin:35px 0}.reason-grid b{font-weight:500;color:var(--ink)}
@media(max-width:900px){.calendar-layout{grid-template-columns:1fr 1fr;gap:16px}.month-card,.day-detail{padding:18px}.day-detail-top h2{font-size:22px}.day-badge{padding:9px;font-size:10px}.reason-grid{gap:16px}.identity-grid{gap:16px}.identity-grid>div+div{padding-left:16px}.reading{grid-template-columns:1.25fr 1fr}}
@media(max-width:700px){.topnav{gap:15px}.topnav a{font-size:11px}.profile-panel{padding:20px;margin-top:20px}.element-seal{width:48px;height:58px;font-size:28px}.identity-top{gap:12px;flex-wrap:wrap}.identity-top h2{font-size:20px}.identity-top .outline-btn{padding:8px 10px;font-size:10px}.identity-grid{grid-template-columns:1fr 1fr;gap:19px;padding:21px 0}.identity-grid>div+div{padding-left:0;border-left:0}.identity-grid>div:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:16px}.identity-grid strong{font-size:13px}.identity-grid .label{font-size:8px}.pillars{padding:13px 12px;gap:8px}.pillars span{font-size:8px}.pillars b{font-size:11px}.reading{grid-template-columns:1fr}.life-grid{grid-template-columns:1fr;gap:10px}.life-grid article{padding:19px}.life-grid h3{display:inline;margin-left:10px;font-size:14px}.life-grid p{font-size:12px}.reason{padding:20px}.reason-grid{grid-template-columns:1fr;gap:17px}.reason-grid>div+div{border-top:1px solid var(--line);padding-top:17px}.reason-grid p{font-size:12px}.reason-grid .label{font-size:8px}.reason summary{font-size:12px;line-height:1.7}.calendar-section{margin-top:36px}.calendar-layout{grid-template-columns:1fr;gap:16px}.calendar-section h2{font-size:24px}.month-card,.day-detail{padding:20px}.day-cell{min-height:52px}.day-cell>span{font-size:15px}.day-cell small{font-size:10px}.calendar-legend{font-size:9px}.day-detail-top h2{font-size:26px}.day-badge{font-size:11px;padding:12px}.hour-grid>div{padding:12px 5px}.hour-grid span{font-size:11px}.hour-grid small{font-size:9px}.calendar{padding:18px 16px;gap:15px}.calendar-note{display:block;font-size:10px;margin-left:0;width:100%;border-top:1px solid var(--line);padding-top:10px}.calendar strong{font-size:11px}.calendar .caldivider{display:none}.calendar>.calmark{display:none}.calendar>div:nth-child(4){padding-left:13px;border-left:1px solid var(--line)}.hero{gap:25px}.landscape{max-height:255px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:46% 46% 4px 4px}.landscape svg{min-height:245px}.art-caption{font-size:7px;padding:10px}.method summary{line-height:1.8}.method p,.method li{font-size:12px}.method h3{font-size:13px}.mini p{font-size:11px}.intro p{max-width:none}h1{font-size:44px}.smallnote{font-size:10px}.reflection p{font-size:13px}.day-detail .fine{font-size:10px!important}.profile-panel .fine{font-size:10px!important}}
@media(max-width:360px){main{margin:0 15px}.topnav{gap:9px}.brand{font-size:16px;gap:7px}.profile{padding:0}.profile span{margin-left:3px}.identity-top .outline-btn{margin-left:60px}.calendar>div:nth-child(4){padding-left:0;border:0}.calendar{gap:18px}.calendar strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Readable result typography and consistent, decorative heading icons. */
#result{scroll-margin-top:24px}
#result .result-head{gap:16px;align-items:flex-start}
#result .result-head h2{font-size:clamp(24px,3vw,30px);line-height:1.4}
#result .eyebrow{font-size:12px;line-height:1.7;letter-spacing:1px}
#result .result-head button{font-size:13px;min-height:44px;flex-shrink:0}
#result .message p,#result .mini p,#result .life-grid p,#result .reason-grid p,#result .reflection p{font-size:16px;line-height:1.85;color:#454537}
#result .message h2{font-size:clamp(28px,4vw,36px);line-height:1.35}
#result .message .verse{font-size:19px;line-height:1.75;color:#67583e}
#result .reading-tags span{font-size:12px;line-height:1.5;color:#56533e}
#result .result-label{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:17px;line-height:1.5;font-weight:650;letter-spacing:0;color:var(--red)}
#result .result-label span{font:inherit;color:inherit;letter-spacing:inherit}
#result .result-icon{width:23px;height:23px;flex:0 0 23px}
#result .daily-action strong{font-size:16px;line-height:1.85;font-weight:600;color:#454537}
#result .mini b{font-size:40px;font-weight:600;line-height:1.3}
#result .mini small,#result .reason>.fine{font-size:13px;line-height:1.8;color:#686252}
#result .mini,#result .life-grid article{padding:24px}
#result .reason{padding:26px}
#result .reason summary{font-size:18px;line-height:1.6;font-weight:600;color:var(--ink)}
#result .reason-grid strong{font-size:16px;line-height:1.7;font-weight:600;color:#4b6148}
#result .reason-grid b{font-weight:650}
#result .reflection .result-label{justify-content:center}
#result .reflection p{max-width:650px;margin:12px auto}
#result .fortune-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
#result .reading>* ,#result .fortune-meta>*{min-width:0}
@media(max-width:1000px){#result .reading{grid-template-columns:1fr}}
@media(max-width:700px){
 #result .message,#result .mini,#result .life-grid article,#result .reason{padding:22px 20px}
 #result .result-head{flex-wrap:wrap}
 #result .result-label{font-size:17px}
 #result .life-grid{gap:14px}
 #result .reason-grid{gap:22px}
 #result .reason-grid>div+div{padding-top:22px}
 #result .reason summary{font-size:17px}
}
@media(max-width:420px){#result .fortune-meta{grid-template-columns:1fr}#result .mini.wide{grid-column:auto}}

.zodiac-badge{display:flex;align-items:center;gap:14px;background:#eee3d2;border:1px solid #d9bda0;border-radius:12px;padding:12px 18px;margin:12px 0;width:fit-content}
.zodiac-icon{font-size:42px;line-height:1.2}.identity-top .identity-year{display:block;font-size:30px;line-height:1.3;font-weight:700;color:var(--red);margin:0}.zodiac-badge div>span{display:block;font-size:13px;margin-top:5px;color:#665641}.identity-top{align-items:center}.identity-top>div:nth-child(2){min-width:0}
.weather-panel{margin:18px 0 28px;border:1px solid var(--line);border-radius:10px;padding:24px;background:#faf7ef}.weather-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.weather-header h2{font-size:23px;margin:8px 0}.weather-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.weather-controls label{font-size:13px}.weather-controls select{width:auto;max-width:100%;margin:0;min-height:44px;font-size:14px}.weather-controls button{min-height:44px;font-size:13px}.weather-note,.weather-source{font-size:12px;line-height:1.7;color:#686252}.weather-source{margin:18px 0 0}.weather-source a{color:var(--red)}.weather-now{display:flex;gap:18px;align-items:center;margin:20px 0}.weather-symbol{font-size:42px}.weather-temperature{font-size:36px;font-weight:650;color:var(--red)}.weather-condition{font-size:16px;margin:4px 0}.weather-stats{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.weather-stats span{font-size:13px;padding:9px 12px;border:1px solid var(--line);border-radius:6px}.weather-tips{list-style:none;padding:0;margin:16px 0;display:grid;gap:10px}.weather-tips li{padding:13px 16px;border-radius:7px;background:#eef0e5;color:#42523d;font-size:15px;line-height:1.7}.weather-updated{font-size:12px;color:#686252}.weather-error{font-size:15px;line-height:1.7;color:var(--red)}
@media(max-width:700px){.weather-panel{padding:20px}.weather-controls{width:100%}.weather-controls label{width:100%}.weather-controls select{flex:1}.identity-top .identity-year{font-size:28px}.zodiac-badge{padding:12px;gap:10px}.zodiac-icon{font-size:36px}.identity-top .outline-btn{margin-left:0}.weather-header .eyebrow{font-size:10px}.weather-stats{gap:8px}}

/* Compact weather shares the existing daily calendar card. */
.zodiac-icon{display:flex;align-items:center;justify-content:center;color:var(--red);width:44px;flex:0 0 44px}.zodiac-icon svg{width:42px;height:42px}
.calendar{flex-wrap:wrap;gap:20px}.calendar .weather-inline{flex:1 1 280px;min-width:0;border-left:1px solid var(--line);padding-left:22px}.weather-inline-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.weather-inline-head .label{margin:0}.weather-settings{position:relative}.weather-settings summary{cursor:pointer;font-size:11px;color:var(--red);list-style:none;white-space:nowrap}.weather-settings summary::-webkit-details-marker{display:none}.weather-settings .weather-controls{position:absolute;right:0;top:26px;width:290px;max-width:calc(100vw - 64px);padding:16px;background:#fffaf0;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #302c2820;z-index:5}.weather-settings .weather-controls label{width:100%}.weather-settings .weather-controls select{width:100%}.weather-settings .weather-controls a{font-size:11px;color:var(--red)}.weather-settings .weather-note{margin:0}.weather-compact-main{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin-top:9px}.calendar .weather-compact-main strong{font-size:16px;line-height:1.5;color:var(--ink)}.weather-compact-main>span{font-size:11px;color:#686252}.weather-one-tip{font-size:13px;line-height:1.65;margin:5px 0 0;color:#506047}.calendar .calendar-note{flex:0 0 100%;border-top:1px solid var(--line);padding-top:10px;margin-left:0}.weather-inline .weather-error{font-size:13px;margin-bottom:0}
@media(max-width:700px){.calendar .weather-inline{flex-basis:100%;border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.calendar .weather-compact-main strong{font-size:16px}.weather-one-tip{font-size:14px}.zodiac-icon{width:38px;flex-basis:38px}.zodiac-icon svg{width:36px;height:36px}}

/* The daily draw is the primary action on the page. */
#start{position:relative;display:inline-flex;justify-content:center;gap:18px;min-height:76px;min-width:330px;max-width:100%;padding:20px 28px;border:1px solid #8e3529;border-radius:12px;background:linear-gradient(135deg,#b34c38,#96372c);color:#fff9ee;font-size:19px;font-weight:700;line-height:1.4;box-shadow:0 7px 0 #7e30251a,0 12px 26px #983e3029,inset 0 1px 0 #ffffff35;transition:transform .2s,box-shadow .2s,background .2s}
#start::before{content:"";width:30px;height:30px;flex:0 0 30px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='m12 2 3 7 7 3-7 3-3 7-3-7-7-3 7-3Z'/%3E%3C/svg%3E") center/contain no-repeat}
#start:hover:not(:disabled){background:linear-gradient(135deg,#a94432,#853026);transform:translateY(-3px);box-shadow:0 9px 0 #7e302514,0 16px 30px #983e3033,inset 0 1px 0 #ffffff35}
#start:active:not(:disabled){transform:translateY(0);box-shadow:0 3px 10px #983e3029}
#start:focus-visible{outline:3px solid #536a51;outline-offset:5px}
#start:disabled{opacity:.8;transform:none}
.intro .smallnote{font-size:13px;line-height:1.7;color:#71664f;margin-top:17px}
@media(max-width:700px){#start{width:100%;min-width:0;min-height:74px;font-size:18px;padding:20px 18px;gap:14px}.intro .smallnote{text-align:center;font-size:12px}}
@media(prefers-reduced-motion:reduce){#start{transition:none}#start:hover:not(:disabled){transform:none}}

/* Date planner: cream, brick red and line icons, shared with daily readings. */
.pick-hero-link{display:inline-flex;align-items:center;gap:12px;margin-top:20px;font-size:14px;line-height:1.7;font-weight:600;color:var(--red);text-underline-offset:5px}
.pick-section{scroll-margin-top:24px;margin:44px 0 50px;border:1px solid var(--line);border-radius:12px;background:#faf7ef;padding:30px}.pick-heading{display:flex;gap:18px;align-items:center;margin-bottom:28px}.pick-heading-icon{display:grid;place-items:center;width:62px;height:68px;background:#eee3d2;border:1px solid #d9bda0;border-radius:12px;color:var(--red);flex-shrink:0}.pick-heading-icon svg{width:36px;height:36px}.pick-heading h2{font-size:30px;line-height:1.3;margin:8px 0;color:var(--red)}.pick-heading p{font-size:15px;line-height:1.7;margin:0;color:#686252}.pick-heading .eyebrow{font-size:11px;line-height:1.7}.pick-purpose{border:0;margin:0;padding:0;min-width:0}.pick-purpose legend{font-size:18px;font-weight:650;line-height:1.6;margin-bottom:15px}.pick-purpose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pick-purpose-option{position:relative;display:block;cursor:pointer;margin:0}.pick-purpose-option>input{position:absolute;opacity:0;width:1px;height:1px;padding:0;margin:0;min-height:0}.pick-purpose-content{display:flex;align-items:flex-start;flex-direction:column;gap:10px;border:1px solid #d7cdbb;background:#fffcf5;border-radius:9px;padding:20px;min-height:155px;height:100%;transition:background .2s,border-color .2s}.pick-icon{width:23px;height:23px;flex:0 0 23px;color:var(--red)}.pick-purpose-content>.pick-icon{width:28px;height:28px;flex-basis:28px}.pick-purpose-content strong{font-size:17px;font-weight:650;color:#464236;line-height:1.5}.pick-purpose-content small{font-size:13px;color:#686252;line-height:1.7}.pick-purpose-option input:checked+.pick-purpose-content{border:2px solid var(--red);padding:19px;background:#f4e8db;box-shadow:0 2px 8px #9c423010}.pick-purpose-option input:focus-visible+.pick-purpose-content{outline:3px solid #536a51;outline-offset:4px}.pick-options{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;align-items:end;margin:24px 0}.pick-options>label{font-size:14px;font-weight:600;margin:0;min-width:0}.pick-options input[type=date],.pick-options select{font-size:16px;min-height:48px;width:100%;min-width:0;margin-top:9px;padding:12px;background:#fffcf5}.pick-options .pick-weekday{display:flex;align-items:center;gap:10px;min-height:48px;font-weight:500;line-height:1.6}.pick-weekday input{width:18px;height:18px;min-height:18px;padding:0;margin:0;accent-color:var(--red);flex:0 0 18px}.pick-profile{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:20px 0}.pick-profile strong{font-size:15px;line-height:1.7;color:#4b6148}.pick-profile p{font-size:13px;line-height:1.8;margin:6px 0 0;color:#686252}.pick-profile button{font-size:13px;flex-shrink:0;min-height:44px}.pick-submit{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:54px;padding:16px 24px;font-size:16px;line-height:1.4;font-weight:650;border:0;border-radius:8px;background:var(--red);color:#fff9ee}.pick-submit:hover{background:#923b2e}.pick-submit:focus-visible{outline:3px solid #536a51;outline-offset:4px}.pick-error{font-size:14px;color:var(--red);line-height:1.8;margin:10px 0}.pick-error:empty{display:none}.pick-result-heading{border-top:1px solid var(--line);padding-top:26px;margin-top:28px}.pick-result-heading h3{display:flex;align-items:center;gap:10px;font-size:22px;line-height:1.5;color:var(--red);margin:0}.pick-result-heading p{font-size:14px;line-height:1.8;color:#686252;margin:10px 0 20px}.pick-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pick-card{min-width:0;border:1px solid #d7cdbb;background:#fffcf5;border-radius:9px;padding:22px}.pick-card:first-child{border-color:#b7795e}.pick-rank{font-size:11px;letter-spacing:1px;color:var(--red);font-weight:650}.pick-card h4{font-size:26px;font-weight:700;line-height:1.4;color:var(--red);margin:12px 0 4px}.pick-weekday-label{font-size:16px;font-weight:600;margin:0 0 12px}.pick-lunar{font-size:14px;line-height:1.8;color:#686252;margin:0 0 16px}.pick-tags{display:flex;gap:6px;flex-wrap:wrap}.pick-tags span{font-size:11px;line-height:1.7;padding:5px 8px;border:1px solid #d3d9c3;border-radius:5px;background:#eff1e6;color:#526246}.pick-card h5{display:flex;gap:9px;align-items:center;font-size:16px;line-height:1.6;font-weight:650;color:var(--red);margin:23px 0 10px}.pick-card ul{padding-left:19px;margin:0}.pick-card li{font-size:14px;line-height:1.85;color:#454537;margin:8px 0}.pick-hours{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pick-hours>span{display:flex;flex-direction:column;gap:3px;font-size:12px;border:1px solid #e1dacb;background:#f5f2e8;padding:8px;border-radius:5px;color:#526246}.pick-hours b{font-size:12px;font-weight:500;color:var(--ink)}.pick-hours .elapsed{color:#777366;background:#eeece5}.pick-hours small{font-size:10px}.pick-hours-note{font-size:11px;line-height:1.8;color:#686252;margin:12px 0 18px}.pick-card button{width:100%;font-size:13px;min-height:44px}.pick-practical{padding:20px;border:1px solid #d3d9c3;border-radius:8px;background:#eff1e6;margin-top:20px}.pick-practical strong{display:flex;align-items:center;gap:10px;font-size:16px;line-height:1.6;color:#4b6148}.pick-practical p{font-size:15px;line-height:1.85;margin:10px 0 0;color:#454537}.pick-empty{background:#f1ece1;border-radius:8px;padding:20px}.pick-empty p{font-size:15px;line-height:1.85;margin:0 0 16px}.pick-method{border-top:1px solid var(--line);padding-top:18px;margin-top:28px}.pick-method summary{display:flex;justify-content:space-between;gap:12px;font-size:15px;font-weight:600;cursor:pointer;list-style:none;line-height:1.7}.pick-method summary::-webkit-details-marker{display:none}.pick-method p{font-size:13px;line-height:1.85;color:#686252}.pick-method a{color:var(--red);text-underline-offset:3px}
@media(max-width:1000px){.pick-cards{grid-template-columns:1fr}.pick-card{display:block}.pick-hours{grid-template-columns:repeat(6,minmax(0,1fr))}.pick-card button{width:auto}.pick-purpose-content{padding:16px}.pick-purpose-option input:checked+.pick-purpose-content{padding:15px}}
@media(max-width:700px){.pick-section{padding:22px 18px;margin-top:32px}.pick-heading{gap:13px;align-items:flex-start}.pick-heading h2{font-size:26px}.pick-heading-icon{width:46px;height:54px}.pick-heading-icon svg{width:28px;height:28px}.pick-heading .eyebrow{font-size:9px}.pick-purpose-grid{grid-template-columns:1fr;gap:10px}.pick-purpose-content{display:grid;grid-template-columns:30px 1fr;gap:4px 12px;min-height:0;padding:17px}.pick-purpose-option input:checked+.pick-purpose-content{padding:16px}.pick-purpose-content>.pick-icon{grid-row:1/3}.pick-purpose-content small{grid-column:2}.pick-options{grid-template-columns:1fr 1fr;gap:14px}.pick-options .pick-weekday{grid-column:1/-1;min-height:36px}.pick-profile{align-items:flex-start;flex-direction:column;gap:12px}.pick-submit{width:100%}.pick-card{padding:20px}.pick-hours{grid-template-columns:repeat(3,minmax(0,1fr))}.pick-card button{width:100%}.pick-result-heading h3{font-size:20px}.pick-hero-link{font-size:13px;width:100%;justify-content:center}.pick-practical strong{align-items:flex-start}.topnav{gap:12px}.topnav a{font-size:10px}}
@media(max-width:360px){.topnav{gap:7px}.topnav a{font-size:9px}.pick-options{grid-template-columns:1fr}.pick-options .pick-weekday{grid-column:auto}}

/* Equal emphasis for the two main features, at a calmer size. */
.hero-actions{display:grid;gap:12px;width:300px;max-width:100%}
.hero-actions #start,.hero-actions .pick-hero-link{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-width:0;max-width:100%;min-height:60px;box-sizing:border-box;margin:0;padding:16px 18px;border:1px solid #8e3529;border-radius:10px;background:linear-gradient(135deg,#b34c38,#96372c);color:#fff9ee;font-size:16px;font-weight:650;line-height:1.5;text-decoration:none;box-shadow:0 4px 0 #7e302510,0 7px 16px #983e301c,inset 0 1px 0 #ffffff30;transition:transform .2s,box-shadow .2s,background .2s}
.hero-actions #start::before{width:24px;height:24px;flex-basis:24px}
.hero-actions .pick-hero-link::before{content:"";width:24px;height:24px;flex:0 0 24px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18m-13 5 3 3 5-5'/%3E%3C/svg%3E") center/contain no-repeat}
.hero-actions #start:hover:not(:disabled),.hero-actions .pick-hero-link:hover{background:linear-gradient(135deg,#a94432,#853026);transform:translateY(-2px);box-shadow:0 5px 0 #7e302510,0 10px 20px #983e3029}
.hero-actions .pick-hero-link:focus-visible{outline:3px solid #536a51;outline-offset:5px}
.hero-actions #start:active:not(:disabled),.hero-actions .pick-hero-link:active{transform:translateY(0)}
@media(max-width:700px){.hero-actions{width:100%}.hero-actions #start,.hero-actions .pick-hero-link{min-height:60px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.hero-actions #start,.hero-actions .pick-hero-link{transition:none}.hero-actions #start:hover:not(:disabled),.hero-actions .pick-hero-link:hover{transform:none}}

/* Consistent mobile geometry, including native iOS date fields. */
input[type="date"]{min-inline-size:0;max-inline-size:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none}
input[type="date"]::-webkit-date-and-time-value{min-height:1.5em;text-align:left}
input[type="date"]::-webkit-datetime-edit{padding:0;min-width:0}
@media(max-width:700px){
 header{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:18px 20px}
 header .brand{justify-content:center;width:100%;font-size:19px}
 header .topnav{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:8px;width:100%;text-align:center}
 header .topnav a,header .topnav .profile{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 4px;font-size:12px;line-height:1.5;margin:0;white-space:normal}
 header .profile span{margin-left:5px}
 main{width:auto;min-width:0;margin:0 18px;padding:0}
 main>section,main>details,main>footer,.hero>*,.calendar-layout>*,.reading>*,.identity-grid>*,.pick-options>*,.pick-heading>*,.day-detail-top>*{min-width:0;max-width:100%}
 .topline{font-size:10px;line-height:1.7;letter-spacing:.4px}
 .hero{gap:24px;align-items:stretch}.intro{min-width:0}.landscape{align-self:center;flex-shrink:0}
 .hero-actions{width:100%;gap:12px}.hero-actions #start,.hero-actions .pick-hero-link{font-size:16px;min-height:60px}
 .calendar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:12px;row-gap:16px;padding:18px 16px}
 .calendar>.calmark,.calendar>.caldivider{display:none}
 .calendar>div:nth-child(2),.calendar>div:nth-child(4){width:100%;min-width:0;margin:0;padding:0;border:0}
 .calendar>div:nth-child(4){padding-left:12px;border-left:1px solid var(--line)}
 .calendar .label{font-size:9px;line-height:1.7;letter-spacing:.6px;margin-bottom:8px}
 .calendar>div:nth-child(2)>strong,.calendar>div:nth-child(4)>strong{display:block;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
 .calendar .weather-inline{grid-column:1/-1;width:100%;min-width:0;margin:0;padding:14px 0 0;border-left:0;border-top:1px solid var(--line)}
 .calendar .calendar-note{grid-column:1/-1;width:100%;margin:0;padding-top:12px;font-size:12px}
 .weather-inline-head{align-items:center}.weather-compact-main{gap:4px 10px}.weather-settings .weather-controls{max-width:calc(100vw - 76px);right:0}.weather-inline .weather-error{font-size:13px;line-height:1.75;overflow-wrap:anywhere}
 .profile-panel{padding:22px 18px}
 .identity-top{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;justify-items:center;text-align:center;align-items:start}
 .identity-top .element-seal{width:48px;height:54px;font-size:28px}
 .identity-top>div:nth-child(2){width:100%;min-width:0}
 .identity-top .eyebrow{display:block;font-size:10px;letter-spacing:1px;line-height:1.8}
 .identity-top h2{font-size:24px;line-height:1.4;margin:8px 0 12px}
 .identity-top p{font-size:12px;line-height:1.7}
 .zodiac-badge{width:fit-content;max-width:100%;margin:0 auto 12px;padding:13px 16px;gap:12px;text-align:left}
 .zodiac-badge>div{min-width:0}.zodiac-badge div>span{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
 .identity-top .identity-year{font-size:28px;line-height:1.3}
 .identity-top .outline-btn{margin:0;min-height:42px;font-size:12px;padding:10px 24px}
 .identity-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:20px;padding:22px 0}
 .identity-grid>div{min-width:0}.identity-grid .label{font-size:9px;line-height:1.7;letter-spacing:.5px}.identity-grid strong{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.identity-grid small{font-size:11px;line-height:1.7;margin-top:6px}
 .identity-grid>div:last-child{grid-column:1/-1;text-align:center}
 .pillars{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 8px;gap:8px;text-align:center}.pillars>div{min-width:0}.pillars span{font-size:9px;line-height:1.6;min-height:29px;margin-bottom:5px}.pillars b{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
 #result .result-head{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 #result .result-head h2{font-size:24px;line-height:1.4;overflow-wrap:anywhere}
 #result .result-head button{justify-self:start;color:var(--red);padding:10px 16px;min-height:42px}
 #result .message,#result .mini,#result .life-grid article,#result .reason{padding:22px 18px}
 #result .result-label{align-items:flex-start;gap:10px}#result .result-label>span{min-width:0}
 #result .result-icon{margin-top:2px}#result .life-grid .result-label{margin-left:0}
 #result .fortune-meta{grid-template-columns:minmax(0,1fr)}
 #result .mini.wide{grid-column:auto}
 .pick-section{padding:22px 18px;margin:34px 0}
 .pick-heading{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:12px;margin-bottom:26px}
 .pick-heading>div{width:100%;min-width:0}.pick-heading h2{font-size:26px;line-height:1.4;margin:8px 0}.pick-heading .eyebrow{font-size:10px;line-height:1.7;letter-spacing:1px}.pick-heading p{font-size:14px;line-height:1.8}.pick-heading-icon{width:48px;height:54px}
 .pick-purpose legend{font-size:17px;line-height:1.6;width:100%}
 .pick-purpose-content{grid-template-columns:28px minmax(0,1fr);padding:16px;gap:6px 12px}
 .pick-purpose-option input:checked+.pick-purpose-content{padding:15px}
 .pick-purpose-content strong{font-size:16px}.pick-purpose-content small{font-size:13px;font-weight:400}
 .pick-options{grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
 .pick-options>label{display:block;width:100%;min-width:0;margin:0;font-size:14px}
 .pick-options input[type="date"],.pick-options select{display:block;width:100%;inline-size:100%;min-width:0;min-inline-size:0;max-width:100%;height:50px;min-height:50px;margin-top:9px;padding:12px;line-height:24px;font-size:16px;box-sizing:border-box}
 .pick-options .pick-weekday{grid-column:1;display:flex;min-height:32px}
 .pick-profile{align-items:stretch;gap:14px}.pick-profile .outline-btn{align-self:flex-start;margin:0}
 .pick-submit{width:100%;min-height:52px;gap:16px;padding:15px;font-size:16px}
 .pick-card{padding:20px 16px}.pick-hours{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pick-hours>span{min-width:0;align-items:center;text-align:center}.pick-hours b{white-space:nowrap}
 .section-title{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.section-title .outline-btn{justify-self:start;font-size:12px;min-height:42px;margin:0}
 .calendar-section h2{font-size:26px;margin-top:8px}.month-card,.day-detail{padding:20px 16px}
 .weekdays,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.weekdays{font-size:10px}
 .day-cell{min-width:0;min-height:50px}.day-cell>span{font-size:15px}.day-cell small{font-size:9px}
 .calendar-legend{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;font-size:10px}
 .jump-label{display:block;font-size:12px;line-height:1.7}.jump-label input{display:block;width:100%;inline-size:100%;max-width:100%;height:46px;min-height:46px;margin-top:9px;font-size:16px;line-height:24px;padding:10px 12px}
 .day-detail-top{align-items:flex-start;flex-wrap:wrap;gap:12px}.day-detail-top h2{font-size:26px}.day-detail-top p{font-size:13px}.day-badge{padding:10px;font-size:11px;max-width:100%}
 .day-pillars{grid-template-columns:repeat(3,minmax(0,1fr));text-align:center;gap:7px}.day-pillars b{font-size:12px;overflow-wrap:anywhere}.day-pillars span{font-size:10px}
 .hours-heading{align-items:flex-start;flex-wrap:wrap;gap:7px}.hours-heading h3{font-size:15px}.hours-heading span{font-size:10px}
 .hour-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hour-grid>div{min-width:0;padding:12px 6px}.hour-grid b{font-size:13px}.hour-grid span{font-size:12px;white-space:nowrap}.hour-grid small{font-size:10px}
 .below{grid-template-columns:minmax(0,1fr)}.below>div:first-child{grid-column:auto}.feature p{max-width:none}
 dialog{padding:28px 20px}.birth-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}dialog input,dialog select{min-width:0;max-width:100%;font-size:16px}
 .method summary,.element-note summary,.pick-method summary{align-items:flex-start;line-height:1.7}summary>span{flex-shrink:0}
 footer{font-size:11px;overflow-wrap:anywhere}
}
@media(max-width:350px){main{margin-inline:14px}header{padding-inline:14px}.profile-panel,.pick-section{padding-inline:14px}.zodiac-badge{padding:12px;gap:10px}.identity-top .identity-year{font-size:25px}.zodiac-icon{width:32px;flex-basis:32px}.zodiac-icon svg{width:32px;height:32px}.identity-grid{column-gap:12px}.identity-grid strong{font-size:12px}}

.daily-update-note{font-size:12px;line-height:1.8;color:#686252;margin:8px 0 0;max-width:520px}
.daily-calendar-context{font-size:14px;line-height:1.8;padding:14px 18px;border-left:3px solid var(--red);background:#efe8da;border-radius:0 7px 7px 0;margin:20px 0;color:#57533e}
.reading-hours{padding:24px;border:1px solid var(--line);border-radius:8px;background:#fbf7ee;margin:20px 0}
.reading-hours>p{font-size:14px;line-height:1.8;color:#686252}.reading-hour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reading-hour-grid>div{padding:16px;border:1px solid #d7ddc9;border-radius:7px;background:#f0f2e7;text-align:center;min-width:0}.reading-hour-grid strong{display:block;color:#4b6148;font-size:16px;line-height:1.6;font-weight:650}.reading-hour-grid span{display:block;font-size:13px;margin:7px 0;line-height:1.6}.reading-hour-grid small{display:block;font-size:12px;color:#686252;line-height:1.7}
@media(max-width:700px){.reading-hours{padding:22px 18px}.reading-hour-grid{grid-template-columns:minmax(0,1fr)}.daily-calendar-context{font-size:14px}.daily-update-note{font-size:12px}.reading-hour-grid>div{padding:14px}}

/* Install and offline states share the An Van card system. */
.pwa-card{display:flex;align-items:center;gap:18px;padding:22px 24px;border:1px solid #d9bda0;border-radius:10px;background:#f1e8d9;margin:28px 0 14px}.pwa-card-icon,.pwa-guide-icon{border-radius:12px;flex-shrink:0}.pwa-card-text{flex:1;min-width:0}.pwa-card h2{font-size:20px;font-weight:650;color:var(--red);margin:0 0 6px;line-height:1.5}.pwa-card p{font-size:14px;line-height:1.8;margin:0;color:#686252}.pwa-card button{min-height:46px;font-size:14px;font-weight:600;color:var(--red);border-color:#c9a58c;flex-shrink:0}.pwa-status{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 24px;font-size:12px;line-height:1.8;color:#686252}.pwa-status>span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#ad9874;margin-right:8px}.pwa-status>span[data-state=ready]::before{background:#71845d}.pwa-status>span[data-state=offline]::before{background:#b48855}.pwa-status button{margin:0;min-height:40px;font-size:12px}.pwa-guide{max-width:480px}.pwa-guide-icon{display:block;margin-bottom:20px}.pwa-guide h2{font-size:25px;line-height:1.4;color:var(--red)}.pwa-platforms{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}.pwa-platforms button{border:1px solid var(--line);border-radius:6px;min-height:42px;padding:9px 12px;background:transparent;font-size:13px;color:#686252}.pwa-platforms button[aria-pressed=true]{border-color:var(--red);color:var(--red);background:#f3e6d7;font-weight:600}.pwa-guide ol{padding-left:23px;margin:0}.pwa-guide li{font-size:15px;line-height:1.85;margin:12px 0;color:#454537}.pwa-guide li strong{font-size:inherit;font-weight:650}.pwa-guide-note{font-size:12px;line-height:1.8;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.pwa-guide #pwa-install-message{font-size:13px;line-height:1.7;color:var(--red)}body{padding-bottom:env(safe-area-inset-bottom,0px)}
@media(max-width:700px){header{padding-top:max(18px,env(safe-area-inset-top,0px))}.pwa-card{display:grid;grid-template-columns:48px minmax(0,1fr);padding:20px 18px;gap:12px 14px}.pwa-card-icon{width:48px;height:48px;align-self:start}.pwa-card h2{font-size:18px}.pwa-card p{font-size:13px}.pwa-card button{grid-column:1/-1;width:100%;margin-top:4px}.pwa-status{font-size:12px;align-items:flex-start}.pwa-status>span{flex:1 1 100%}.pwa-guide{padding:28px 20px}.pwa-guide h2{font-size:24px}}

/* Compact phone layout: preserve reading size, spend less space on framing. */
@media(max-width:700px){
 header{gap:6px;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top,0px))}
 header .brand{font-size:18px;gap:9px}header .seal{font-size:22px;padding:2px 5px}
 header .topnav{gap:6px}header .topnav a,header .topnav .profile{min-height:40px;padding:7px 3px;font-size:11px}
 main{margin-inline:16px}.topline{padding:12px 0;font-size:10px}
 .hero{padding:8px 0 18px;gap:16px}.eyebrow{line-height:1.5}
 h1{font-size:36px;line-height:1.15;letter-spacing:-1.8px;margin:10px 0 12px}h1 em{font-size:47px}
 .intro p{font-size:13px;line-height:1.65;margin:0 0 16px}
 .hero-actions{gap:9px}.hero-actions #start,.hero-actions .pick-hero-link{min-height:50px;padding:12px 16px;font-size:15px;gap:10px;border-radius:8px}
 .hero-actions #start::before,.hero-actions .pick-hero-link::before{width:21px;height:21px;flex-basis:21px}
 .intro .smallnote{font-size:11px;line-height:1.5;margin-top:10px}
 .landscape{position:relative;display:block;width:100%;height:116px;max-height:116px;border-radius:10px}
 .landscape svg{display:block;width:100%;height:116px;min-height:0}.art-caption{display:none}
 .calendar{padding:13px 14px;gap:11px}.calendar .label{font-size:9px;margin-bottom:4px;line-height:1.5}
 .calendar>div:nth-child(2)>strong,.calendar>div:nth-child(4)>strong{font-size:12px;line-height:1.5}
 .calendar .weather-inline{padding-top:10px}.calendar .calendar-note{padding-top:9px;font-size:11px;line-height:1.5}
 .weather-compact-main{margin-top:5px}.calendar .weather-compact-main strong{font-size:14px}.weather-one-tip{font-size:12px;line-height:1.55;margin-top:3px}
 .profile-panel{padding:15px 14px;margin-top:16px}
 .identity-top{gap:8px}.identity-top .element-seal{display:none}
 .identity-top .eyebrow{font-size:9px;line-height:1.5;letter-spacing:.8px}
 .identity-top h2{font-size:21px;line-height:1.25;margin:5px 0 8px}
 .identity-top p{font-size:11px;line-height:1.5}
 .zodiac-badge{padding:9px 12px;gap:10px;margin:0 auto 8px;border-radius:9px}
 .identity-top .identity-year{font-size:24px;line-height:1.25}.zodiac-badge div>span{font-size:11px;line-height:1.5;margin-top:3px}
 .zodiac-icon{width:30px;flex-basis:30px}.zodiac-icon svg{width:30px;height:30px}
 .identity-top .outline-btn{min-height:36px;padding:7px 18px;font-size:11px}
 .identity-grid{padding:15px 0;gap:12px 14px}.identity-grid .label{font-size:9px;line-height:1.5;margin-bottom:4px}
 .identity-grid strong{font-size:13px;line-height:1.5}.identity-grid small{font-size:10px;line-height:1.5;margin-top:4px}
 .identity-grid>div:last-child{padding-top:11px}
 .pillars{padding:10px 7px;gap:6px}.pillars span{font-size:9px;min-height:0;margin-bottom:4px;line-height:1.4}.pillars b{font-size:11px;line-height:1.5}
 .element-note{margin-top:11px}.element-note summary{font-size:12px;line-height:1.5}.element-note p{font-size:13px;line-height:1.65}
 #result{margin:22px 0}#result .result-head{gap:8px}
 #result .result-head h2{font-size:23px;line-height:1.3;margin:7px 0}
 #result .eyebrow{font-size:10px;line-height:1.5}.daily-update-note{font-size:11px;line-height:1.55;margin-top:4px}
 #result .result-head button{min-height:36px;padding:7px 12px;font-size:12px}
 .daily-calendar-context{padding:10px 12px;margin:12px 0;font-size:13px;line-height:1.6}
 #result .reading{margin-top:12px;gap:12px}
 #result .message,#result .mini,#result .life-grid article,#result .reason,.reading-hours{padding:16px 14px}
 #result .message h2{font-size:27px;line-height:1.25;margin:16px 0 10px}
 #result .message p,#result .mini p,#result .life-grid p,#result .reason-grid p,#result .reflection p{font-size:15px;line-height:1.65;margin:8px 0}
 #result .message .verse{font-size:17px;line-height:1.6;margin:10px 0 14px}
 #result .reading-tags{gap:6px}#result .reading-tags span{font-size:11px;padding:5px 8px;line-height:1.4}
 #result .daily-action{margin-top:14px;padding-top:13px}#result .daily-action strong{font-size:15px;line-height:1.65}
 #result .result-label{font-size:15px;line-height:1.5;margin:0 0 8px;gap:8px}
 #result .result-icon{width:20px;height:20px;flex-basis:20px;margin-top:1px}
 #result .fortune-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #result .mini.wide{grid-column:1/-1}#result .mini b{font-size:32px;line-height:1.2;margin-top:8px}
 #result .mini p{font-size:13px;line-height:1.6}#result .mini small{font-size:11px;line-height:1.5;margin-top:6px}
 #result .mini .result-label{font-size:14px;gap:6px}#result .mini .result-icon{width:18px;height:18px;flex-basis:18px}
 .reading-hours{margin:12px 0}.reading-hours>p{font-size:13px;line-height:1.6;margin:7px 0 10px}
 .reading-hour-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .reading-hour-grid>div{padding:10px 4px}.reading-hour-grid strong{font-size:12px;line-height:1.5}.reading-hour-grid span{font-size:11px;line-height:1.4;margin:4px 0}.reading-hour-grid small{font-size:10px;line-height:1.45}
 #result .life-grid{gap:10px;margin:12px 0}#result .life-grid p{margin-bottom:0}
 #result .reason summary{font-size:15px;line-height:1.5}#result .reason-grid{gap:14px;margin-top:16px}#result .reason-grid>div+div{padding-top:14px}#result .reason-grid strong{font-size:14px;line-height:1.6}
 #result .reason>.fine{font-size:11px;line-height:1.6;padding-top:10px;margin-top:12px}
 #result .reflection{padding:18px 8px 4px}#result .reflection p{font-size:14px;line-height:1.6}
 .pick-section{padding:18px 14px;margin:24px 0}.pick-heading{display:grid;grid-template-columns:36px minmax(0,1fr);gap:11px;align-items:start;text-align:left;margin-bottom:18px}
 .pick-heading-icon{width:36px;height:42px;border-radius:8px}.pick-heading-icon svg{width:23px;height:23px}
 .pick-heading .eyebrow{font-size:8px;letter-spacing:.7px;line-height:1.5}.pick-heading h2{font-size:23px;line-height:1.3;margin:5px 0 6px}.pick-heading p{font-size:13px;line-height:1.6}
 .pick-purpose legend{font-size:16px;line-height:1.5;margin-bottom:10px}.pick-purpose-grid{gap:8px}
 .pick-purpose-content{grid-template-columns:24px minmax(0,1fr);gap:3px 10px;padding:12px}
 .pick-purpose-option input:checked+.pick-purpose-content{padding:11px}
 .pick-purpose-content>.pick-icon{width:24px;height:24px;flex-basis:24px}.pick-purpose-content strong{font-size:15px;line-height:1.45}.pick-purpose-content small{font-size:12px;line-height:1.5}
 .pick-options{margin:18px 0;gap:13px}.pick-options>label{font-size:13px}.pick-options input[type=date],.pick-options select{height:46px;min-height:46px;margin-top:6px;padding:10px 12px;line-height:24px}
 .pick-options .pick-weekday{min-height:30px}.pick-profile{padding:14px 0;gap:10px}.pick-profile strong{font-size:13px;line-height:1.55}.pick-profile p{font-size:12px;line-height:1.6;margin-top:4px}
 .pick-profile .outline-btn{font-size:12px;min-height:36px;padding:7px 12px}.pick-submit{min-height:48px;font-size:15px;padding:12px}
 .pick-result-heading{margin-top:18px;padding-top:18px}.pick-result-heading h3{font-size:18px;line-height:1.5}.pick-result-heading p{font-size:12px;line-height:1.6;margin:8px 0 14px}
 .pick-cards{gap:12px}.pick-card{padding:16px 13px}.pick-card h4{font-size:24px;margin:8px 0 2px}.pick-weekday-label{font-size:14px;margin-bottom:8px}.pick-lunar{font-size:13px;line-height:1.6;margin-bottom:11px}
 .pick-card h5{font-size:14px;line-height:1.5;margin:15px 0 7px}.pick-card li{font-size:13px;line-height:1.65;margin:6px 0}
 .pick-hours{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.pick-hours>span{font-size:11px;gap:2px;padding:7px 3px}.pick-hours b{font-size:10px;line-height:1.5}
 .pick-hours-note{font-size:10px;line-height:1.6;margin:8px 0 12px}.pick-card button{min-height:40px;padding:8px 10px;font-size:12px}
 .pick-practical{margin-top:12px;padding:14px}.pick-practical strong{font-size:14px;line-height:1.55}.pick-practical p{font-size:13px;line-height:1.65;margin-top:7px}
 .pick-method{margin-top:18px;padding-top:13px}.pick-method summary{font-size:13px;line-height:1.5}.pick-method p{font-size:12px;line-height:1.65}
 .calendar-section{margin-top:26px}.section-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-bottom:13px}.section-title .eyebrow{font-size:9px;letter-spacing:1px}.calendar-section h2{font-size:23px;margin:6px 0 0;line-height:1.4}.section-title .outline-btn{min-height:38px;padding:8px 10px;font-size:11px}
 .calendar-layout{gap:12px}.month-card,.day-detail{padding:16px 13px}.month-nav{margin-bottom:14px}.month-nav h3{font-size:15px}
 .day-cell{min-height:44px;padding-top:4px;padding-bottom:9px;gap:2px}.day-cell>span{font-size:14px}.day-cell small{font-size:9px}.good-dot{bottom:3px}
 .calendar-legend{margin-top:12px;gap:4px;font-size:9px}.jump-label{padding-top:12px;margin-top:13px;font-size:11px}.jump-label input{height:42px;min-height:42px;margin-top:6px;padding:8px 10px}
 .day-detail-top h2{font-size:24px;margin-top:6px}.day-detail-top p{font-size:12px}.day-badge{padding:8px;font-size:10px}.day-badge small{font-size:9px}
 .day-pillars{padding:13px 0;margin-top:14px}.day-pillars span{font-size:9px;margin-bottom:5px}.day-pillars b{font-size:11px}
 .day-element{font-size:12px;line-height:1.6;margin:10px 0}.hours-heading{margin:14px 0 9px}.hours-heading h3{font-size:14px}
 .hour-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hour-grid>div{padding:9px 3px}.hour-grid b{font-size:12px}.hour-grid span{font-size:10px;line-height:1.5;margin-top:4px}.hour-grid small{font-size:9px;line-height:1.5;margin-top:4px}
 .day-detail .fine{line-height:1.6;margin:10px 0}.day-tip{font-size:12px;line-height:1.6;padding-top:11px}
 .method{margin-top:20px;padding:15px 0}.method summary{font-size:12px;line-height:1.5}.method p,.method li{line-height:1.65}
 .below{margin:24px 0;gap:16px}.feature h3{margin-top:10px}.feature p{line-height:1.65}
 .pwa-card{margin:20px 0 10px;padding:15px 14px;grid-template-columns:40px minmax(0,1fr);gap:10px 12px}.pwa-card-icon{width:40px;height:40px;border-radius:9px}.pwa-card h2{font-size:16px;margin-bottom:4px}.pwa-card p{font-size:12px;line-height:1.6}.pwa-card button{min-height:42px;font-size:13px}.pwa-status{margin:10px 0 16px;line-height:1.6;font-size:11px}
 footer{padding:17px 0;gap:6px;font-size:10px;line-height:1.6}
}
@media(max-width:350px){
 main{margin-inline:14px}.landscape{height:96px;max-height:96px}.landscape svg{height:96px}
 #result .mini{padding:13px 10px}#result .mini .result-label{font-size:13px;gap:5px}#result .mini .result-icon{width:16px;height:16px;flex-basis:16px}
 .reading-hour-grid{grid-template-columns:minmax(0,1fr)}.reading-hour-grid>div{display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;text-align:left;padding:9px 10px}.reading-hour-grid strong{grid-row:1/3;align-self:center}.reading-hour-grid span{margin:0}
 .pick-hours,.hour-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pick-heading h2{font-size:21px}.section-title{align-items:flex-start}
}

/* Mobile almanac tabs and return-to-top shortcut. */
.calendar-tabs{display:none}
.back-to-top{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:40;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid #943a2d;border-radius:50%;color:#fff5df;background:var(--red);box-shadow:0 4px 14px #6c30252b}
.back-to-top svg{width:23px;height:23px}.back-to-top:hover{background:#923b2e}.back-to-top:active{transform:translateY(1px)}body:has(dialog[open]) .back-to-top{visibility:hidden}
@media(max-width:700px){
 .calendar-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px;background:#eee6d8;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0}
 .calendar-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#6e6657;font-size:13px;font-weight:600;line-height:1.4}
 .calendar-tabs button svg{width:19px;height:19px;flex:0 0 19px}
 .calendar-tabs button[aria-selected=true]{color:var(--red);background:#fffcf5;border-color:#d8c9b7;box-shadow:0 1px 4px #5b40230a}
 .calendar-section .calendar-layout{display:block;border:1px solid var(--line);border-radius:0 0 10px 10px;background:#fffcf5}
 .calendar-section .month-card,.calendar-section .day-detail{border:0;border-radius:0 0 10px 10px;margin:0;background:transparent}
 .back-to-top{right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}
}

/* Relationship reflection: equal profiles, factual criteria and gentle notes. */
.hero-actions .love-hero-link::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E")}
.love-section{scroll-margin-top:24px;margin:36px 0;padding:28px;border:1px solid var(--line);border-radius:12px;background:#faf7ef}.love-heading{display:flex;gap:16px;align-items:center}.love-heading-icon{display:grid;place-items:center;width:54px;height:62px;border:1px solid #d9bda0;border-radius:10px;background:#eee3d2;flex-shrink:0;color:var(--red)}.love-heading-icon svg{width:30px;height:30px}.love-heading h2{font-size:30px;color:var(--red);margin:7px 0}.love-heading p{font-size:15px;line-height:1.7;margin:0}.love-intro-note{font-size:13px;line-height:1.7;padding:12px 15px;border-left:3px solid #b1966a;background:#f0ebde;color:#686252;margin:20px 0}.love-person-grid,.love-person-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.love-person-grid fieldset{position:relative;min-width:0;margin:0;padding:18px;border:1px solid #d8cdbb;border-radius:8px;background:#fffcf5}.love-person-grid legend{font-size:17px;font-weight:650;color:var(--red);padding:0 6px}.love-person-grid label{font-size:14px;margin-top:15px}.love-person-grid input{font-size:16px;width:100%;min-width:0;max-width:100%;height:48px;min-height:48px}.love-profile-btn{display:block;margin:0 0 8px;padding:7px 0;border:0;background:transparent;font-size:12px;color:var(--red);min-height:36px}.love-birth-preview{font-size:12px;line-height:1.7;white-space:pre-line;margin:12px 0 0;color:#526246}.love-name-note,.love-privacy{font-size:12px;line-height:1.7;color:#686252}.love-remember{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:400;line-height:1.6;margin:14px 0}.love-remember input{width:18px;height:18px;min-height:18px;margin:0;padding:0;flex:0 0 18px;accent-color:var(--red)}.love-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.love-actions .outline-btn{font-size:12px;min-height:44px}.love-error{font-size:14px;line-height:1.7;color:var(--red)}.love-error:empty{display:none}.love-icon{width:22px;height:22px;flex:0 0 22px;color:var(--red)}.love-result-title{padding-top:24px;margin-top:24px;border-top:1px solid var(--line)}.love-result-title h3{display:flex;gap:10px;align-items:flex-start;font-size:23px;line-height:1.5;color:var(--red);margin:0;overflow-wrap:anywhere}.love-result-title h3 .love-icon{margin-top:5px}.love-result-title>p{font-size:16px;line-height:1.6;font-weight:600;color:#526246;margin:10px 0 18px}.love-person-result{min-width:0;text-align:center;padding:20px 14px;border:1px solid var(--line);border-radius:8px;background:#fffcf5}.love-zodiac{display:block;width:36px;height:36px;color:var(--red);margin:auto}.love-zodiac svg{width:100%;height:100%}.love-person-result h4{font-size:20px;line-height:1.4;margin:10px 0 8px;overflow-wrap:anywhere}.love-person-result>strong{display:block;font-size:16px;line-height:1.6;color:var(--red);font-weight:650}.love-person-result p{font-size:13px;line-height:1.7;margin:9px 0}.love-napam{display:block;font-size:13px;line-height:1.7;color:#526246}.love-summary{font-size:15px;line-height:1.8;color:#55513f;margin:18px 0}.love-factors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.love-factor{min-width:0;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fffcf5}.love-factor h4,.love-tips h4,.love-result-note h4{display:flex;align-items:flex-start;gap:9px;font-size:17px;font-weight:650;color:var(--red);line-height:1.5;margin:0 0 14px}.love-factor-label{display:inline-block;font-size:12px;font-weight:600;line-height:1.7;padding:5px 9px;background:#efebe1;color:#6d6354;border-radius:5px}.love-factor-label.support{background:#edf1e4;color:#536447}.love-factor-label.care{background:#f3e7d7;color:#806044}.love-rule{display:block;font-size:17px;font-weight:600;line-height:1.6;color:#454537;margin:13px 0 8px}.love-factor p{font-size:14px;line-height:1.8;margin:8px 0 0;color:#686252}.love-factor .love-direction{border-top:1px solid var(--line);padding-top:10px;margin-top:12px;font-size:12px;overflow-wrap:anywhere}.love-tips{background:#edf0e5;border:1px solid #d6dec8;border-radius:8px;padding:20px;margin-top:18px}.love-tips ul{margin:0;padding-left:20px}.love-tips li{font-size:15px;line-height:1.8;color:#4d5842;margin:7px 0}.love-result-note{margin-top:18px;padding:18px;border:1px solid #dbcfb9;border-radius:8px;background:#f2ecdf}.love-result-note p{font-size:13px;line-height:1.8;color:#686252;margin:8px 0}.love-method{border-top:1px solid var(--line);padding-top:17px;margin-top:22px}.love-method summary{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;line-height:1.6;cursor:pointer;list-style:none}.love-method summary::-webkit-details-marker{display:none}.love-method p{font-size:12px;line-height:1.8;color:#686252}.love-method a{color:var(--red);text-underline-offset:3px}
@media(max-width:1000px){.love-factors{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){header .topnav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}header .topnav a,header .topnav .profile{font-size:10px;padding-inline:2px}.love-section{padding:18px 14px;margin:24px 0}.love-heading{align-items:flex-start;gap:11px}.love-heading>div{min-width:0}.love-heading-icon{width:36px;height:42px;border-radius:8px}.love-heading-icon svg{width:23px;height:23px}.love-heading .eyebrow{font-size:8px;letter-spacing:.6px;line-height:1.5}.love-heading h2{font-size:23px;line-height:1.3;margin:5px 0 6px}.love-heading p{font-size:13px;line-height:1.6}.love-intro-note{font-size:12px;line-height:1.6;margin:15px 0;padding:10px 12px}.love-person-grid{grid-template-columns:minmax(0,1fr);gap:15px}.love-person-grid fieldset{padding:13px}.love-person-grid legend{font-size:15px}.love-person-grid label{font-size:13px;margin-top:11px}.love-person-grid input{height:46px;min-height:46px;margin-top:6px;padding:10px 12px}.love-birth-preview{font-size:11px;line-height:1.6;margin-top:10px}.love-name-note,.love-privacy{font-size:11px;line-height:1.6}.love-remember{font-size:12px;margin:12px 0}.love-actions{gap:10px;margin-top:14px}.love-actions .pick-submit{width:100%}.love-actions .outline-btn{min-height:38px;padding:8px 10px;font-size:11px}.love-result-title{padding-top:18px;margin-top:18px}.love-result-title h3{font-size:19px;line-height:1.5;gap:8px}.love-result-title>p{font-size:14px;line-height:1.6;margin:9px 0 13px}.love-icon{width:20px;height:20px;flex-basis:20px}.love-person-results{gap:10px}.love-person-result{padding:14px 9px}.love-zodiac{width:29px;height:29px}.love-person-result h4{font-size:16px;margin:8px 0 6px}.love-person-result>strong{font-size:13px;line-height:1.5}.love-person-result p,.love-napam{font-size:11px;line-height:1.6}.love-summary{font-size:13px;line-height:1.7;margin:13px 0}.love-factors{gap:10px}.love-factor{padding:16px 13px}.love-factor h4,.love-tips h4,.love-result-note h4{font-size:15px;line-height:1.5;margin-bottom:10px;gap:8px}.love-factor-label{font-size:11px}.love-rule{font-size:15px;line-height:1.5;margin:10px 0 7px}.love-factor p{font-size:13px;line-height:1.7}.love-tips,.love-result-note{padding:14px;margin-top:12px}.love-tips li{font-size:13px;line-height:1.7;margin:6px 0}.love-result-note p{font-size:12px;line-height:1.7}.love-method{padding-top:13px;margin-top:18px}.love-method summary{font-size:13px}.love-method p{font-size:12px;line-height:1.7}}

/* Four app screens with a floating glass navigation bar. */
html.app-shell{scroll-behavior:auto}
.app-shell body{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
.app-screen{min-width:0;max-width:100%;min-height:calc(100dvh - 220px);outline:none;padding-top:1px}
.app-screen:focus{outline:none}
.app-shell header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.app-shell header .topnav{display:flex;justify-content:flex-end;align-items:center;gap:0;width:auto;flex-shrink:0}
.app-shell header .profile{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d9cfbd;border-radius:24px;padding:10px 14px;min-height:42px;font-size:12px;background:#fffcf5;color:var(--ink)}
.app-shell header .profile svg{width:19px;height:19px;flex-shrink:0}.app-shell header .profile span{margin:0;color:var(--ink)}
.app-shell header .brand{width:auto;justify-content:flex-start}
.app-screen>#pick-section,.app-screen>#love-section,.app-screen>#calendar-section{margin-top:24px}
.app-nav{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));isolation:isolate;width:min(520px,calc(100% - 32px));padding:6px;border:1px solid #ffffffd9;border-radius:42px;background:#f9f4e9;box-shadow:0 10px 34px #493a2525,0 2px 7px #493a2510,inset 0 1px 1px #ffffffed,inset 0 -1px 1px #b6a98a33;z-index:60}
.app-nav::before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(160deg,#ffffff70,transparent 40%,#fff8e61c 65%,#ffffff47);z-index:-1}
@supports ((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))){.app-nav{background:rgba(249,245,236,.74);-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%)}}
.app-nav-indicator{position:absolute;left:6px;top:6px;bottom:6px;width:calc((100% - 12px)/5);border-radius:34px;background:linear-gradient(145deg,#ffffffd9,#fffaf0b3);border:1px solid #ffffffeb;box-shadow:0 3px 9px #6e4a2820,inset 0 1px 2px #fff;transition:transform .28s cubic-bezier(.2,.8,.2,1);z-index:-1;pointer-events:none}
.app-nav[data-active=numbers] .app-nav-indicator{transform:translateX(300%)}.app-nav[data-active=relax] .app-nav-indicator{transform:translateX(400%)}
.app-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:58px;padding:7px 4px;text-decoration:none;color:#655f55;border-radius:30px;font-size:11px;font-weight:600;line-height:1.35;transition:color .2s}
.app-nav a svg{width:24px;height:24px;flex:0 0 24px;stroke-width:1.7}.app-nav a[aria-current=page]{color:var(--red)}.app-nav a[aria-current=page] svg{stroke-width:2}
.app-nav a:focus-visible{outline:2px solid var(--red);outline-offset:-3px}
body:has(dialog[open]) .app-nav{visibility:hidden}
.app-shell .back-to-top{bottom:calc(102px + env(safe-area-inset-bottom,0px))}
.app-shell .toast{bottom:calc(102px + env(safe-area-inset-bottom,0px))}
body[data-screen]:not([data-screen=today]) #pwa-card{display:none}
#love-results,#pick-results{scroll-margin-top:20px}
@media(max-width:700px){
 .app-shell header{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top,0px))}
 .app-shell header .brand{font-size:18px;gap:9px}.app-shell header .profile{min-height:40px;padding:8px 11px;font-size:11px;gap:6px}
 .app-shell header .profile svg{width:17px;height:17px}
 .app-screen{min-height:calc(100dvh - 200px)}
 .app-screen>#pick-section,.app-screen>#love-section,.app-screen>#calendar-section{margin-top:16px}
 .app-nav{width:calc(100% - 24px);max-width:460px;bottom:max(4px,calc(env(safe-area-inset-bottom,0px) - 6px));padding:5px;border-radius:38px}
 .app-nav-indicator{left:5px;top:5px;bottom:5px;width:calc((100% - 10px)/5);border-radius:31px}
 .app-nav a{min-height:56px;gap:4px;font-size:10px;padding:7px 2px}
 .app-nav a svg{width:23px;height:23px;flex-basis:23px}
 .app-shell .back-to-top{right:14px;bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .app-shell .toast{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .app-shell .pwa-status{margin-bottom:12px}
}
@media(prefers-reduced-transparency:reduce){.app-nav{background:#f9f4e9;-webkit-backdrop-filter:none;backdrop-filter:none}.app-nav-indicator{background:#fffaf0}}
@media(prefers-contrast:more){.app-nav{background:#fbf7ee;border-color:#9b8d76}.app-nav a{color:#423e36}.app-nav-indicator{border-color:#bca68b;background:#fffaf0}.app-nav a[aria-current=page]{color:#8a3024}}
@media(prefers-reduced-motion:reduce){.app-nav-indicator,.app-nav a{transition:none}}

/* A brief casting ritual, shared by the three result flows. */
.ritual-dialog{width:calc(100% - 40px);max-width:360px;padding:30px 24px 20px;text-align:center;border:1px solid #ddc6a5;border-radius:22px;background:#fbf6eb;box-shadow:0 22px 70px #48341c30;overflow:hidden}
.ritual-dialog::backdrop{background:#30271e66;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.ritual-dialog .eyebrow{display:block;font-size:9px;line-height:1.6;letter-spacing:1.1px;margin:4px 0 0}.ritual-dialog h2{font-size:23px;line-height:1.4;color:var(--red);margin:0 0 8px;letter-spacing:-.4px}.ritual-dialog p{font-size:13px;line-height:1.7;margin:0;color:#746853}.ritual-art{width:220px;max-width:90%;margin:6px auto 0}.ritual-art svg{display:block;width:100%;height:auto;overflow:visible}.ritual-progress{height:3px;width:100px;border-radius:3px;background:#e8dbc5;margin:19px auto 8px;overflow:hidden}.ritual-progress span{display:block;height:100%;width:100%;background:#b7874c;transform:scaleX(0);transform-origin:left}.ritual-skip{display:block;margin:8px auto 0;min-height:40px;padding:8px 18px;border:0;background:transparent;font-size:12px;color:#8c6b46;text-decoration:underline;text-underline-offset:4px}.ritual-dialog .close{width:40px;height:40px;right:7px;top:7px;font-size:24px}
.ritual-running .ritual-shaker{transform-origin:120px 190px;animation:ritual-shake 1.5s ease-in-out both}.ritual-running .ritual-sticks{transform-origin:120px 115px;animation:ritual-sticks 1.5s ease-in-out both}.ritual-running .ritual-chosen{transform-origin:127px 128px;animation:ritual-cast 1.5s cubic-bezier(.25,.6,.3,1) both}.ritual-running .ritual-paper{transform-origin:120px 205px;animation:ritual-paper 1.5s ease-out both}.ritual-running .ritual-spark{animation:ritual-spark 1.5s ease-in-out both}.ritual-running .ritual-progress span{animation:ritual-progress 1.5s linear both}
@keyframes ritual-shake{0%,8%{transform:rotate(0)}18%{transform:rotate(-7deg)}28%{transform:rotate(7deg)}38%{transform:rotate(-5deg)}48%{transform:rotate(5deg)}60%,100%{transform:rotate(0)}}
@keyframes ritual-sticks{0%,9%,65%,100%{transform:rotate(0) translateY(0)}19%{transform:rotate(4deg) translateY(-5px)}29%{transform:rotate(-4deg) translateY(-2px)}39%{transform:rotate(3deg) translateY(-6px)}49%{transform:rotate(-3deg) translateY(-2px)}}
@keyframes ritual-cast{0%,55%{transform:translate(0,0) rotate(0)}70%{transform:translate(5px,-35px) rotate(3deg)}87%,100%{transform:translate(55px,-24px) rotate(25deg)}}
@keyframes ritual-paper{0%,50%{opacity:0;transform:translateY(7px) scale(.94)}80%,100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ritual-spark{0%,15%{opacity:0}38%{opacity:.65}60%{opacity:.15}85%,100%{opacity:.9}}
@keyframes ritual-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:350px){.ritual-dialog{padding:28px 18px 16px}.ritual-art{width:190px}.ritual-dialog h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.ritual-progress span{transform:scaleX(1)}.ritual-art *{animation:none!important;transform:none!important}}
/* A quiet, personal daily home. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-welcome{padding:28px 0 20px}.home-welcome>p{margin:0;font-size:14px;color:var(--muted)}.home-welcome h1{font-size:38px;letter-spacing:-1.2px;line-height:1.2;margin:6px 0 12px}.home-welcome h1 em{font-size:49px}.home-date{display:flex;flex-wrap:wrap;gap:5px 18px;font-size:11px;color:var(--muted)}
.home-omen{isolation:isolate;position:relative;overflow:hidden;border:1px solid #d8c4a3;border-radius:18px;background:repeating-linear-gradient(0deg,#fffaf126 0 1px,transparent 1px 4px),linear-gradient(115deg,#fffaf0,#eee5d3);padding:30px 34px 20px;min-height:290px;display:grid;grid-template-columns:minmax(0,1fr) 180px;column-gap:30px}
.home-scenery{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}.home-omen-copy{position:relative;z-index:1;max-width:640px}.home-omen-copy .eyebrow{font-size:9px;letter-spacing:1.5px}.home-omen-copy h2{font-size:32px;line-height:1.35;font-weight:600;letter-spacing:-.8px;margin:14px 0 10px;max-width:540px}.home-omen-copy>p{font-size:14px;line-height:1.75;max-width:560px;margin:0;color:#665d4d}.home-seal{display:inline-block;color:#af4535;border:1px solid #af4535;font:23px serif;padding:1px 4px;margin-top:16px;transform:rotate(-5deg);opacity:.8}.home-casting-art{align-self:center;width:180px;filter:drop-shadow(0 10px 10px #694d3414)}.home-casting-art svg{display:block;width:100%;height:auto}
#home-omen #start{grid-column:1/-1;width:100%;max-width:none;min-width:0;min-height:50px;height:auto;margin:20px 0 0;padding:13px 20px;border-radius:10px;font-size:15px;font-weight:600;letter-spacing:.2px;box-shadow:0 4px 10px #963c2520;justify-content:center}#home-omen #start:hover{background:#923b2e;transform:translateY(-1px)}.home-omen-footnote{grid-column:1/-1;text-align:center;font-size:10px;line-height:1.5;margin:9px 0 0;color:#776c59}
.home-digest{display:grid;grid-template-columns:1fr 1.2fr 1.5fr;gap:0;margin:16px 0;border:1px solid var(--line);border-radius:12px;background:#fffaf04d}.home-day-item{display:flex;align-items:flex-start;gap:10px;padding:17px 18px;color:var(--ink);text-decoration:none}.home-day-item>svg{width:21px;height:21px;flex-shrink:0;color:#8b815d;margin-top:2px}.home-day-item>div{min-width:0;display:grid;gap:5px}.home-digest-label{font-size:8px;letter-spacing:1px;color:#85765e;font-weight:600}.home-day-item strong{font-size:13px;line-height:1.6;font-weight:600}.home-day-item small{font-size:10px;color:var(--muted);line-height:1.6}.home-next-hour{border-left:1px solid var(--line)}.home-weather{min-width:0;margin:0;padding:15px 18px;border-left:1px solid var(--line)}.home-weather .weather-inline-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-weather .weather-inline-head>span{font-size:8px;letter-spacing:1px;color:#85765e}.home-weather summary{font-size:10px}.home-weather #weather-content{font-size:11px}.home-weather .weather-compact-main{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:8px}.home-weather .weather-compact-main strong{font-size:13px}.home-weather .weather-compact-main span{font-size:10px}.home-weather .weather-one-tip,.home-weather .weather-error{font-size:11px;line-height:1.6;margin:5px 0 0}.home-weather .weather-settings-body{padding-top:10px}.home-weather .weather-settings-body select{max-width:100%}
.home-profile{margin:0 0 20px;border:1px solid var(--line);border-radius:12px;background:#fffaf038}.home-profile>summary{display:flex;align-items:center;gap:10px;padding:13px 16px;list-style:none;cursor:pointer;font-size:13px;font-weight:500}.home-profile>summary::-webkit-details-marker{display:none}.home-profile summary span{transform:none!important;color:inherit}.home-profile-symbol{display:flex;width:27px;flex-shrink:0;color:var(--red)!important}.home-profile-symbol svg{width:27px;height:27px}.home-profile-chevron{width:17px;height:17px;margin-left:auto;flex-shrink:0;color:var(--muted);transition:transform .2s}.home-profile[open] .home-profile-chevron{transform:rotate(180deg)}.home-profile .profile-panel{margin:0;padding:20px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.result-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.result-actions button{white-space:nowrap}
@media(min-width:701px){.home-welcome,.home-omen,.home-digest,.home-profile{max-width:960px;margin-left:auto;margin-right:auto}}
@media(max-width:700px){.home-welcome{padding:17px 0 14px}.home-welcome>p{font-size:12px}.home-welcome h1{font-size:29px;letter-spacing:-.8px;margin:3px 0 9px}.home-welcome h1 em{font-size:38px}.home-date{font-size:10px;gap:4px;flex-direction:column}.home-omen{padding:20px 17px 14px;min-height:0;grid-template-columns:minmax(0,1fr) 88px;gap:0 7px;border-radius:14px}.home-omen-copy .eyebrow{font-size:7px;letter-spacing:.8px;line-height:1.6;display:block}.home-omen-copy h2{font-size:24px;letter-spacing:-.5px;margin:10px 0 8px;line-height:1.35}.home-omen-copy>p{font-size:12px;line-height:1.7}.home-casting-art{width:100%;align-self:center}.home-seal{font-size:20px;margin-top:12px}#home-omen #start{min-height:47px;margin-top:15px;padding:12px;font-size:14px}.home-omen-footnote{font-size:9px;margin-top:8px}.home-digest{grid-template-columns:1fr 1fr;margin-top:12px;margin-bottom:12px;border-radius:11px}.home-day-item{padding:12px 10px;gap:7px}.home-day-item>svg{width:17px;height:17px}.home-day-item strong{font-size:11px}.home-day-item small{font-size:9px}.home-digest-label{font-size:7px;letter-spacing:.6px}.home-weather{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:10px 12px}.home-weather .weather-compact-main{margin-top:5px;gap:2px 8px}.home-weather .weather-compact-main strong{font-size:12px}.home-weather .weather-one-tip{font-size:11px}.home-profile>summary{padding:10px 12px;font-size:12px;gap:8px}.home-profile-symbol,.home-profile-symbol svg{width:24px;height:24px}.home-profile .profile-panel{padding:14px 12px}.result-actions button{font-size:11px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.home-profile-chevron{transition:none}#home-omen #start:hover{transform:none}}
.avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#e4dfcf;flex-shrink:0}.avatar img,.avatar svg{display:block;width:100%;height:100%;object-fit:cover}.profile .header-avatar{width:32px;height:32px;margin:0;border:1px solid #cabc9f}.profile .header-avatar svg{width:100%;height:100%}.profile{display:flex;align-items:center;gap:7px}.profile>span:last-child{margin-left:0}.element-seal.avatar{padding:0;width:64px;height:64px;border:1px solid #cabc9f;transform:none}.home-profile-symbol:has(img),.home-profile-symbol:has(svg[viewBox="0 0 64 64"]){width:30px;height:30px;border-radius:50%;overflow:hidden}.home-profile-symbol img,.home-profile-symbol svg[viewBox="0 0 64 64"]{width:100%;height:100%;object-fit:cover}.avatar-editor{border:1px solid var(--line);border-radius:12px;padding:16px;margin:0 0 20px;min-width:0}.avatar-editor legend{font-size:14px;font-weight:600;padding:0 6px}.avatar-editor-top{display:flex;align-items:center;gap:15px}.avatar-preview{width:64px;height:64px;border:1px solid #cabc9f}.avatar-upload-label{display:inline-block!important;color:var(--red);font-weight:600;font-size:12px!important;cursor:pointer;border:1px solid #c7aa8d;padding:10px 12px;border-radius:8px;margin:0!important}.avatar-upload-label:focus-within{outline:2px solid var(--red);outline-offset:3px}.avatar-upload-label input{position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden}.avatar-editor #avatar-remove{display:block;font-size:10px;padding:6px 0;margin:3px 0 0}.avatar-hint{font-size:11px!important;line-height:1.6!important;margin:10px 0!important}.avatar-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.avatar-presets button{padding:8px 3px;border:1px solid transparent;border-radius:10px;background:#ede7d955;color:var(--ink);min-width:0}.avatar-presets button[aria-pressed=true]{border-color:var(--red);background:#f0dfd2}.avatar-presets button>span{display:block;width:46px;height:46px;margin:0 auto}.avatar-presets svg{display:block;width:100%;height:100%}.avatar-presets small{font-size:10px;line-height:1.5}.avatar-crop{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:15px;margin-top:15px}.avatar-crop canvas{width:100px;height:100px;border-radius:50%;border:1px solid #cabc9f}.avatar-crop label{font-size:10px!important;margin:0!important}.avatar-crop input[type=range]{display:block;width:100%;padding:0;min-height:26px;margin:0;border:0;accent-color:var(--red)}#avatar-error{font-size:12px;color:var(--red);line-height:1.5;margin:8px 0 0}
/* Explain date choices in plain language, including mixed indicators. */
.pick-caution{border-left:3px solid #b49a63;background:#eee4d45c;padding:10px 12px;margin:12px 0;border-radius:0 8px 8px 0}.pick-caution h5{margin-top:0}.pick-caution p{margin:6px 0 0;font-size:13px;line-height:1.8;color:#665d4c}.pick-results-note{font-size:12px!important;line-height:1.7!important;max-width:760px}.pick-other{border:1px solid var(--line);border-radius:12px;margin:22px 0;padding:0 18px;background:#f3eee3}.pick-other>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;cursor:pointer;font-size:14px;font-weight:600;line-height:1.6;list-style:none}.pick-other>summary::-webkit-details-marker{display:none}.pick-other>p{font-size:13px;line-height:1.8;margin:0 0 14px}.pick-other-list article{border-top:1px solid var(--line);padding:16px 0}.pick-other-list h4{font-size:15px;margin:0 0 6px;line-height:1.6}.pick-other-meta{font-size:11px;line-height:1.7;margin:0}.pick-other-list ul{padding-left:20px;margin:10px 0}.pick-other-list li{font-size:13px;line-height:1.8;margin:7px 0;color:#655f54}.pick-other-list button{font-size:12px;min-height:40px}.love-factor p,.love-summary,.love-tips li{line-height:1.85}.pick-card ul li{margin-bottom:9px}
@media(max-width:700px){.pick-other{padding:0 13px;margin-top:15px}.pick-other>summary{font-size:13px;padding:13px 0}.pick-other-list h4{font-size:14px}.pick-caution p,.pick-other-list li{font-size:13px;line-height:1.75}.pick-results-note{font-size:11px!important}}
/* Numerology: reflective, readable and aligned with An Van's paper palette. */
.num-section{margin:24px 0 32px;padding:28px;border:1px solid var(--line);border-radius:14px;background:#faf7ef}.num-heading{display:flex;align-items:center;gap:16px}.num-heading-icon{display:grid;place-items:center;width:54px;height:58px;border:1px solid #d2b998;border-radius:12px;color:var(--red);background:#f2e6d5}.num-heading-icon svg{width:29px;height:29px}.num-heading h2{font-size:30px;line-height:1.4;margin:6px 0}.num-heading p{margin:0;font-size:13px}.num-intro{font-size:12px;line-height:1.8;color:#746b5b;border-bottom:1px solid var(--line);padding-bottom:18px;margin:18px 0}.num-empty{padding:18px 0}.num-empty h3{font-size:20px}.num-empty p{max-width:580px}.num-profile-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.num-profile-row p{font-size:12px;line-height:1.7;margin:0}.num-profile-row button{white-space:nowrap;font-size:11px;margin:0}.num-tabs{display:grid;grid-template-columns:1fr 1fr;background:#eae3d6;border-radius:12px;padding:4px;gap:4px;margin:18px 0}.num-tabs button{min-height:44px;padding:10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#70695e;font-weight:600;font-size:13px}.num-tabs button[aria-selected=true]{background:#fffaf1;border-color:#dbc9b1;color:var(--red);box-shadow:0 2px 5px #6048260a}.num-main-card,.num-cycle-card,.num-birthday{display:flex;gap:24px;align-items:flex-start;padding:24px;background:linear-gradient(125deg,#f1e4d2,#f7f0e3);border:1px solid #d7c1a1;border-radius:12px}.num-number{font-family:AnVanSerif,serif;font-size:64px;line-height:1.2;color:var(--red);min-width:110px;text-align:center;padding-top:10px;letter-spacing:-3px}.num-main-card h3,.num-cycle-card h3,.num-birthday h3{font-size:23px;line-height:1.5;margin:7px 0 10px}.num-main-card p,.num-cycle-card p,.num-birthday p{font-size:14px;line-height:1.85;margin:0 0 8px;color:#665f53}.num-notes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.num-note{margin:14px 0;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fffaf04d}.num-notes .num-note{margin:0}.num-note h4{display:flex;align-items:center;gap:9px;font-size:15px;line-height:1.6;margin:0 0 8px}.num-note h4 svg{width:19px;height:19px;flex-shrink:0;color:var(--red)}.num-note p{font-size:14px;line-height:1.85;margin:0;color:#665f53}.num-notes .num-action{grid-column:1/-1}.num-action{background:#e8ecdf73;border-color:#cbd2bb}.num-question{border-left:3px solid #ae9363;padding:4px 18px;margin:22px 0}.num-question strong{font-size:12px;color:#857459}.num-question p{font-size:15px;line-height:1.8;margin:6px 0}.num-birthday{background:#f4efe4;border-color:var(--line);margin:20px 0}.num-birthday-number{font:40px/1.3 AnVanSerif,serif;color:var(--red);min-width:78px;text-align:center}.num-birthday-number small{display:block;font:13px/1.6 'Be Vietnam Pro',sans-serif}.num-birthday h3{font-size:19px}.num-fine{font-size:11px!important;line-height:1.7!important;color:#81796b!important}.num-method{margin:16px 0;border:1px solid var(--line);border-radius:10px;background:#f4efe5;padding:0 18px}.num-method>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:14px 0;font-size:13px;font-weight:600;line-height:1.6}.num-method>summary::-webkit-details-marker{display:none}.num-method>div{padding-bottom:10px}.num-method h4{font-size:14px}.num-method p,.num-method li{font-size:12px;line-height:1.85;color:#6b6356}.num-method li{margin:6px 0}.num-method ol{padding-left:22px}.num-method a{color:var(--red)}.num-cycle-intro{font-size:12px;line-height:1.8}.num-cycle-number{font:58px/1.3 AnVanSerif,serif;color:var(--red);min-width:70px;text-align:center}.num-month{background:#edf0e573;border-color:#cbd2bb;margin-top:22px}.num-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.num-months>div{display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:12px;border:1px solid var(--line);border-radius:9px}.num-months span{font-size:11px;line-height:1.5}.num-months b{font:25px/1.2 AnVanSerif,serif;color:var(--red);grid-column:2;grid-row:1/3}.num-months small{grid-column:1;font-size:10px;line-height:1.6;color:#7a705f}.num-months .num-current{border-color:#af4535;background:#f4e2d4}.num-sources{margin-top:24px}#num-error{color:var(--red);font-size:13px}
@media(max-width:700px){.num-section{margin:16px 0 24px;padding:18px 14px}.num-heading{gap:12px}.num-heading-icon{width:44px;height:48px;flex-shrink:0}.num-heading h2{font-size:25px;margin:4px 0}.num-heading .eyebrow{font-size:8px;letter-spacing:1px}.num-heading p{font-size:12px}.num-intro{font-size:11px;margin:13px 0;padding-bottom:13px}.num-profile-row{align-items:flex-start;gap:8px}.num-profile-row p{font-size:11px}.num-profile-row p>span{display:block}.num-tabs{margin:13px 0}.num-main-card,.num-cycle-card,.num-birthday{padding:16px 13px;gap:13px}.num-main-card{display:block}.num-number{float:left;min-width:78px;margin:4px 14px 3px 0;font-size:53px;padding:0;letter-spacing:-2px}.num-main-card h3,.num-cycle-card h3{font-size:20px;line-height:1.45}.num-main-card .eyebrow,.num-cycle-card .eyebrow,.num-birthday .eyebrow{font-size:8px;letter-spacing:1px}.num-main-card p,.num-cycle-card p,.num-birthday p{font-size:13px;line-height:1.8}.num-main-card:after{content:'';display:block;clear:both}.num-notes{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px}.num-note{padding:13px;margin:10px 0}.num-note h4{font-size:14px;margin-bottom:6px}.num-note p{font-size:13px;line-height:1.8}.num-question{margin:16px 0;padding-left:13px}.num-question p{font-size:14px}.num-birthday-number{min-width:45px;font-size:33px}.num-birthday h3{font-size:17px}.num-cycle-number{font-size:42px;min-width:40px}.num-method{padding:0 12px;margin:12px 0}.num-method>summary{font-size:12px;padding:12px 0}.num-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.num-months>div{padding:9px}.app-nav a{font-size:9px}.app-nav a span{white-space:nowrap}}
/* A small listening room, with no media loaded before a deliberate choice. */
#calendar-section{scroll-margin-top:18px}.relax-section{margin:24px 0 32px;padding:28px;border:1px solid var(--line);border-radius:14px;background:#faf7ef}.relax-heading{display:flex;gap:16px;align-items:center}.relax-heading-icon{display:grid;place-items:center;width:54px;height:58px;background:#e8ecdf;border:1px solid #c5cfb5;border-radius:12px;color:#718265;flex-shrink:0}.relax-heading-icon svg{width:32px;height:32px}.relax-heading h2{font-size:30px;line-height:1.4;margin:6px 0}.relax-heading p{font-size:13px;margin:0}.relax-intro{font-size:13px;line-height:1.8;margin:18px 0;color:#716b5e;max-width:780px}.relax-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.relax-filters button{min-height:42px;border:1px solid var(--line);border-radius:22px;padding:10px 17px;font-size:12px;font-weight:600;color:#706858;background:transparent}.relax-filters button[aria-pressed=true]{background:#eee1cf;border-color:#c9ab8d;color:var(--red)}.relax-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.relax-card{padding:20px;border:1px solid var(--line);border-radius:13px;background:#fffaf078;min-width:0}.relax-card.relax-selected{border-color:#b18b67;background:#f5e9d8}.relax-card-top{display:flex;align-items:center;gap:12px}.relax-card-icon{display:grid;place-items:center;background:#e9ecdf;border-radius:12px;width:45px;height:48px;color:#778567;flex-shrink:0}.relax-card-icon svg{width:27px;height:27px}.relax-card .eyebrow{font-size:8px;letter-spacing:1px;color:#88734f}.relax-card h3{font-size:18px;line-height:1.5;margin:5px 0 0}.relax-card>p{font-size:13px;line-height:1.8;margin:14px 0 10px}.relax-card>small{display:block;font-size:10px;line-height:1.6;color:#8a8172;overflow-wrap:anywhere}.relax-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px}.relax-card-actions button{min-height:42px;font-size:12px;padding:10px 15px;margin:0}.relax-card-actions a,.relax-player>a{font-size:11px;color:var(--red);text-decoration:underline;text-underline-offset:3px}.relax-count{font-size:11px;color:#8a8172;margin:12px 0}.relax-status{font-size:12px;line-height:1.8;color:#87724f}.relax-status:empty{display:none}.relax-player{scroll-margin-top:18px;border:1px solid #c5cfb5;border-radius:13px;padding:18px;background:#edf0e5;margin:18px 0}.relax-player-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px}.relax-player h3{font-size:20px;line-height:1.5;margin:6px 0}.relax-player-head p{font-size:10px;line-height:1.7;margin:0}.relax-player-head button{font-size:11px;min-height:40px;padding:9px 13px;white-space:nowrap;margin:0}.relax-video{width:100%;max-width:720px;aspect-ratio:16/9;min-height:200px;border-radius:9px;overflow:hidden;background:#272b25;margin:0 0 13px}.relax-video iframe{width:100%;height:100%;border:0;display:block}.relax-player-note{font-size:10px;line-height:1.7;margin:11px 0 0}.relax-about{border-top:1px solid var(--line);margin-top:22px}.relax-about>summary{list-style:none;display:flex;justify-content:space-between;gap:10px;cursor:pointer;padding:16px 0;font-weight:600;font-size:13px}.relax-about>summary::-webkit-details-marker{display:none}.relax-about p{font-size:12px;line-height:1.8}
@media(max-width:700px){.relax-section{margin:16px 0 24px;padding:18px 14px}.relax-heading{gap:12px}.relax-heading-icon{width:44px;height:48px}.relax-heading h2{font-size:25px;margin:4px 0}.relax-heading .eyebrow{font-size:8px;letter-spacing:.8px}.relax-heading p{font-size:12px;line-height:1.7}.relax-intro{font-size:12px;margin:13px 0}.relax-filters{gap:6px;margin:13px 0}.relax-filters button{font-size:10px;padding:9px 12px;min-height:40px}.relax-list{grid-template-columns:minmax(0,1fr);gap:11px}.relax-card{padding:15px 13px}.relax-card h3{font-size:17px}.relax-card>p{font-size:13px;line-height:1.75;margin:11px 0 8px}.relax-card-actions{margin-top:12px}.relax-player{padding:13px}.relax-player h3{font-size:17px}.relax-player .eyebrow{font-size:8px;letter-spacing:1px}.relax-video{min-height:200px}.relax-player-head button{font-size:10px;padding:8px 10px}}
.relax-transport{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 8px}.relax-transport button{min-height:44px;font-size:13px}.relax-transport>span{font-size:12px;color:#736c5e;margin-left:auto;font-variant-numeric:tabular-nums}.relax-transport input{width:100%;padding:0;accent-color:var(--red);min-height:36px}.relax-offline{padding:10px 12px;border:1px solid #cbd2bb;border-radius:8px;background:#e8ecdf60;font-size:11px;line-height:1.7;color:#6e785f}.audio-mini{position:fixed;bottom:calc(94px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;width:min(520px,calc(100% - 32px));padding:11px 14px;border:1px solid #c9b99f;border-radius:15px;background:#fcf6e9;box-shadow:0 5px 18px #5b43211f;z-index:55}.audio-mini>a{flex:1;min-width:0;color:var(--ink);text-decoration:none}.audio-mini strong{display:block;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audio-mini .eyebrow{font-size:7px;letter-spacing:1px}.audio-mini button{border:1px solid #d2b998;background:#f4eadb;color:var(--red);border-radius:9px;padding:9px;min-height:40px;font-size:11px;white-space:nowrap}.audio-mini button:last-child{font-size:20px;border:0;background:none;padding:5px;min-width:34px}body[data-audio=visible]{padding-bottom:calc(174px + env(safe-area-inset-bottom,0px))}.app-shell body[data-audio=visible] .back-to-top,.app-shell body[data-audio=visible] .toast{bottom:calc(178px + env(safe-area-inset-bottom,0px))}
@media(max-width:700px){.audio-mini{bottom:calc(76px + env(safe-area-inset-bottom,0px));width:calc(100% - 24px);max-width:460px;padding:8px 11px;gap:7px}.audio-mini strong{font-size:11px}.audio-mini button{font-size:10px;padding:8px}.app-shell body[data-audio=visible] .back-to-top,.app-shell body[data-audio=visible] .toast{bottom:calc(155px + env(safe-area-inset-bottom,0px))}}
/* Listen / breathe / still: small offline activities. */
.calm-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;margin:20px 0 8px;border-radius:13px;background:#eae4d8}.calm-tabs button{border:1px solid transparent;background:none;border-radius:10px;min-height:44px;color:#746a5c;font-size:14px;font-weight:600}.calm-tabs button[aria-selected=true]{color:var(--red);background:#fffbf2;border-color:#d9c5a9;box-shadow:0 2px 4px #674e2610}.calm-motion-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.calm-motion-row>span{font-size:10px;color:#8b806f;line-height:1.6}.calm-motion-row button{border:0;background:none;color:#89744f;font-size:10px;text-decoration:underline;text-underline-offset:3px;padding:9px 0;min-height:36px}.calm-heading{margin:20px 0 18px}.calm-heading h3{font-size:27px;font-weight:600;line-height:1.4;letter-spacing:-.6px;margin:7px 0 10px}.calm-heading>p{font-size:13px;line-height:1.85;max-width:700px;margin:0}.breath-options{display:grid;grid-template-columns:1fr 1.5fr;gap:14px;max-width:640px;margin:auto}.breath-options label{display:grid;gap:8px;font-size:11px;color:#7e725f;line-height:1.6}.breath-options select{width:100%;min-height:44px;border:1px solid #d3c8b7;border-radius:9px;background:#fffaf1;color:var(--ink);font:inherit;font-size:13px;padding:10px;min-width:0}.breath-stage{position:relative;display:grid;place-items:center;height:340px;margin:14px 0;background:radial-gradient(ellipse at center,#e2e9d866,transparent 67%);overflow:hidden}.breath-bloom{width:290px;height:290px;transform:scale(.88);will-change:transform}.breath-bloom svg{width:100%;height:100%;display:block}.breath-instruction{position:absolute;left:50%;top:50%;transform:translate(-50%,-30%);text-align:center;background:#faf6e9db;border:1px solid #e1d7c4;border-radius:30px;padding:12px 18px;min-width:150px;box-shadow:0 3px 12px #71846310}.breath-instruction strong{display:block;font-size:21px;color:#546d50;line-height:1.5}.breath-instruction>span{display:block;font-size:11px;color:#82765f;line-height:1.6;margin-top:3px}.breath-session{max-width:640px;margin:0 auto 18px}.breath-session label{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8b7c63}.breath-session label strong{font-size:15px;color:#5c7458;font-variant-numeric:tabular-nums}.breath-session progress{display:block;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;margin-top:11px;background:#e4dfd0;accent-color:#829772}.breath-session progress::-webkit-progress-bar{background:#e4dfd0;border-radius:6px}.breath-session progress::-webkit-progress-value{background:#829772;border-radius:6px}.breath-session progress::-moz-progress-bar{background:#829772;border-radius:6px}.calm-actions{display:flex;gap:10px;justify-content:center;margin:16px 0}.calm-actions button{min-height:46px;padding:12px 22px;font-size:13px;border-radius:10px}.calm-primary{background:#778b69;color:#fff9ed;border:1px solid #6b805d;min-width:150px;font-weight:600}.calm-primary:hover{background:#657d57}.calm-status{font-size:12px;line-height:1.8;color:#7f745e;text-align:center;margin:12px 0}.calm-fine{font-size:11px;line-height:1.8;color:#8a8070;margin:14px auto;max-width:750px}.calm-about{border-top:1px solid var(--line);margin-top:20px}.calm-about summary{display:flex;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;font-size:12px;font-weight:500;padding:14px 0}.calm-about summary::-webkit-details-marker{display:none}.calm-about p{font-size:12px;line-height:1.8}.calm-about a{color:var(--red)}.calm-pond{position:relative;height:360px;overflow:hidden;border:1px solid #b3c3a9;border-radius:16px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair;background:#c5d3bf}.pond-scenery{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.pond-ripples{position:absolute;inset:0;overflow:hidden;pointer-events:none}.pond-hint{position:absolute;top:16px;left:16px;font-size:11px;letter-spacing:.5px;color:#597453;pointer-events:none}.pond-ripple{position:absolute;width:20px;height:11px;border:1px solid #fbfff0a6;border-radius:50%;transform:translate(-50%,-50%);animation:pond-wave 2.2s ease-out forwards;pointer-events:none;box-shadow:0 1px 0 #55745a33}.pond-ripple:after{content:'';position:absolute;inset:-5px;border:1px solid #f7fff050;border-radius:50%}.pond-ripple-still{width:46px;height:27px;animation:pond-fade .7s ease-out forwards}.pond-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0}.pond-toolbar p{font-size:12px;line-height:1.8;margin:0}.pond-toolbar button{font-size:11px;min-height:42px;white-space:nowrap}.calm-pond:focus-visible{outline:2px solid #8e784f;outline-offset:4px}
@keyframes pond-wave{0%{transform:translate(-50%,-50%) scale(.4);opacity:.85}100%{transform:translate(-50%,-50%) scale(17);opacity:0}}@keyframes pond-fade{0%{opacity:.75}100%{opacity:0}}
@media(max-width:700px){.calm-tabs{margin-top:15px}.calm-tabs button{font-size:13px}.calm-motion-row{gap:8px;margin-bottom:12px}.calm-motion-row>span{font-size:9px}.calm-motion-row button{font-size:9px;flex-shrink:0}.calm-heading{margin:15px 0}.calm-heading h3{font-size:23px;margin:6px 0 9px}.calm-heading .eyebrow{font-size:8px;letter-spacing:1px}.calm-heading>p{font-size:12px;line-height:1.8}.breath-options{gap:9px;grid-template-columns:.8fr 1.4fr}.breath-options label{font-size:10px;gap:6px}.breath-options select{font-size:12px;padding:9px 7px}.breath-stage{height:275px;margin:10px 0}.breath-bloom{width:245px;height:245px}.breath-instruction strong{font-size:19px}.breath-instruction{padding:10px 15px;min-width:138px}.breath-instruction>span{font-size:10px}.breath-session{margin-bottom:14px}.calm-actions button{font-size:12px;padding:11px 18px}.calm-status{font-size:11px;margin:10px 0}.calm-fine{font-size:10px;line-height:1.75;margin:12px 0}.calm-pond{height:300px;border-radius:13px}.pond-toolbar{gap:9px;align-items:flex-start}.pond-toolbar p{font-size:11px;max-width:145px}.pond-toolbar button{font-size:10px;padding:9px 10px}.pond-hint{font-size:10px;top:13px;left:13px}}
.direction-source{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 18px}
/* Numerology exploration: touch-friendly topic chips and native disclosure cards. */
.num-interest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.num-interest button{min-width:0;min-height:44px;border:1px solid var(--line);border-radius:12px;background:#f6f0e4;color:#655b4d;font-family:inherit;font-weight:600;font-size:15px;line-height:1.3;cursor:pointer;padding:10px 5px}.num-interest button[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:#fff8ec}.num-tap-hint{font-size:13px;color:#746959;margin:10px 0}.num-explore-cards{display:grid;gap:9px}.num-discover{border:1px solid var(--line);border-radius:13px;background:#faf5eb;overflow:hidden}.num-discover summary{display:flex;align-items:center;gap:10px;padding:15px;min-height:48px;box-sizing:border-box;cursor:pointer;list-style:none;font-size:17px;font-weight:600}.num-discover summary::-webkit-details-marker{display:none}.num-card-icon{color:#a4874d;font-size:22px}.num-card-toggle{margin-left:auto;color:var(--red);transition:transform .2s}.num-discover[open] .num-card-toggle{transform:rotate(45deg)}.num-discover[open]{background:#fffaf1;border-color:#c8b796}.num-discover p{margin:0;padding:0 15px 16px;font-size:16px;line-height:1.65;color:#5e5548;animation:num-reveal .2s ease-out}.num-number-button{display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;border:1px solid #dcc6a1;background:#f3e6cf;border-radius:14px;padding:12px;min-width:88px;color:var(--red)}.num-number-button small{font:500 12px/1.4 sans-serif;white-space:nowrap;margin-top:6px}.num-number-button:focus-visible,.num-interest button:focus-visible,.num-discover summary:focus-visible,.num-calc-actions button:focus-visible{outline:3px solid #ac8d53;outline-offset:3px}.num-calculator{scroll-margin-top:20px}.num-calc-steps{padding:0!important;list-style:none;display:grid;gap:8px}.num-calc-steps li{display:grid;gap:5px;background:#efe7d8;border-radius:10px;padding:12px;margin:0!important}.num-calc-steps strong{color:var(--red);font-size:14px}.num-calc-steps span{font-size:18px;overflow-wrap:anywhere;color:#4b4338}.num-calc-steps .num-calc-current{box-shadow:inset 3px 0 #a44432}.num-calc-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.num-calc-actions button{min-height:44px;padding:10px 14px;border:1px solid #cbb893;border-radius:10px;background:#fff9ed;color:#8e3d2e;font:inherit;font-weight:600;cursor:pointer}#num-calc-next{background:var(--red);color:#fff9ed}#num-calc-status{font-size:14px!important}@keyframes num-reveal{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.num-interest{gap:6px;margin-top:12px}.num-discover summary{padding:12px;font-size:16px}.num-discover p{padding:0 12px 13px}.num-number-button{min-width:78px;padding:9px}.num-tap-hint{margin:8px 0}}@media(prefers-reduced-motion:reduce){.num-discover p{animation:none}.num-card-toggle{transition:none}}

.num-discover summary>span:not(.num-card-toggle){transform:none}.num-discover summary{min-width:0}.num-discover .num-card-label{flex:1;min-width:0;overflow-wrap:break-word;line-height:1.4}.num-card-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px}.num-card-icon svg{display:block;width:24px;height:24px}.num-card-toggle{flex:0 0 20px;text-align:center}

/* Nghe: compact selectable track rows. */
.relax-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.relax-card.relax-row{padding:0;display:flex;align-items:stretch;min-width:0;overflow:hidden;border-radius:12px}.relax-row-play{display:flex;align-items:center;gap:13px;flex:1;min-width:0;min-height:68px;padding:10px 12px;background:transparent;border:0;text-align:left;color:var(--ink);font:inherit;cursor:pointer}.relax-row-title{font-size:16px;font-weight:600;line-height:1.35;min-width:0;overflow-wrap:anywhere}.relax-row-control{margin-left:auto;flex:0 0 24px;text-align:center;font-size:22px;color:var(--red)}.relax-row-download{display:grid;place-items:center;align-self:stretch;min-width:65px;padding:0 12px;border-left:1px solid var(--line);font-size:12px;font-weight:600;color:var(--red);text-decoration:none;white-space:nowrap}.relax-row-play:focus-visible,.relax-row-download:focus-visible{outline:3px solid #a98b54;outline-offset:-3px}.relax-row .relax-card-icon{width:40px;height:40px;flex:0 0 40px;border-radius:10px}.relax-row .relax-card-icon svg{width:24px;height:24px}.relax-row.relax-selected .relax-row-play{color:var(--red)}@media(max-width:700px){.relax-list{gap:7px}.relax-card.relax-row{padding:0}.relax-row-play{min-height:62px;padding:9px 10px;gap:9px}.relax-row-title{font-size:15px}.relax-row-download{min-width:52px;padding:0 8px;font-size:11px}}
/* Tarot: illustrated Major Arcana. */
.app-nav[data-active=numbers] .app-nav-indicator{transform:translateX(200%)}.app-nav[data-active=tarot] .app-nav-indicator{transform:translateX(300%)}.app-nav[data-active=relax] .app-nav-indicator{transform:translateX(400%)}
.tarot-section{margin:24px 0 32px;padding:28px;border:1px solid var(--line);border-radius:14px;background:#faf7ef}.tarot-header{display:flex;align-items:center;gap:16px}.tarot-header-mark{display:grid;place-items:center;flex:0 0 54px;width:54px;height:58px;border:1px solid #d4c19e;border-radius:12px;background:#eee4d3;color:#9b4735}.tarot-header-mark svg{width:32px;height:32px}.tarot-header h2{font-size:30px;margin:6px 0;line-height:1.35}.tarot-header p{font-size:13px;margin:0;line-height:1.6}.tarot-intro{border:1px solid #ded1b9;border-radius:12px;background:#f5eee1;padding:16px;margin-top:20px}.tarot-intro strong{font-size:16px;color:var(--red)}.tarot-intro p{font-size:14px;line-height:1.6;margin:6px 0 0}.tarot-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.tarot-mode button{border:1px solid var(--line);border-radius:12px;background:#fffaf0;color:var(--ink);font-family:inherit;font-weight:600;font-size:16px;line-height:1.4;min-height:54px;cursor:pointer}.tarot-mode button[aria-pressed=true]{border-color:var(--red);background:#a74633;color:#fff8ee}.tarot-mode button span{color:#bd955d;margin-right:5px}.tarot-mode button[aria-pressed=true] span{color:#f8d4a1}.tarot-mode-note{font-size:13px;color:var(--muted);margin:10px 0 18px}.tarot-question-label{display:block;font-weight:600;font-size:15px;margin-bottom:8px}.tarot-question-label small{font-weight:400;color:var(--muted)}#tarot-question{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:76px;resize:vertical;padding:12px 14px;border:1px solid #d6c9b1;border-radius:10px;background:#fffaf2;color:var(--ink);font:inherit;font-size:16px;line-height:1.5}.tarot-draw{display:inline-flex;justify-content:space-between;gap:22px;align-items:center;margin-top:16px;min-height:52px;border:0;border-radius:11px;background:var(--red);color:#fff9ee;font-family:inherit;font-weight:600;font-size:16px;line-height:1.3;padding:12px 20px;cursor:pointer}.tarot-draw:disabled{opacity:.65;cursor:wait}.tarot-draw:focus-visible,.tarot-mode button:focus-visible,.tarot-card-detail summary:focus-visible{outline:3px solid #9d8e67;outline-offset:3px}.tarot-status{font-size:13px;min-height:18px;color:#755f4e}.tarot-shuffle{display:flex;align-items:center;justify-content:center;height:200px;position:relative;overflow:hidden}.tarot-back{position:absolute;width:88px;height:140px;border:5px solid #fff2d6;box-shadow:0 6px 20px #5f413d35,inset 0 0 0 3px #d8b875;border-radius:11px;background:repeating-linear-gradient(45deg,#8f4b3f 0 6px,#985747 6px 12px);animation:tarot-gather 1.5s ease-in-out both}.tarot-back-center{display:grid;place-items:center;font:48px AnVanSerif,serif;color:#f5d594;z-index:2}.tarot-back-left{transform:translateX(-28px) rotate(-14deg);animation-delay:.05s}.tarot-back-right{transform:translateX(28px) rotate(14deg);animation-delay:.1s}@keyframes tarot-gather{0%,100%{filter:brightness(1);translate:0 0}45%{filter:brightness(1.16);translate:0 -13px}}.tarot-result{margin-top:24px;scroll-margin-top:18px;outline:none}.tarot-context{padding:12px 15px;border-left:3px solid #ae8f57;background:#f4ecdf;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.tarot-cards{display:grid;gap:15px}.tarot-result-card{display:grid;grid-template-columns:minmax(130px,205px) minmax(0,1fr);gap:22px;padding:18px;border:1px solid #d8cab0;border-radius:14px;background:#fffaf0}.tarot-result-art{max-width:205px;align-self:start;aspect-ratio:168/256}.tarot-result-art svg{display:block;width:100%;height:auto;filter:drop-shadow(0 7px 9px #47371a23)}.tarot-result-copy{min-width:0}.tarot-result-copy .eyebrow{font-size:10px;color:#a24531}.tarot-result-copy h3{font-size:25px;line-height:1.3;margin:10px 0 2px}.tarot-en{font:italic 14px AnVanSerif,serif;color:#756d61}.tarot-main-meaning{font-size:16px;line-height:1.7;margin:17px 0}.tarot-card-detail{border-top:1px solid var(--line)}.tarot-card-detail summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;color:var(--red);font-weight:600;font-size:14px}.tarot-card-detail summary::-webkit-details-marker{display:none}.tarot-card-detail h4{margin:13px 0 4px;font-size:15px;color:#9e4836}.tarot-card-detail p{margin:0 0 12px;font-size:14px;line-height:1.7}.tarot-reading-note{font-size:13px;line-height:1.7;color:#776c5d}.tarot-method{border-top:1px solid var(--line);margin-top:25px}.tarot-method>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;list-style:none;padding:16px 0;color:#675c50;font-weight:600;font-size:14px}.tarot-method>summary::-webkit-details-marker{display:none}.tarot-method p{font-size:13px;line-height:1.75}.tarot-method a{color:var(--red)}
@media(max-width:700px){.app-nav a{font-size:10px;gap:3px;padding:6px 1px;min-height:53px}.app-nav a svg{width:21px;height:21px;flex-basis:21px}.tarot-section{padding:18px 14px;margin:16px 0 24px}.tarot-header{gap:11px}.tarot-header-mark{width:44px;height:48px;flex-basis:44px}.tarot-header h2{font-size:25px;margin:4px 0}.tarot-header p{font-size:12px}.tarot-intro{padding:12px;margin-top:14px}.tarot-intro strong{font-size:14px}.tarot-intro p{font-size:12px}.tarot-mode{margin-top:12px}.tarot-mode button{min-height:48px;font-size:14px}.tarot-question-label{font-size:14px}.tarot-result-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}.tarot-result-art{width:min(100%,200px);margin:auto}.tarot-result-copy h3{font-size:23px;margin-top:5px}.tarot-main-meaning{margin:10px 0;font-size:15px}.tarot-context{font-size:13px}}
@media(max-width:375px){.app-nav a{font-size:8px}.app-nav a svg{width:20px;height:20px;flex-basis:20px}.tarot-header .eyebrow{font-size:8px}}
@media(prefers-reduced-motion:reduce){.tarot-back{animation:none}}

.tarot-result-art{position:relative;margin:0}.tarot-result-art>img{position:absolute;top:0;left:0;width:100%;height:calc(100% - 22px);object-fit:contain;background:#f9f2e5;border-radius:7px;box-shadow:0 7px 9px #47371a23}.tarot-result-art figcaption{position:absolute;left:0;right:0;bottom:0;text-align:center;font-size:10px;line-height:1.3}.tarot-result-art figcaption a{color:#8d4d3b;text-decoration:underline;text-underline-offset:2px}.tarot-result-art{aspect-ratio:auto}.tarot-result-art svg{height:auto}.tarot-result-art>img{aspect-ratio:168/256;height:auto}.tarot-result-art figcaption{position:static;margin-top:7px}

/* Fortune: two views within the Tử vi section. */
.fortune-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:20px 0 15px}.fortune-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:56px;padding:10px 14px;border:1px solid #cdbb9c;border-radius:13px;background:#f5eddf;color:#61594c;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;cursor:pointer;box-shadow:0 2px 6px #473e2710}.fortune-tabs button svg{width:23px;height:23px;flex:none}.fortune-tabs button[aria-selected="true"]{background:#a94432;border-color:#a94432;color:#fff8e9;box-shadow:0 5px 15px #8c39282b}.fortune-tabs button:focus-visible{outline:3px solid #a18b62;outline-offset:3px}#fortune-panel-pick #pick-section{margin:0 0 30px}#fortune-panel-draw,#fortune-panel-pick{min-width:0}[hidden]{display:none!important}@media(max-width:700px){.fortune-tabs{margin:12px 0 13px;gap:7px}.fortune-tabs button{min-height:48px;font-size:14px;padding:8px 7px;gap:7px}.fortune-tabs button svg{width:20px;height:20px}}
/* Tử vi portal: quiet landscape, useful dates, three direct tools. */
.home-portal{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:244px;margin:16px 0 0;padding:28px 36px;border:1px solid #d7c7a9;border-radius:22px;background:radial-gradient(circle at 78% 25%,#f5e0be 0,#f6efe1 42%,#f8f4ea 78%);box-shadow:0 7px 24px #74654412}.home-portal-copy{position:relative;z-index:2;max-width:62%}.home-portal .eyebrow{color:#9e5d42;font-size:10px;letter-spacing:1.2px}.home-portal #greeting{font-size:16px;color:#685e52;margin:16px 0 2px}.home-portal h1{font-size:39px;line-height:1.15;letter-spacing:-1.2px;margin:0 0 15px;color:#493e31}.home-portal h1 em{font-family:AnVanSerif,serif;color:#a44432;font-weight:normal}.home-portal .home-date{display:grid;gap:6px;font-size:13px;line-height:1.4;color:#5f594e}.home-portal .home-date span:first-child{font-weight:600;color:#72523e}.home-portal-intro{margin:16px 0 0;max-width:500px;font-size:13px;line-height:1.6;color:#736858}.home-portal-art{position:absolute;right:-15px;bottom:-16px;width:min(49%,440px);height:auto;z-index:0;opacity:.88}.home-portal-stamp{position:absolute;right:27px;top:18px;color:#a64d3d;border:1px solid currentColor;padding:1px 5px;font:23px AnVanSerif,serif;transform:rotate(7deg);opacity:.65}.fortune-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.fortune-tabs button{min-width:0}.fortune-tabs button[aria-selected="true"]{background:linear-gradient(125deg,#b24e3a,#913b2d)}#fortune-panel-love #love-section{margin:0 0 30px}
@media(max-width:700px){.home-portal{min-height:178px;margin:11px 0 0;padding:20px 16px;border-radius:17px;align-items:flex-start}.home-portal-copy{max-width:77%}.home-portal .eyebrow{font-size:8px;letter-spacing:.8px}.home-portal #greeting{font-size:12px;margin:10px 0 2px}.home-portal h1{font-size:28px;margin:0 0 9px}.home-portal .home-date{font-size:10px;gap:4px;max-width:210px}.home-portal-intro{font-size:11px;line-height:1.45;margin:9px 0 0;max-width:280px}.home-portal-art{width:60%;right:-54px;bottom:-5px;opacity:.7}.home-portal-stamp{right:14px;top:15px;font-size:16px}.fortune-tabs button{font-size:12px;gap:4px;padding:7px 4px}.fortune-tabs button svg{width:17px;height:17px}}
@media(max-width:355px){.fortune-tabs button{font-size:11px}.fortune-tabs button svg{width:15px;height:15px}.home-portal-art{opacity:.52}}
/* Chòm sao: airy constellation chart, no invented numerical personality scores. */
.stars-section{margin:24px 0 32px;padding:28px;border:1px solid #d6c5ac;border-radius:18px;background:linear-gradient(155deg,#faf7ee,#f3eddf)}.stars-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.stars-top-copy{max-width:620px}.stars-top .eyebrow{color:#a3553d}.stars-top h2{font-size:32px;line-height:1.25;margin:9px 0}.stars-top p{font-size:14px;line-height:1.65;margin:0}.stars-top svg{width:150px;height:140px;flex:none}.stars-controls{display:flex;align-items:end;gap:12px;margin:25px 0 0}.stars-controls>div{flex:1}.stars-controls label{display:block;font-weight:600;font-size:14px;margin-bottom:8px}.stars-controls input{box-sizing:border-box;display:block;width:100%;min-height:49px;border:1px solid #cfc2aa;border-radius:10px;padding:10px 12px;background:#fffcf6;color:var(--ink);font:inherit}.stars-controls p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.5}.stars-controls .primary{height:49px;border-radius:10px;white-space:nowrap;padding:10px 19px;font-size:14px}#stars-status{min-height:18px;margin:12px 0;font-size:13px;color:#89523e}.stars-result{scroll-margin-top:20px;border:1px solid #d2bea0;border-radius:16px;padding:22px;background:#fffaf1;box-shadow:0 5px 20px #5d503013}.stars-result-head{display:flex;align-items:center;gap:15px}.stars-result-glyph{display:grid;place-items:center;flex:0 0 67px;width:67px;height:67px;border:1px solid #d9c39e;border-radius:16px;background:radial-gradient(#f4dfb6,#e9dbbf);font:43px AnVanSerif,serif;color:#a24935}.stars-result-head h3{font-size:29px;margin:4px 0}.stars-result-head p{font-size:13px;margin:0;color:var(--muted)}.stars-facts{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.stars-facts span{display:grid;gap:4px;min-width:126px;padding:10px 13px;border-radius:10px;background:#f3ead9;font-weight:600;font-size:15px}.stars-facts b{font-size:10px;font-weight:500;letter-spacing:.7px;color:#8a765f;text-transform:uppercase}.stars-reading{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.stars-reading h4{font-size:15px;color:#a14432;margin:13px 0 4px}.stars-reading p{font-size:14px;line-height:1.65;margin:0}.stars-reading h4:nth-of-type(3),.stars-reading h4:nth-of-type(3)+p{grid-column:1/-1}.stars-self-check{margin-top:22px;padding-top:18px;border-top:1px solid #e2d6bf}.stars-self-check h4{font-size:16px;margin:0 0 5px}.stars-self-check>p{font-size:12px;line-height:1.6;margin:0 0 12px;color:#746a5d}.stars-checks{display:flex;flex-wrap:wrap;gap:7px}.stars-check{border:1px solid #d5c7ab;border-radius:25px;background:#f8f0e2;color:#685d4e;padding:9px 12px;font:inherit;font-size:12px;cursor:pointer;text-align:left}.stars-check span{display:inline-block;margin-right:7px;color:#a54a36}.stars-check[aria-pressed="true"]{background:#e7d9bd;border-color:#b59064;color:#743d2e}#stars-reflection{font-size:12px;color:#7a654e;margin:12px 0 0}.stars-cusp,.stars-honesty{font-size:12px;line-height:1.6;color:#7c6752;margin:16px 0 0}.stars-cusp{border-left:3px solid #ae8654;padding-left:12px}.stars-explore{margin-top:24px}.stars-explore h3{display:flex;align-items:center;gap:8px;font-size:21px;margin:0 0 5px}.stars-symbol{color:#aa7049}.stars-explore>p{font-size:12px;color:var(--muted);margin:0 0 13px}.stars-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.stars-sign{display:grid;justify-items:center;gap:4px;min-width:0;min-height:103px;padding:10px 4px;border:1px solid #dccdb3;border-radius:12px;background:#fffaf2;color:var(--ink);font-family:inherit;cursor:pointer}.stars-sign[aria-pressed="true"]{border-color:#ad563e;background:#f3e4d5;box-shadow:inset 0 0 0 1px #ad563e}.stars-sign span{color:#a44c35;font-size:30px;line-height:1}.stars-sign strong{font-size:14px}.stars-sign small{font-size:10px;color:#776c5f}.stars-method{border-top:1px solid #ddd0b8;margin-top:24px}.stars-method summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none;padding:16px 0;font-weight:600;font-size:14px}.stars-method summary::-webkit-details-marker{display:none}.stars-method p{font-size:12px;line-height:1.75}.stars-method a{color:var(--red)}.stars-sign:focus-visible,.stars-check:focus-visible,.stars-controls button:focus-visible,.stars-controls input:focus-visible{outline:3px solid #a88b57;outline-offset:2px}
@media(max-width:700px){.stars-section{padding:17px 13px;margin:14px 0 24px}.stars-top h2{font-size:26px}.stars-top p{font-size:12px}.stars-top svg{width:88px;height:88px}.stars-top .eyebrow{font-size:8px}.stars-controls{display:grid;gap:9px;margin-top:17px}.stars-controls label{font-size:13px}.stars-controls .primary{width:100%;justify-content:center}.stars-result{padding:15px}.stars-result-glyph{width:52px;height:52px;flex-basis:52px;font-size:35px}.stars-result-head h3{font-size:23px}.stars-facts{margin:15px 0}.stars-reading{display:block}.stars-reading h4{margin-top:12px}.stars-reading p{font-size:13px}.stars-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.stars-sign{min-height:85px;padding:8px 2px}.stars-sign span{font-size:26px}.stars-sign strong{font-size:12px}.stars-sign small{font-size:9px}.stars-check{font-size:11px;padding:8px 10px}}
/* Keep the original warm navigation style; only the drag preview is added. */
.app-nav{touch-action:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
.app-nav a{-webkit-user-drag:none}
.app-nav[data-active=stars] .app-nav-indicator{transform:translateX(100%)}
.app-nav[data-active=numbers] .app-nav-indicator{transform:translateX(200%)}
.app-nav[data-active=tarot] .app-nav-indicator{transform:translateX(300%)}
.app-nav[data-active=relax] .app-nav-indicator{transform:translateX(400%)}
.app-nav.is-scrubbing .app-nav-indicator{transform:translateX(var(--nav-shift))}
.app-nav.is-scrubbing a[aria-current=page]{color:#655f55}
.app-nav.is-scrubbing[data-preview=today] #app-nav-today,.app-nav.is-scrubbing[data-preview=stars] #app-nav-stars,.app-nav.is-scrubbing[data-preview=numbers] #app-nav-numbers,.app-nav.is-scrubbing[data-preview=tarot] #app-nav-tarot,.app-nav.is-scrubbing[data-preview=relax] #app-nav-relax{color:var(--red)}
.stars-reading{display:block}
.home-portal-copy{max-width:70%}.home-portal-facts{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 0}.home-portal-facts span{display:grid;gap:3px;min-width:122px;padding:8px 11px;border:1px solid #d7c5a8af;border-radius:10px;background:#fffaf1af;backdrop-filter:blur(8px)}.home-portal-facts b{font-size:8px;letter-spacing:.7px;color:#926a51;font-weight:600}.home-portal-facts strong{font-size:12px;line-height:1.3;color:#59473a}.home-portal-intro{margin-top:12px}
@media(max-width:700px){.home-portal{min-height:225px}.home-portal-copy{max-width:100%}.home-portal h1{max-width:70%}.home-portal .home-date{max-width:70%}.home-portal-facts{position:relative;z-index:2;max-width:100%;gap:5px;margin-top:13px}.home-portal-facts span{min-width:0;max-width:48%;padding:7px 8px}.home-portal-facts span:nth-child(2){display:none}.home-portal-facts b{font-size:7px}.home-portal-facts strong{font-size:10px}.home-portal-intro{display:none}.home-portal-art{opacity:.45}}

/* Deeper sign reading, arranged for quick scanning on phones. */
.stars-depth{margin-top:19px;padding-top:16px;border-top:1px solid #e2d6bf}.stars-depth h4{font-size:17px;margin:0 0 5px}.stars-depth-intro{font-size:12px;line-height:1.6;color:#756a5d;margin:0 0 12px}.stars-depth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stars-depth-grid article{border:1px solid #dfd2bc;border-radius:12px;background:#f6efe3;padding:13px;min-width:0}.stars-depth-grid span{color:#a44c35;font-size:19px}.stars-depth-grid h5{color:#8f4436;font-size:14px;margin:5px 0 7px}.stars-depth-grid p{font-size:13px;line-height:1.62;margin:0;color:#564e45}
@media(max-width:700px){.stars-depth-grid{grid-template-columns:1fr;gap:7px}.stars-depth-grid article{padding:11px 12px}.stars-depth-grid p{font-size:12px}.stars-depth-grid h5{margin:2px 0 5px}.stars-depth-grid span{float:left;margin-right:8px}}

/* Numerology: explain the three independent calculations together. */
.num-layered{margin:14px 0 18px;padding:17px;border:1px solid #d7c5a9;border-radius:14px;background:#f7f0e4}.num-layered h4{font-size:17px;color:#8f4436;margin:0 0 5px}.num-layered>p{font-size:12px;line-height:1.6;color:#6b6053;margin:0 0 12px}.num-layered-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.num-layered-grid span{display:grid;align-content:start;gap:3px;padding:11px;border:1px solid #e2d4bd;border-radius:10px;background:#fffaf1}.num-layered-grid b{font:27px AnVanSerif,serif;color:#a44635}.num-layered-grid strong{font-size:13px;color:#574b3e}.num-layered-grid small{font-size:11px;line-height:1.5;color:#675c4d}.num-layered .num-layered-note{margin:11px 0 0}.num-discover .num-detail-extra{padding-top:0;color:#766659}
@media(max-width:700px){.num-layered{padding:12px;margin:11px 0 15px}.num-layered-grid{gap:5px}.num-layered-grid span{padding:8px 6px}.num-layered-grid b{font-size:22px}.num-layered-grid strong{font-size:11px}.num-layered-grid small{font-size:10px}.num-discover .num-detail-extra{font-size:12px}}
/* Tử vi: một điểm gieo quẻ, hai lối khám phá và lịch bảy ngày. */
.home-portal{min-height:252px;padding:26px 34px 84px;background:radial-gradient(circle at 82% 25%,#bd7655 0 9%,transparent 34%),linear-gradient(120deg,#29453d 0%,#385d50 52%,#657c61 100%);border-color:#647a5b;box-shadow:0 12px 32px #29453d27}
.home-portal::after{content:"";position:absolute;inset:auto 0 0;height:64px;background:linear-gradient(0deg,#243f3788,transparent);pointer-events:none}
.home-portal-copy{max-width:72%}.home-portal .eyebrow,.home-portal #greeting,.home-portal .home-date,.home-portal .home-date span:first-child{color:#f5e9d2}.home-portal h1{color:#fff7e9;font-size:39px}.home-portal h1 em{color:#f1c790}.home-portal-art{width:min(52%,470px);opacity:.85;filter:drop-shadow(0 10px 10px #142b2930)}.home-portal-stamp{color:#f1c990;opacity:.7}
.home-portal-facts span{background:#f7eedf15;border-color:#f4e3c34b;backdrop-filter:blur(7px)}.home-portal-facts b{color:#eacba0}.home-portal-facts strong{color:#fff7e8}
.home-portal .home-weather{position:absolute;bottom:13px;left:34px;right:34px;z-index:2;display:flex;align-items:center;gap:14px;width:auto;min-height:46px;padding:7px 12px;margin:0;border:1px solid #f4e3c344;border-radius:10px;background:#1f403680;color:#fff6e5;backdrop-filter:blur(10px)}
.home-portal .weather-inline-head{gap:12px;flex:0 0 auto}.home-portal .weather-inline-head .label{color:#eacba0;font-size:9px;margin:0}.home-portal .weather-settings summary{color:#f9e9cd;text-decoration:underline;text-underline-offset:3px}.home-portal #weather-content{font-size:11px;min-width:0}.home-portal .weather-compact-main{display:inline-flex;align-items:center;gap:8px;margin:0}.home-portal .weather-compact-main strong{color:#fff7e9;font-size:12px}.home-portal .weather-compact-main span{color:#eed9b9;font-size:10px}.home-portal .weather-one-tip{display:inline;margin:0 0 0 9px;color:#f5e9d2;font-size:10px}.home-portal .weather-controls{color:#39332d}.home-portal .weather-controls a{color:#a64435}
.home-omen{max-width:960px;margin:18px auto 0;padding:24px 26px 22px;min-height:0;display:flex;flex-direction:column;align-items:center;text-align:center;background:radial-gradient(circle at 50% 41%,#f9e7bf 0,#f6ead5 23%,transparent 48%),linear-gradient(145deg,#fffaf0,#eee2cb);box-shadow:0 8px 25px #69503913}
.home-omen-copy{max-width:560px}.home-omen-copy .eyebrow{color:#9b523d}.home-omen-copy h2{font-family:AnVanSerif,'Be Vietnam Pro',serif;font-weight:500;font-size:31px;line-height:1.25;margin:8px 0 4px;color:#3a4537}.home-omen-copy>p{font-size:12px;line-height:1.6;margin:0 auto}.home-omen .home-seal{display:none}.home-scenery{opacity:.45}
.home-casting-art{appearance:none;display:grid;place-items:center;align-self:center;position:relative;width:166px;height:166px;margin:5px 0 0;padding:0;border:0;border-radius:50%;background:radial-gradient(circle,#fffaf080 0 46%,#af774d18 47% 50%,transparent 51%);filter:drop-shadow(0 9px 7px #694d3420);transition:transform .25s ease,filter .25s ease;cursor:pointer}
.home-casting-art svg{width:145px;height:145px;transition:transform .25s ease}.home-casting-art:hover,.home-casting-art:focus-visible{transform:translateY(-4px);filter:drop-shadow(0 12px 10px #694d3430)}.home-casting-art:hover svg{transform:rotate(-4deg)}
#home-omen #start{width:min(100%,330px);min-height:49px;margin:1px 0 0;border-radius:24px;background:linear-gradient(115deg,#b84c36,#943b2d);box-shadow:0 7px 18px #943b2d2b;font-size:14px}.home-omen-footnote{font-size:10px;margin:9px 0 0}
.fortune-tabs{max-width:960px;margin:8px auto 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fortune-tabs::before{content:"KHÁM PHÁ THÊM";grid-column:1;align-self:center;font-size:9px;font-weight:700;letter-spacing:1.5px;color:#907a5d}.fortune-tabs #fortune-tab-draw{grid-column:2;justify-self:end;min-height:32px;width:auto;padding:5px 9px;border:0;background:transparent;box-shadow:none;color:#985345;font-size:11px;font-weight:600}.fortune-tabs #fortune-tab-draw::before{content:"←"}.fortune-tabs #fortune-tab-draw svg{display:none}.fortune-tabs #fortune-tab-draw[aria-selected=true]{background:transparent;color:#985345;box-shadow:none}
.fortune-tabs #fortune-tab-pick,.fortune-tabs #fortune-tab-love{justify-content:flex-start;min-height:75px;padding:12px 17px;text-align:left;border:1px solid #d1c5ad;border-radius:14px;background:#f8f1e4;color:#514a3d;box-shadow:0 4px 12px #5f492b12;gap:12px}.fortune-tabs #fortune-tab-pick svg,.fortune-tabs #fortune-tab-love svg{width:30px;height:30px;flex:0 0 30px;color:#9e5b43}.fortune-tab-text{display:grid;gap:4px}.fortune-tab-text strong{font-size:15px;font-weight:700;color:inherit}.fortune-tab-text small{font-size:11px;font-weight:400;color:#807363}.fortune-tabs #fortune-tab-pick[aria-selected=true],.fortune-tabs #fortune-tab-love[aria-selected=true]{background:#e8d8c1;color:#8e3e30;border-color:#b59a70;box-shadow:inset 0 0 0 1px #b59a7033}.fortune-tabs #fortune-tab-pick[aria-selected=true] small,.fortune-tabs #fortune-tab-love[aria-selected=true] small{color:#715f52}
.home-digest{display:none}.calendar-section{max-width:960px;margin:26px auto 0;padding-top:16px;border-top:1px solid #ded1b8}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:13px 0 0}.week-day{position:relative;display:grid;place-items:center;gap:3px;min-width:0;min-height:74px;padding:9px 2px;border:1px solid #d8ceb9;border-radius:11px;background:#fff9ed;color:#514c41}.week-day span{font-size:9px;color:#8b7e67}.week-day strong{font-size:18px;font-weight:700}.week-day small{font-size:9px;color:#8b7e67}.week-day i{position:absolute;top:8px;right:8px;width:5px;height:5px;border-radius:50%;background:#799068}.week-day.selected{border-color:#a44835;background:#a44835;color:#fff8e8;box-shadow:0 4px 11px #a448352b}.week-day.selected span,.week-day.selected small{color:#f9e5c7}.week-day.selected i{background:#f3d58e}
.calendar-more{margin-top:12px;border:1px solid #d8ceb9;border-radius:11px;background:#fffaf1}.calendar-more>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;padding:14px 17px;color:#7c4d37;font-size:12px;font-weight:700;cursor:pointer}.calendar-more>summary::-webkit-details-marker{display:none}.calendar-more>summary span{font-size:20px;line-height:1;transition:transform .2s}.calendar-more[open]>summary span{transform:rotate(180deg)}.calendar-more .calendar-tabs{margin:0}.calendar-more .calendar-layout{margin:0}
@media(max-width:700px){.home-portal{min-height:0;padding:19px 16px 80px;margin:10px 0 0;border-radius:18px}.home-portal-copy{max-width:100%;width:100%}.home-portal .eyebrow{font-size:8px}.home-portal #greeting{margin:9px 0 2px;font-size:11px}.home-portal h1{font-size:29px;max-width:none;margin-bottom:9px}.home-portal .home-date{max-width:none;font-size:10px;gap:3px}.home-portal-art{right:-68px;bottom:33px;width:65%;opacity:.43}.home-portal-facts{margin-top:12px;gap:6px;max-width:100%}.home-portal-facts span{min-width:0;max-width:none;flex:1;padding:8px}.home-portal-facts span:nth-child(2){display:grid}.home-portal-facts b{font-size:7px}.home-portal-facts strong{font-size:10px}.home-portal .home-weather{left:12px;right:12px;bottom:10px;min-height:52px;padding:7px 9px;display:grid;gap:2px}.home-portal .weather-inline-head{justify-content:space-between}.home-portal .weather-inline-head .label{font-size:8px}.home-portal .weather-compact-main{margin:0;gap:5px}.home-portal .weather-compact-main strong{font-size:10px}.home-portal .weather-compact-main span{font-size:9px}.home-portal .weather-one-tip{margin-left:5px;font-size:9px}.home-omen{padding:17px 14px 15px;margin-top:11px;border-radius:16px;display:flex;min-height:0;gap:0}.home-omen-copy h2{font-size:24px;line-height:1.25;margin:5px 0}.home-omen-copy .eyebrow{font-size:8px}.home-omen-copy>p{font-size:11px}.home-casting-art{width:132px;height:132px;margin-top:2px}.home-casting-art svg{width:123px;height:123px}#home-omen #start{width:min(100%,280px);min-height:44px;padding:9px 14px;margin:0;font-size:13px}.home-omen-footnote{font-size:9px;margin-top:7px}.fortune-tabs{margin:7px 0 13px;gap:8px}.fortune-tabs #fortune-tab-draw{min-height:29px;padding:2px 3px;font-size:10px}.fortune-tabs #fortune-tab-pick,.fortune-tabs #fortune-tab-love{min-height:66px;padding:10px 9px;gap:8px}.fortune-tabs #fortune-tab-pick svg,.fortune-tabs #fortune-tab-love svg{width:23px;height:23px;flex-basis:23px}.fortune-tab-text strong{font-size:12px}.fortune-tab-text small{font-size:9px;line-height:1.3}.calendar-section{margin-top:19px;padding-top:12px}.week-strip{gap:4px}.week-day{min-height:63px;padding:7px 1px;border-radius:9px}.week-day span,.week-day small{font-size:8px}.week-day strong{font-size:15px}.week-day i{top:5px;right:5px;width:4px;height:4px}.calendar-more>summary{padding:12px 13px;font-size:11px}}
@media(max-width:355px){.home-portal-facts span:nth-child(2){display:none}.home-portal{padding-bottom:91px}.fortune-tab-text small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.home-casting-art,.home-casting-art svg,.calendar-more>summary span{transition:none}.home-casting-art:hover,.home-casting-art:hover svg{transform:none}}
/* Tarot 78: a quiet table, tactile fan, and reveal. */
.tarot-section{max-width:1040px;margin:20px auto 32px;padding:26px;border:1px solid #d8c6a8;border-radius:20px;background:linear-gradient(150deg,#fcf8ee,#f1e7d7);box-shadow:0 10px 30px #4e3a2410}
.tarot-header{position:relative;overflow:hidden;padding:22px 24px;border:1px solid #546f63;border-radius:15px;background:radial-gradient(circle at 88% 25%,#95785e 0,#456052 27%,#263e38 70%);color:#fff7e9}.tarot-header::after{content:"✦";position:absolute;right:34px;top:0;font:102px AnVanSerif,serif;color:#d5b88055;transform:rotate(15deg)}.tarot-header-mark{background:#f7e8cf20;border-color:#e4cb9655;color:#f1cf92}.tarot-header .eyebrow{color:#e8c995}.tarot-header h2{font-family:AnVanSerif,'Be Vietnam Pro',serif;font-size:39px;font-weight:500;color:#fff8e9;position:relative;z-index:1}.tarot-header p{color:#f1e5d4;position:relative;z-index:1}
.tarot-intro{display:flex;align-items:center;gap:18px;background:#fff9ee;border-color:#dac9a9}.tarot-intro strong{flex:0 0 auto;font-size:15px;color:#9f4b38}.tarot-intro p{margin:0;font-size:12px;line-height:1.55}.tarot-mode{max-width:490px}.tarot-mode button{background:#fffcf5}.tarot-mode button[aria-pressed=true]{background:#31564a;border-color:#31564a;box-shadow:0 4px 12px #31564a25}.tarot-question-label{margin-top:16px}.tarot-draw{background:#a64636;border-radius:10px}.tarot-draw:hover{background:#8d3b2e}.tarot-status{color:#665c4d}
.tarot-table{position:relative;overflow:hidden;margin:18px 0;padding:20px 18px 24px;border:1px solid #9b815c;border-radius:18px;background:radial-gradient(circle at 50% -28%,#647c69 0,#2b4b43 52%,#203a35 100%);color:#fff4dc;box-shadow:inset 0 0 0 5px #e5c99212,0 12px 25px #263c3633}.tarot-table::before{content:"";position:absolute;width:430px;height:430px;left:50%;top:-68px;transform:translateX(-50%);border:1px solid #d9bc8240;border-radius:50%;box-shadow:0 0 0 28px #d9bc8208,0 0 0 60px #d9bc8207;pointer-events:none}.tarot-table-head{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;letter-spacing:1.5px;color:#ecd5a5}.tarot-table-head strong{font-size:12px;color:#fff8e8;letter-spacing:0}.tarot-fan{position:relative;z-index:1;display:flex;align-items:flex-end;gap:0;max-width:820px;height:205px;margin:18px auto 0;padding:12px 44px 8px 26px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#d9bb8255 transparent;scroll-snap-type:x proximity;touch-action:pan-x;overscroll-behavior-inline:contain;cursor:grab}.tarot-fan:active{cursor:grabbing}.tarot-fan-card{position:relative;display:grid;place-items:center;flex:0 0 106px;width:106px;height:165px;margin-left:-26px;border:5px solid #f4e1bb;border-radius:10px;background:repeating-linear-gradient(45deg,#843f39 0 5px,#984b42 5px 10px);box-shadow:inset 0 0 0 2px #d0aa65,0 6px 11px #172d2955;color:#e9ca89;font:44px AnVanSerif,serif;transform:translateY(0) rotate(calc((var(--i,0) - 6)*1.1deg));transition:transform .24s ease,box-shadow .24s ease;scroll-snap-align:center;cursor:pointer;user-select:none}.tarot-fan-card::before{content:"";position:absolute;inset:11px;border:1px solid #f0d39a;border-radius:4px;opacity:.75}.tarot-fan-card::after{content:"◇";position:absolute;font:82px AnVanSerif,serif;opacity:.25}.tarot-fan-card span{position:relative;z-index:1}.tarot-fan-card:first-child{margin-left:0}.tarot-fan-card:hover,.tarot-fan-card:focus-visible{z-index:3;transform:translateY(-13px) rotate(0);box-shadow:0 15px 22px #11292388}.tarot-fan-busy .tarot-fan-card{pointer-events:none}.tarot-fan-card.tarot-fan-chosen{z-index:4;animation:tarot-lift .8s ease both}@keyframes tarot-lift{0%{transform:translateY(0) rotate(0);opacity:1}55%{transform:translateY(-37px) rotate(0);opacity:1}100%{transform:translateY(-68px) rotate(0);opacity:0}}
.tarot-table-hint{position:relative;z-index:1;text-align:center;font-size:11px;color:#e8d9be;line-height:1.5;margin:12px 0}.tarot-picked{position:relative;z-index:1;display:flex;justify-content:center;gap:15px;min-height:0}.tarot-picked-card{width:92px;height:148px;perspective:700px}.tarot-picked-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:rotateY(180deg)}.tarot-flip-in .tarot-picked-inner{animation:tarot-flip .85s cubic-bezier(.2,.75,.2,1) both}@keyframes tarot-flip{0%{transform:rotateY(0)}100%{transform:rotateY(180deg)}}.tarot-picked-back,.tarot-picked-face{position:absolute;inset:0;display:grid;place-items:center;backface-visibility:hidden;border-radius:8px}.tarot-picked-back{border:4px solid #e8d2a8;background:repeating-linear-gradient(45deg,#8b453d 0 5px,#9a5345 5px 10px);font:35px AnVanSerif,serif;color:#e9ca89}.tarot-picked-face{transform:rotateY(180deg);padding:4px;background:#fff8ea;color:#47392b;box-shadow:0 5px 14px #172d2960}.tarot-picked-face svg{width:70px;height:107px}.tarot-picked-face strong{font-size:9px;line-height:1.2;text-align:center}.tarot-result{scroll-margin-top:22px}.tarot-result-card{box-shadow:0 5px 15px #523e2510}.tarot-card-detail summary{color:#9d4735}
@media(max-width:700px){.tarot-section{margin:12px 0 22px;padding:14px 11px;border-radius:16px}.tarot-header{padding:17px 14px}.tarot-header::after{right:7px;font-size:70px}.tarot-header h2{font-size:30px}.tarot-header p{font-size:11px}.tarot-intro{display:block;margin-top:11px;padding:11px}.tarot-intro strong{font-size:13px}.tarot-intro p{font-size:11px;margin-top:4px}.tarot-mode button{font-size:13px;min-height:46px}.tarot-mode-note{margin:7px 0 10px;font-size:11px}.tarot-question-label{font-size:12px;margin-top:11px}#tarot-question{min-height:65px;font-size:14px}.tarot-draw{margin-top:11px;width:100%;justify-content:center;font-size:14px;min-height:46px}.tarot-table{margin-top:13px;padding:16px 8px 18px;border-radius:14px}.tarot-table-head{padding:0 6px;font-size:8px}.tarot-table-head strong{font-size:10px}.tarot-fan{height:155px;padding:9px 28px 8px 22px;margin-top:13px}.tarot-fan-card{flex-basis:78px;width:78px;height:124px;margin-left:-20px;border-width:4px;font-size:32px}.tarot-fan-card::before{inset:7px}.tarot-fan-card::after{font-size:58px}.tarot-table-hint{font-size:10px;margin:8px 7px}.tarot-picked-card{width:72px;height:116px}.tarot-picked-face svg{width:52px;height:78px}.tarot-picked-face strong{font-size:8px}.tarot-result-card{padding:13px}.tarot-result-art{width:min(100%,190px);margin:auto}}
@media(prefers-reduced-motion:reduce){.tarot-fan-card,.tarot-picked-inner{transition:none;animation:none!important}.tarot-picked-inner{transform:rotateY(180deg)}.tarot-fan-card:hover,.tarot-fan-card:focus-visible{transform:none}}
.app-nav[data-active=tarot] .app-nav-indicator{transform:translateX(100%)}.app-nav[data-active=stars] .app-nav-indicator{transform:translateX(300%)}
.tarot-journal{margin-top:25px;padding:20px;border:1px solid #d9c7a9;border-radius:15px;background:#fff9ee}.tarot-journal-head{display:flex;justify-content:space-between;align-items:end;gap:14px}.tarot-journal-head h3{margin:4px 0 0;font:500 26px AnVanSerif,'Be Vietnam Pro',serif;color:#2d4e43}.tarot-journal-head p{margin:0;color:#7b7060;font-size:12px}.tarot-journal-count{font:600 14px 'Be Vietnam Pro',sans-serif;color:#a44a35}.tarot-journal-empty{margin:18px 0 3px;color:#766a59;font-size:14px}.tarot-journal-list{display:grid;gap:9px;margin-top:14px}.tarot-journal-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border:1px solid #e1d4bd;border-radius:11px;background:#f8f2e7}.tarot-journal-entry-copy{min-width:0}.tarot-journal-entry time{display:block;font-size:11px;color:#9b503c}.tarot-journal-entry strong{display:block;margin:5px 0;font-size:15px;line-height:1.4;color:#3c453c}.tarot-journal-entry p{margin:0;color:#776e62;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.tarot-journal-actions{display:flex;flex:0 0 auto;gap:7px}.tarot-journal-actions button{padding:8px 11px;border:1px solid #cdb995;border-radius:8px;background:#fffaf0;color:#934330;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.tarot-journal-actions button:first-child{background:#31564a;border-color:#31564a;color:#fff8eb}.tarot-journal-actions button:focus-visible{outline:3px solid #b79a69;outline-offset:2px}
@media(max-width:700px){.tarot-journal{padding:14px;margin-top:17px}.tarot-journal-head{align-items:start;flex-direction:column;gap:3px}.tarot-journal-head h3{font-size:22px}.tarot-journal-entry{align-items:stretch;flex-direction:column;gap:10px}.tarot-journal-actions button{min-height:40px}.tarot-journal-actions button:first-child{flex:1}}

.fortune-tabs{scroll-margin-top:18px}

/* A shared title card for each An Vận space. */
.home-portal-title{display:flex;align-items:center;gap:19px;min-width:0}.home-portal-title>div{min-width:0}.home-portal-mark{display:grid;place-items:center;flex:0 0 60px;width:60px;height:64px;border:1px solid #e1ca975f;border-radius:16px;background:#fff3d418;color:#efcf96}.home-portal-mark svg{width:31px;height:31px}.home-portal .home-portal-title h1{margin:7px 0 2px;font-family:AnVanSerif,'Be Vietnam Pro',serif;font-size:40px;font-weight:500;letter-spacing:-1px}.home-portal .home-portal-title h1 em{font-size:inherit;font-style:normal}.home-portal .home-portal-title #greeting{margin:3px 0 0;font-size:13px}.home-portal .home-date{margin-top:14px}
:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading){position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;gap:20px;min-width:0;margin:0 0 17px;padding:25px 27px;overflow:hidden;border:1px solid #ead3a73d;border-radius:17px;color:#fff7e8;box-shadow:inset 0 0 0 1px #f6e7cc18}
:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading)::after{content:'✦';position:absolute;right:30px;top:-21px;font:110px AnVanSerif,serif;color:#f1d39a20;transform:rotate(14deg);pointer-events:none;z-index:-1}
:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading)>div{min-width:0;position:relative;z-index:1}
:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading) .eyebrow{display:block;color:#edd3a3;font-size:10px;letter-spacing:1.65px;line-height:1.45}
:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading) h2{font-family:AnVanSerif,'Be Vietnam Pro',serif;color:#fff9ed;font-size:38px;font-weight:500;line-height:1.16;letter-spacing:-.6px;margin:8px 0 7px}
:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading) p{margin:0;color:#f5eadd;font-size:13px;line-height:1.5}
:is(.tarot-header-mark,.num-heading-icon,.stars-heading-icon,.relax-heading-icon,.pick-heading-icon,.love-heading-icon){display:grid;place-items:center;flex:0 0 58px;width:58px;height:62px;border:1px solid #f2ddb665;border-radius:14px;background:#ffefd71c;color:#f1d29a}
:is(.tarot-header-mark,.num-heading-icon,.stars-heading-icon,.relax-heading-icon,.pick-heading-icon,.love-heading-icon) svg{width:31px;height:31px}
.tarot-header{background:radial-gradient(circle at 86% 20%,#aa735e 0,#75494e 32%,#503a46 75%);border-color:#8d6264}.tarot-header::after{color:#f3caa23d}.num-heading{background:radial-gradient(circle at 91% 5%,#986a55,#744b49 42%,#583e42);border-color:#90665d}.stars-top{background:radial-gradient(circle at 90% 3%,#708579,#4d6470 42%,#344e5b);border-color:#71828a}.relax-heading{background:radial-gradient(circle at 86% 10%,#869277,#5e7667 38%,#3e5b52);border-color:#7d8f77}.pick-heading{background:radial-gradient(circle at 90% 7%,#af8f67,#80664e 40%,#655443);border-color:#a08a6e}.love-heading{background:radial-gradient(circle at 88% 5%,#ad7970,#855b61 41%,#654953);border-color:#a67a79}
.tarot-header .eyebrow,.tarot-header h2,.tarot-header p{position:relative;z-index:1}.stars-top-copy{max-width:none}.stars-heading-icon svg{flex:none}.tarot-result-art figcaption{display:none}.tarot-card-source{padding-top:8px;border-top:1px solid #e7dac5}.tarot-card-source a{color:#8e4939;font-size:12px;text-decoration:underline;text-underline-offset:2px}.tarot-intro{margin-top:3px;padding:12px 14px}.tarot-intro p{font-size:12px}.num-empty{padding-top:9px}.stars-controls{margin-top:18px}.pick-heading+.direction-source,.love-intro-note{display:none}
.app-shell .tarot-header{justify-content:flex-start;gap:20px}
body:not([data-screen=today]) .pwa-offline-status{display:none}

/* Keep the everyday controls close to their content; show offline feedback only while it needs attention. */
.calm-motion-row{justify-content:flex-end;margin:-2px 0 5px}
.relax-filters{margin:8px 0 12px}
.relax-offline{padding:5px 0;border:0;background:none;font-size:12px;line-height:1.5;margin:0 0 9px}
.relax-offline[hidden]{display:none}
.stars-explore h3{margin-bottom:13px}
.num-empty{padding:8px 0 14px}
.num-empty h3{margin:0 0 12px}
@media(max-width:700px){.calm-motion-row{margin:-4px 0 2px}.relax-filters{margin:6px 0 10px}}

.relax-player{border:1px solid #b6c7af;border-radius:18px;background:linear-gradient(135deg,#f9fbf4,#e6ede1);padding:21px;box-shadow:0 12px 34px #2e51451b;margin:10px 0 18px}
.relax-player-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.relax-player-head h3{font-family:AnVanSerif,serif;font-size:25px;line-height:1.3;margin:4px 0;color:#35574a}
.relax-player-head .eyebrow{font-size:9px;color:#788c75}
.relax-player-head #relax-player-source{font-size:11px;color:#778374;margin:3px 0}
.relax-main-controls{display:flex;align-items:center;justify-content:center;gap:9px;width:100%}
.relax-main-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #c8d1bf;border-radius:50%;background:#f9fbf5;color:#36594b;font-size:20px;padding:4px}
.relax-main-controls #relax-toggle{display:block;min-width:122px;border-radius:25px;font-size:13px;padding:9px 16px;background:#36594b;color:#fff9ed}
.relax-main-controls #relax-favorite[aria-pressed=true],.relax-row-favorite[aria-pressed=true]{color:#a94335}
.relax-transport{display:flex;flex-direction:column;gap:4px;margin:12px 0 0}
.relax-transport input{width:100%;accent-color:#607c64}
.relax-player-bottom{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:11px;color:#69796b}
.relax-player-bottom label{display:flex;align-items:center;gap:7px}
.relax-player-bottom select{max-width:110px;min-height:35px;padding:5px;border:1px solid #bdc9b6;border-radius:9px;background:#f9fbf5;color:#36594b;font-size:11px}
.relax-row-favorite{width:44px;border:0;border-left:1px solid #ded9c9;background:transparent;color:#9b8973;font-size:23px}
.relax-empty{font-size:13px;color:#766b5e;padding:14px 5px}
@media(max-width:700px){.relax-player{padding:15px;border-radius:15px}.relax-player-head h3{font-size:21px}.relax-main-controls{gap:5px}.relax-main-controls button{min-width:40px;min-height:40px}.relax-main-controls #relax-toggle{min-width:105px}}
.tarot-interpret{margin:16px 0 14px;padding:17px;border-left:3px solid #c1975f;background:#f5ecdd;border-radius:0 9px 9px 0}
.tarot-interpret h4{font-size:15px;color:#804637;margin:0 0 5px}
.tarot-interpret p{font-size:14px;line-height:1.75;color:#514a40;margin:0 0 14px}
.tarot-interpret p:last-child{margin-bottom:0}
.tarot-context{font-size:15px;line-height:1.75;color:#4d554b;background:#e8eee3;padding:14px 18px;border-radius:12px}
@media(max-width:700px){.tarot-interpret{padding:13px}.tarot-interpret h4{font-size:14px}.tarot-interpret p,.tarot-context{font-size:13px;line-height:1.7}}
@media(max-width:700px){.home-portal-title{gap:11px}.home-portal-mark{flex-basis:44px;width:44px;height:48px;border-radius:12px}.home-portal-mark svg{width:25px;height:25px}.home-portal .home-portal-title h1{font-size:28px;line-height:1.16;margin:4px 0 2px}.home-portal .home-portal-title #greeting{font-size:11px;margin:2px 0}.home-portal .home-date{margin-top:10px}:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading){gap:12px;padding:18px 15px;margin-bottom:13px;border-radius:14px;align-items:center;text-align:left;grid-template-columns:none;justify-items:stretch}:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading)::after{right:4px;top:-9px;font-size:68px}:is(.tarot-header-mark,.num-heading-icon,.stars-heading-icon,.relax-heading-icon,.pick-heading-icon,.love-heading-icon){flex:0 0 43px;width:43px;height:47px;border-radius:11px}:is(.tarot-header-mark,.num-heading-icon,.stars-heading-icon,.relax-heading-icon,.pick-heading-icon,.love-heading-icon) svg{width:25px;height:25px}:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading) h2{font-size:26px;line-height:1.16;margin:4px 0}:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading) .eyebrow{font-size:8px;letter-spacing:1px}:is(.tarot-header,.num-heading,.stars-top,.relax-heading,.pick-heading,.love-heading) p{font-size:11px;line-height:1.45}.tarot-intro{padding:10px 12px}.tarot-intro p{font-size:11px}.pick-section,.love-section{padding-top:14px}.stars-controls{margin-top:14px}}
@media(max-width:700px){.app-shell .tarot-header{gap:12px}}

/* The listening controls stay within one compact card. */
.relax-player{max-width:680px;padding:12px 14px;margin:8px 0 14px;border-radius:13px;box-shadow:0 4px 14px #2e514511}
.relax-player-head{align-items:center;gap:10px;margin:0 0 4px}
.relax-player-head>div{min-width:0}.relax-player-head h3{font-family:inherit;font-size:16px;line-height:1.25;margin:1px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.relax-player-head #relax-player-source{font-size:10px;line-height:1.2;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relax-player-head .eyebrow{font-size:8px}
.relax-player-head #relax-stop{min-height:34px;padding:5px 10px}
.relax-transport{margin:4px 0 0;gap:0}.relax-main-controls{gap:7px;justify-content:flex-start}.relax-main-controls button{min-width:36px;min-height:36px;font-size:18px}.relax-main-controls #relax-toggle{min-width:100px;padding:6px 12px;font-size:12px}
.relax-transport input{min-height:23px}.relax-player-bottom select{min-height:30px;padding:3px 5px}
@media(max-width:700px){.relax-player{padding:10px 12px}.relax-player-head h3{font-size:15px}.relax-main-controls button{min-width:35px;min-height:35px}.relax-main-controls #relax-toggle{min-width:92px}}

.relax-player-bottom label{white-space:nowrap}

/* Tử vi: ink landscape in An Vận's paper, jade and terracotta palette. */
.home-portal{min-height:0;padding:24px 28px 74px;background:linear-gradient(105deg,#253f37 0%,#315147 49%,#536f5a 100%);border-color:#7e9378;box-shadow:0 9px 24px #29453d24}
.home-portal::before{content:"";position:absolute;inset:0;background:url('/ink-hero.svg') right center/cover no-repeat;opacity:.9;z-index:0;pointer-events:none}
.home-portal::after{height:78px;background:linear-gradient(0deg,#243e36a8,transparent)}
.home-portal-art{display:none}.home-portal-copy{max-width:76%}.home-portal-stamp{z-index:1;opacity:.55}
.home-portal-facts{margin-top:13px}.home-portal-facts span{padding:7px 10px;border-radius:9px;background:#f7eedf12}
.home-portal .home-weather{left:28px;right:28px;bottom:12px;min-height:43px}
.home-omen{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 144px;align-items:center;gap:4px 15px;min-height:0;padding:20px 24px 18px;text-align:left;background:linear-gradient(110deg,#fffaf1,#f0e8d9);border:1px solid #d8c6a8}
.home-omen::before{content:"";position:absolute;inset:0;background:url('/ink-omen.svg') center bottom/cover no-repeat;opacity:.68;pointer-events:none}
.home-omen-copy{position:relative;z-index:1;min-width:0;grid-column:1;grid-row:1}.home-omen-copy h2{font-size:27px;margin:5px 0 3px}.home-omen-copy h2 br{display:none}.home-omen-copy>p{margin:0;max-width:none}
.home-scenery{display:none}.home-casting-art{z-index:1;grid-column:2;grid-row:1;width:137px;height:137px;margin:0;justify-self:end}.home-casting-art svg{width:126px;height:126px}
#home-omen #start{position:relative;z-index:1;grid-column:1/-1;grid-row:2;justify-self:start;width:auto;min-width:220px;margin:6px 0 0;padding:10px 25px}
@media(max-width:700px){
 .home-portal{padding:16px 15px 75px;margin-top:8px;border-radius:17px}.home-portal::before{background-position:58% center;opacity:.76}.home-portal-copy{max-width:100%}.home-portal-title{gap:10px}.home-portal .home-portal-title h1{font-size:27px}.home-portal .home-date{margin-top:7px}.home-portal-facts{margin-top:10px;gap:6px}.home-portal-facts span{padding:6px 8px}.home-portal .home-weather{left:11px;right:11px;bottom:9px;min-height:46px;padding:6px 9px}
 .home-omen{grid-template-columns:minmax(0,1fr) 110px;gap:2px 5px;margin-top:10px;padding:15px 14px 14px;border-radius:16px}.home-omen::before{background-position:55% bottom;opacity:.51}.home-omen-copy .eyebrow{font-size:8px;line-height:1.35}.home-omen-copy h2{font-size:22px;line-height:1.18;margin:5px 0 4px}.home-omen-copy>p{font-size:11px;line-height:1.35}.home-casting-art{width:106px;height:106px;margin:0}.home-casting-art svg{width:99px;height:99px}#home-omen #start{width:100%;min-width:0;min-height:44px;margin-top:5px}
}
@media(max-width:355px){.home-omen{grid-template-columns:minmax(0,1fr) 86px}.home-casting-art{width:84px;height:84px}.home-casting-art svg{width:80px;height:80px}.home-omen-copy h2{font-size:20px}}
/* Daily reading: the next usable hour and main action stay visible; explanation opens on demand. */
.home-portal-facts b{line-height:1.35}
.reading-explain{margin-top:14px;border-top:1px solid #d6cdbb;padding-top:10px}
.reading-explain summary,.reading-more>summary,.pick-card-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;color:#9a4936;font-size:13px;font-weight:650;line-height:1.5}
.reading-explain summary::-webkit-details-marker,.reading-more>summary::-webkit-details-marker,.pick-card-more>summary::-webkit-details-marker{display:none}
.reading-explain summary span,.reading-more>summary span,.pick-card-more>summary span{color:#9a4936;transition:transform .2s}
.reading-explain[open]>summary span,.reading-more[open]>summary span,.pick-card-more[open]>summary span{transform:rotate(45deg)}
.reading-explain p{margin:10px 0 0!important;font-size:13px!important;line-height:1.7!important}
.reading-next-hour{display:flex;align-items:center;flex-wrap:wrap;gap:5px 18px;margin:13px 0;padding:13px 16px;border:1px solid #bfcbb8;border-radius:11px;background:#ecf0e7}
.reading-next-hour>span{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:700;letter-spacing:.5px;color:#52705d}
.reading-next-hour .result-icon{width:18px;height:18px;flex:none}
.reading-next-hour strong{font-size:16px;font-weight:700;color:#2f5945}
.reading-next-hour small{flex-basis:100%;font-size:11px;line-height:1.45;color:#64715f}
.reading-more{margin:15px 0 0;border:1px solid var(--line);border-radius:11px;background:#fffbf4;padding:0 16px}
.reading-more>summary{padding:15px 0}
.reading-more .reading-hours{margin:0 0 14px}
.pick-key-reasons{padding-left:19px;margin:13px 0 8px}
.pick-key-reasons li{margin:5px 0!important;font-size:13px!important;line-height:1.55!important}
.pick-key-caution{border-left:3px solid #b49a63;margin:10px 0;padding:5px 10px;font-size:12px;line-height:1.55;color:#685944}
.pick-key-caution strong{font-size:inherit;font-weight:700}
.pick-quick-hour{display:flex;align-items:center;gap:8px;margin:12px 0;color:#41624e;font-size:12px;line-height:1.5}
.pick-quick-hour .pick-icon{flex:none;width:19px;height:19px}
.pick-quick-hour strong{font-size:inherit;font-weight:700;color:#34533f}
.pick-card-more{border-top:1px solid var(--line);margin:11px 0 13px;padding-top:11px}
.pick-card-more h5{margin:15px 0 8px}
.pick-card-more .pick-hours{margin-top:8px}
.pick-card-more .pick-caution{margin-top:12px}
.pick-card .pick-weekday-label{margin-bottom:6px}
@media(max-width:700px){
 .home-portal-facts b{font-size:8px;letter-spacing:.3px}
 .reading-next-hour{padding:11px 12px;gap:4px 10px}.reading-next-hour strong{font-size:15px}
 .reading-more{padding:0 12px}.reading-more>summary{padding:12px 0}
 .reading-explain p{font-size:12px!important}
 .pick-key-reasons{margin:8px 0}.pick-card-more{margin:8px 0 11px}.pick-quick-hour{margin:9px 0}
}
@media(prefers-reduced-motion:reduce){.reading-explain summary span,.reading-more>summary span,.pick-card-more>summary span{transition:none}}

/* Approved An Vận message, shared by all screens. */
footer.anvan-message{display:block;max-width:760px;margin:24px auto 0;padding:22px 12px 28px;text-align:center;border-top:1px solid #cfc4ab;color:#6f735f;font-size:13px;line-height:1.85;overflow-wrap:break-word}footer.anvan-message strong{display:block;color:#46614c;font-size:15px;font-weight:600;line-height:1.6}footer.anvan-message p{margin:11px 0 0;font-size:inherit;line-height:inherit;color:inherit}@media(max-width:700px){footer.anvan-message{margin-top:19px;padding:20px 7px 25px;font-size:12px;line-height:1.8}footer.anvan-message strong{font-size:14px}}
