:root{font-family:system-ui,-apple-system,"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#432744;background:#fff8fc}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 5% 12%,#f8e1ee 0,transparent 30%),radial-gradient(ellipse at 96% 28%,#e5e0ff 0,transparent 27%),linear-gradient(180deg,#fff9fc,#f8f4ff 55%,#fff8f2)}a{color:inherit}.horoscope-page{max-width:1120px;margin:auto;padding:32px 24px 70px}.horoscope-hero{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:310px;padding:42px 62px;overflow:hidden;border:1px solid #ead0ec;border-radius:34px;background:radial-gradient(circle at 78% 28%,#f8d5e8 0 9%,transparent 10%),radial-gradient(circle at 85% 76%,#efe1ff 0 10%,transparent 11%),linear-gradient(120deg,#fff0f2,#f4eaff 55%,#e5e7ff);box-shadow:0 20px 55px #744d7930}.hero-copy{position:relative;z-index:2;max-width:680px}.eyebrow{margin:0 0 8px;color:#98618c;font-size:.76rem;font-weight:850;letter-spacing:.18em}.horoscope-hero h1{margin:0;color:#592a62;font-size:clamp(2.4rem,6vw,4.5rem);letter-spacing:.08em;line-height:1.2;text-shadow:0 2px #fff}.hero-lead{margin:16px 0 18px;color:#704776;font-size:clamp(1.15rem,2.7vw,1.65rem);font-weight:700}.date-line{margin:0;color:#754b7c;font-weight:800;font-size:1.05rem}.hero-note{max-width:600px;margin:16px 0 0;color:#795f7b;font-size:.9rem;line-height:1.8}.hero-sparkle{position:absolute;color:#fff;font-size:2.3rem;text-shadow:0 2px 10px #b984d6}.sparkle-one{top:24px;left:47%}.sparkle-two{bottom:24px;left:52%;font-size:1.6rem}.orbit-art{position:relative;flex:0 0 230px;height:220px;margin-right:22px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#fff9 0 4%,transparent 5%),radial-gradient(circle at 50% 50%,#eed8f5 0 34%,#fff5 35% 48%,transparent 49%)}.orbit{position:absolute;inset:27px 2px;border:1.5px solid #c795d2;border-radius:50%;transform:rotate(-28deg)}.orbit-b{inset:2px 27px;transform:rotate(32deg);border-color:#e3a1b5}.orbit-moon{position:absolute;top:72px;left:94px;color:#9e5b9f;font-size:3.7rem}.orbit-star{position:absolute;right:20px;top:25px;color:#cf83a6;font-size:2.2rem}.lucky-feature{position:relative;margin:32px auto 52px;padding:30px 38px;border:1px solid #edc783;border-radius:28px;background:linear-gradient(120deg,#fff6dc,#fff1f3 55%,#f4eaff);box-shadow:0 16px 38px #70475d24;overflow:hidden}.lucky-feature:before,.lucky-feature:after{content:"✦";position:absolute;color:#d9a74f;opacity:.55;font-size:2.4rem}.lucky-feature:before{top:13px;right:24px}.lucky-feature:after{bottom:10px;left:22px;font-size:1.6rem}.lucky-label{text-align:center;color:#9a6a26;font-size:.77rem;font-weight:900;letter-spacing:.2em}.lucky-content{display:grid;grid-template-columns:100px 1fr;gap:20px;align-items:center;max-width:760px;margin:16px auto 0}.lucky-icon{display:grid;place-items:center;width:92px;height:92px;border:1px solid #ebc37d;border-radius:30px;background:linear-gradient(145deg,#fff,#fbe1ef);box-shadow:inset 0 0 0 6px #fff7;font-size:2.8rem}.lucky-copy h2{margin:0;color:#672e64;font-size:clamp(1.45rem,3vw,2rem)}.lucky-copy p{margin:8px 0 0;color:#664e60;font-size:1.08rem;line-height:1.8}.lucky-score{display:inline-block;margin-top:8px;padding:5px 12px;border-radius:99px;background:#fff;color:#a36328;font-weight:850;letter-spacing:.05em}.section-heading{text-align:center;margin:0 auto 26px}.section-heading h2{margin:4px 0 8px;color:#512c61;font-size:clamp(1.8rem,4vw,2.7rem)}.section-heading>p:last-child{margin:0;color:#78647e;font-size:1.02rem}.zodiac-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.zodiac-card{position:relative;min-height:226px;padding:22px;border:1px solid color-mix(in srgb,var(--accent),white 65%);border-radius:24px;background:linear-gradient(145deg,#fff,var(--tint));box-shadow:0 10px 26px #50395712;transition:transform .2s,box-shadow .2s}.zodiac-card:hover,.zodiac-card:focus-within{transform:translateY(-3px);box-shadow:0 15px 34px #50395720}.zodiac-top{display:flex;align-items:center;gap:14px}.zodiac-illustration{position:relative;display:grid;place-items:center;width:66px;height:66px;flex:0 0 66px;border:1px solid color-mix(in srgb,var(--accent),white 50%);border-radius:22px;background:radial-gradient(circle at 34% 28%,#fff 0 19%,transparent 20%),linear-gradient(145deg,#fff,var(--tint));color:var(--accent);font-size:1.8rem;box-shadow:inset 0 0 0 4px #ffffffaa}.zodiac-glyph{position:absolute;right:-7px;bottom:-7px;display:grid;place-items:center;width:25px;height:25px;border:2px solid white;border-radius:50%;background:var(--accent);color:white;font-size:.83rem;font-weight:900}.zodiac-name{margin:0;color:var(--accent);font-size:1.3rem;font-weight:900}.zodiac-date{color:#8c7a8d;font-size:.82rem}.zodiac-stars{margin-left:auto;color:#c58b36;font-size:.91rem;letter-spacing:.03em;white-space:nowrap}.zodiac-message{margin:17px 0 0;color:#5c4c5f;font-size:1rem;line-height:1.8}.zodiac-themes{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.zodiac-themes span{padding:4px 9px;border:1px solid #ffffff;border-radius:99px;background:#fff9;color:#765b7b;font-size:.77rem;font-weight:750}.horoscope-disclaimer{margin:36px auto 0;color:#867889;text-align:center;font-size:.86rem;line-height:1.7}.loading-note{grid-column:1/-1;text-align:center;color:#775d7c}.horoscope-footer{display:flex;justify-content:center;gap:24px;padding:22px 18px 42px;color:#765d78;font-size:.9rem}.horoscope-footer a{font-weight:800}@media(max-width:720px){.horoscope-page{padding:18px 14px 48px}.horoscope-hero{min-height:270px;padding:32px 25px;border-radius:27px}.orbit-art{position:absolute;right:-70px;bottom:-65px;transform:scale(.7);opacity:.65}.hero-copy{max-width:100%}.hero-note{max-width:80%}.lucky-feature{margin:22px auto 40px;padding:27px 18px;border-radius:24px}.lucky-content{grid-template-columns:76px 1fr;gap:13px}.lucky-icon{width:72px;height:72px;border-radius:24px;font-size:2.2rem}.lucky-copy p{font-size:.98rem}.zodiac-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.zodiac-card{min-height:232px;padding:16px;border-radius:20px}.zodiac-top{gap:10px;flex-wrap:wrap}.zodiac-stars{margin-left:0}.zodiac-illustration{width:58px;height:58px;flex-basis:58px}.zodiac-name{font-size:1.12rem}.zodiac-message{font-size:.92rem;margin-top:12px}}@media(max-width:390px){.zodiac-grid{grid-template-columns:1fr}.zodiac-card{min-height:0}.hero-note{max-width:100%}}
.home-lucky-card{display:block;max-width:720px;margin:0 auto 24px;padding:22px 26px;border:1px solid #e9c889;border-radius:24px;background:radial-gradient(circle at 92% 15%,#fff9 0 7%,transparent 8%),linear-gradient(115deg,#fff5d9,#fff0f4 57%,#f0ebff);box-shadow:0 12px 30px #69455b20;color:#57335c;text-decoration:none}.home-lucky-kicker,.home-lucky-more{display:block;text-align:center;color:#9a6a26;font-size:.77rem;font-weight:900;letter-spacing:.14em}.home-lucky-main{display:grid;grid-template-columns:72px 1fr auto;gap:15px;align-items:center;margin:13px 0}.home-lucky-icon{position:relative;display:grid;place-items:center;width:68px;height:68px;border:1px solid #ebc37d;border-radius:22px;background:linear-gradient(145deg,#fff,#fbe1ef);font-size:2rem}.home-lucky-icon i{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:23px;height:23px;border:2px solid #fff;border-radius:50%;background:#a6628b;color:#fff;font-size:.75rem;font-style:normal;font-weight:900}.home-lucky-main strong{display:block;color:#672e64;font-size:1.45rem}.home-lucky-main small{display:block;margin-top:3px;color:#664e60;font-size:1rem;line-height:1.65}.home-lucky-stars{color:#c58b36;font-size:.88rem;white-space:nowrap}.home-lucky-more{color:#79517e;letter-spacing:.03em}@media(max-width:620px){.home-lucky-card{margin:0 0 18px;padding:18px 15px;border-radius:20px}.home-lucky-main{grid-template-columns:58px 1fr;gap:11px}.home-lucky-icon{width:56px;height:56px;border-radius:19px;font-size:1.65rem}.home-lucky-main strong{font-size:1.2rem}.home-lucky-main small{font-size:.9rem}.home-lucky-stars{grid-column:2;font-size:.82rem}}
.lucky-icon{position:relative}
/* Full featured horoscope card modeled on the owner reference screenshot. */
.home-lucky-card{position:relative;display:block;width:min(100%,720px);margin:0 auto 28px;padding:26px 28px 22px;overflow:hidden;border:1px solid #d8b9d9;border-radius:30px;background:radial-gradient(ellipse at 78% 14%,#f0d9f8 0,transparent 43%),radial-gradient(ellipse at 88% 86%,#ffe8c8 0,transparent 40%),linear-gradient(125deg,#fff0f4 0%,#f5eaff 50%,#ffe7da 100%);box-shadow:0 18px 42px #75476d24;color:#563c58;text-decoration:none}
.home-lucky-card:before,.home-lucky-card:after{position:absolute;z-index:0;color:#b495c2;opacity:.27;pointer-events:none}.home-lucky-card:before{content:"✦";top:54px;left:12px;font-size:48px}.home-lucky-card:after{content:"✧";top:34px;left:57%;font-size:62px}
.home-lucky-head,.home-lucky-hero,.home-lucky-categories,.home-lucky-copy,.home-lucky-analysis,.home-lucky-more,.home-lucky-note{position:relative;z-index:1}.home-lucky-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#77637a;font-size:clamp(.88rem,2.1vw,1.03rem)}.home-lucky-head b{padding:9px 14px;border:1px solid #ead2aa;border-radius:999px;background:#fff5dd;color:#90653e;font-size:.9rem;white-space:nowrap}.home-lucky-hero{display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(115px,1fr);align-items:center;gap:14px;min-height:132px;padding:7px 0 11px}.home-lucky-title strong{display:block;color:#573047;font-size:clamp(2.2rem,6vw,3rem);line-height:1.2}.home-lucky-title small{display:block;margin-top:7px;color:#796b7c;font-size:1rem}.home-lucky-avatar{position:relative;display:grid;place-items:center;width:94px;height:112px}.home-lucky-avatar svg{width:96px;height:108px;filter:drop-shadow(0 5px 4px #69456824)}.home-lucky-avatar i{position:absolute;right:-6px;bottom:8px;display:grid;place-items:center;width:29px;height:29px;border:2px solid #fff;border-radius:50%;background:#9f6b9c;color:#fff;font-size:1rem;font-style:normal}.home-lucky-rating{text-align:right}.home-lucky-rating strong{display:block;color:#a8763b;font-size:clamp(1.5rem,4.5vw,2rem);letter-spacing:.04em;white-space:nowrap}.home-lucky-rating small{display:block;margin-top:3px;color:#98764b;font-size:.9rem}.home-lucky-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:3px 0 22px}.home-lucky-categories>span{min-width:0;padding:13px 14px;border:1px solid #e5d0df;border-radius:19px;background:#fff9fcbd}.home-lucky-categories small{display:block;color:#807181;font-size:.91rem}.home-lucky-categories b{display:block;margin-top:4px;color:#956c8c;font-size:1.17rem;letter-spacing:.02em;white-space:nowrap}.home-lucky-copy,.home-lucky-analysis{display:block;font-size:clamp(1.04rem,2.35vw,1.25rem);line-height:1.85}.home-lucky-copy{margin-bottom:11px;color:#503c50}.home-lucky-analysis{margin-bottom:18px;color:#756579}.home-lucky-copy strong,.home-lucky-analysis strong{color:#68415f}.home-lucky-more{display:block;color:#8a4f6d;font-size:1.06rem;font-weight:900;text-decoration:underline;text-underline-offset:4px}.home-lucky-note{display:block;margin-top:7px;color:#918394;font-size:.9rem}
@media(max-width:620px){.home-lucky-card{margin:0 0 22px;padding:20px 18px 17px;border-radius:27px}.home-lucky-head{align-items:flex-start;font-size:.9rem}.home-lucky-head b{padding:8px 10px;font-size:.78rem}.home-lucky-hero{grid-template-columns:minmax(0,1fr) 76px minmax(94px,1fr);gap:6px;min-height:119px}.home-lucky-title strong{font-size:clamp(1.9rem,8vw,2.3rem)}.home-lucky-title small{font-size:.88rem}.home-lucky-avatar{width:75px;height:96px}.home-lucky-avatar svg{width:80px;height:94px}.home-lucky-avatar i{right:-3px;bottom:4px;width:25px;height:25px;font-size:.85rem}.home-lucky-rating strong{font-size:clamp(1.24rem,5vw,1.58rem)}.home-lucky-rating small{font-size:.8rem}.home-lucky-categories{gap:7px;margin:2px 0 17px}.home-lucky-categories>span{padding:11px 9px;border-radius:16px}.home-lucky-categories small{font-size:.82rem}.home-lucky-categories b{font-size:1.03rem}.home-lucky-copy,.home-lucky-analysis{font-size:1.05rem;line-height:1.85}.home-lucky-more{font-size:1rem}}
/* Zodiac mascot system and dreamy star field: keep the soft screenshot palette. */
body{background-color:#f7efff;background-image:radial-gradient(1.5px 1.5px at 10% 8%,#fff 50%,transparent 60%),radial-gradient(1px 1px at 72% 16%,#d8b8f3 50%,transparent 60%),radial-gradient(1.5px 1.5px at 92% 29%,#fff 50%,transparent 60%),radial-gradient(1px 1px at 28% 42%,#dfbce9 50%,transparent 60%),radial-gradient(1.5px 1.5px at 83% 67%,#fff 50%,transparent 60%),radial-gradient(1px 1px at 16% 78%,#d9baf0 50%,transparent 60%),radial-gradient(1.5px 1.5px at 60% 93%,#fff 50%,transparent 60%),radial-gradient(ellipse at 5% 12%,#f8e1ee 0,transparent 30%),radial-gradient(ellipse at 96% 28%,#e5e0ff 0,transparent 27%),linear-gradient(180deg,#fff9fc,#f8f4ff 55%,#fff8f2)}
.horoscope-hero,.lucky-feature,.zodiac-card,.home-lucky-card{background-image:radial-gradient(2px 2px at 8% 14%,#fff 45%,transparent 60%),radial-gradient(1px 1px at 91% 18%,#c69ed7 50%,transparent 65%),radial-gradient(1.5px 1.5px at 84% 82%,#fff 45%,transparent 60%),linear-gradient(125deg,#fff0f4 0%,#f5eaff 52%,#ffe7da 100%)}
.lucky-icon{position:relative;overflow:visible;background:radial-gradient(circle at 50% 55%,#fff 0 28%,#f8eaff 70%,#e9dcff 100%)}.lucky-icon img{width:124px;height:124px;object-fit:contain;filter:drop-shadow(0 5px 8px #533b6133)}
.zodiac-illustration{overflow:visible;background:radial-gradient(circle at 50% 55%,#fff 0 28%,#f8eaff 70%,#e9dcff 100%)}.zodiac-illustration img{width:86px;height:86px;object-fit:contain;filter:drop-shadow(0 4px 6px #533b6130)}
.home-lucky-avatar{width:112px;height:124px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at center,#fff9 0 29%,#ebdcff80 60%,transparent 75%);border:0;border-radius:0;font-size:0}.home-lucky-avatar img{display:block;width:128px;height:128px;object-fit:contain;filter:drop-shadow(0 7px 9px #533b6133)}.home-lucky-avatar i{right:0;bottom:0}
@media(max-width:620px){.home-lucky-avatar{width:76px;height:96px}.home-lucky-avatar img{width:98px;height:98px}.lucky-icon img{width:112px;height:112px}.zodiac-illustration img{width:72px;height:72px}}

/* Slightly shift the homepage zodiac character toward the sign name. */
.home-lucky-avatar img{transform:translateX(-6px)}@media(max-width:620px){.home-lucky-avatar img{transform:translateX(-4px)}}

header.horoscope-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding:10px max(18px,calc((100vw - 1120px)/2 + 24px));background:#26191f;box-shadow:0 6px 20px #27131a24}
.horoscope-brand{display:inline-flex;align-items:center;gap:12px;min-width:0;color:#fff8f2;text-decoration:none;font-size:clamp(1rem,2.8vw,1.35rem);font-weight:900;letter-spacing:.03em}
.horoscope-brand img{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:50%;filter:drop-shadow(0 2px 5px #0006)}
.horoscope-home-button{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:0 20px;border:2px solid #e5bc7d;border-radius:999px;background:linear-gradient(145deg,#fff9f4,#fae8df 55%,#f0d3d3);color:#512d38;font-size:1rem;font-weight:850;text-decoration:none;box-shadow:inset 0 0 0 2px #fff9,0 5px 15px #130b1036}
.horoscope-home-button span{font-size:1.3rem;line-height:1}
.horoscope-home-button:hover{filter:brightness(1.04);transform:translateY(-1px)}
.horoscope-home-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.horoscope-footer{margin-top:36px}

/* Keep horoscope copy from being accidentally selected on touch devices. */
html,body,body *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

.zodiac-card{padding-bottom:58px}
.zodiac-detail-button{position:absolute;left:18px;right:18px;bottom:15px;display:flex;justify-content:center;align-items:center;min-height:34px;border:1px solid color-mix(in srgb,var(--accent),white 60%);border-radius:99px;background:#fff9;color:var(--accent);font:inherit;font-size:.86rem;font-weight:800;cursor:pointer}
.zodiac-detail-button:hover{background:#fff;box-shadow:0 3px 10px #50395714}
.zodiac-detail-button:focus-visible,.zodiac-dialog-close:focus-visible{outline:3px solid #704776;outline-offset:3px}
.zodiac-dialog{position:fixed;width:min(620px,calc(100% - 28px));max-width:none;max-height:min(82dvh,760px);padding:clamp(24px,5vw,42px);overflow:auto;border:1px solid #e5c7df;border-radius:28px;background:linear-gradient(145deg,#fff9fc,#f6efff 58%,#fff2e9);color:#492c50;box-shadow:0 24px 80px #24152d55}
.zodiac-dialog::backdrop{background:#211622a6;backdrop-filter:blur(4px)}
.zodiac-dialog-close{position:sticky;top:0;float:right;display:grid;place-items:center;width:42px;height:42px;margin:-10px -10px 0 12px;border:1px solid #e4c9de;border-radius:50%;background:#fff;color:#603b65;font-size:1.7rem;line-height:1;cursor:pointer}
.zodiac-dialog-head{display:flex;align-items:center;gap:18px;padding-right:34px}
.zodiac-dialog-art{width:104px;height:104px;flex:0 0 104px;object-fit:contain;filter:drop-shadow(0 5px 8px #533b6133)}
.zodiac-dialog-title{margin:0;color:#592a62;font-size:clamp(1.65rem,5vw,2.2rem)}
.zodiac-dialog-date{margin-top:4px;color:#806989}
.zodiac-dialog-rating{margin:14px 0 22px;color:#a36328;font-size:1.12rem;font-weight:900;letter-spacing:.04em}
.zodiac-dialog-section{margin-top:16px;padding:16px 18px;border:1px solid #ead8e9;border-radius:18px;background:#ffffffb8}
.zodiac-dialog-section h3{margin:0 0 7px;color:#754b7c;font-size:1rem}
.zodiac-dialog-section p{margin:0;color:#5f4d62;font-size:1rem;line-height:1.85}
.zodiac-dialog-note{margin:18px 0 0;color:#88768c;font-size:.82rem;line-height:1.6}
@media(max-width:720px){.zodiac-card{padding-bottom:57px}.zodiac-detail-button{left:12px;right:12px;bottom:12px}.zodiac-dialog{border-radius:22px}.zodiac-dialog-head{gap:10px}.zodiac-dialog-art{width:82px;height:82px;flex-basis:82px}}

.zodiac-picture-button{padding:0;cursor:pointer}.zodiac-picture-button:focus-visible{outline:3px solid #704776;outline-offset:4px}.zodiac-dialog-ratings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 22px}.zodiac-dialog-ratings p{display:flex;justify-content:space-between;gap:8px;margin:0;padding:11px 12px;border:1px solid #eddfad;border-radius:13px;background:#fff9eb;color:#76502a;font-weight:800}.zodiac-dialog-ratings strong{color:#aa702d;letter-spacing:.02em;white-space:nowrap}@media(max-width:390px){.zodiac-dialog-ratings{grid-template-columns:1fr}}
