/* 首頁以 LU 的酒紅、墨綠與香檳金呈現品牌，工具頁沿用原有操作版面。 */
.site-header.home-header.portal-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px;height:auto;padding:20px max(5vw,24px);border-bottom:1px solid #f2e8ed14;background:#342d35;color:#f2eceb}
.portal-header .portal-brand{display:flex;align-items:center;gap:17px;min-width:0;margin:0;text-decoration:none;font-weight:400;letter-spacing:0;color:#f2eceb}
.portal-brand-name{font:400 29px/1.2 Georgia,'PMingLiU','Songti TC',serif;white-space:nowrap}
.portal-brand-cross{font:300 24px/1 Georgia,serif;color:#c28c81}
.portal-culture-logo{display:block;width:165px;height:auto;filter:brightness(0) invert(.93)}
.portal-nav{display:flex;align-items:center;gap:34px;flex-shrink:0}
.portal-nav a{font-size:15px;line-height:1.6;color:#d1c4ca;text-decoration:none;white-space:nowrap}
.portal-nav a:hover{color:#fff4ed}.portal-header a:focus-visible{outline-color:#dbad9d}
.home-main.portal-main,.home-main.portal-main:has(>#divination-view[hidden]):has(>#chart-view[hidden]){display:block;max-width:none;margin:0;padding:0}
.portal-hero{--hero-title-size:clamp(70px,7.5vw,100px);--hero-tagline-size:clamp(19px,1.8vw,24px);position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;min-height:480px;border-bottom:1px solid #ded0b4;background:radial-gradient(ellipse at 50% 30%,#fffdf6 15%,#f7f0e1 85%);color:#54243e}
.portal-hero-art{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none}
.portal-hero-content{display:flex;flex-direction:column;align-items:center;gap:0;width:min(1170px,100%);margin:auto;padding:78px 40px 66px}
.portal-hero-identity{display:flex;align-items:center;gap:32px;max-width:100%}
.portal-hero-divider{display:block;align-self:stretch;flex-shrink:0;width:1px;background:linear-gradient(transparent,#c6ac78,transparent)}
.portal-hero-wordmark{display:flex;flex-direction:column;gap:18px;min-width:0}
.portal-eyebrow{margin:0;color:#c68d80;font-size:12px;font-weight:400;line-height:1.7;letter-spacing:3px}
.portal-hero h1{margin:0;font:600 var(--hero-title-size)/1.18 Georgia,'PMingLiU','Songti TC',serif;letter-spacing:3px;color:#54243e;white-space:nowrap}
.portal-tagline{margin:0;color:#3f6658;font:400 var(--hero-tagline-size)/1.6 'PMingLiU','Songti TC',serif;letter-spacing:1.5px;white-space:nowrap}
.portal-services{max-width:1200px;margin:0 auto;padding:64px 32px 54px;scroll-margin-top:24px}
.portal-services-heading{margin-bottom:30px}
.portal-services-heading h2{margin:10px 0 0;color:#4b3545;font:400 30px/1.5 'PMingLiU','Songti TC',serif;letter-spacing:1px}
.portal-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.portal-service{--service-paper:#fffdf7;--service-ink:#3f6658;--service-tint:#edf1e8;--service-line:#c5d0c1;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:280px;padding:30px;border:1px solid var(--service-line);border-radius:16px;background:linear-gradient(135deg,#fffefb,var(--service-paper));box-shadow:0 6px 18px #6c583508,inset 0 0 0 4px #fffdf76b;color:var(--service-ink);text-decoration:none;overflow:hidden;transition:border-color .18s,transform .18s}
.portal-service:after{content:'';position:absolute;right:-90px;top:-110px;z-index:-1;width:280px;height:280px;border:1px solid #a6afa026;border-radius:50%;pointer-events:none}
.portal-service-chart{--service-paper:#faf2f2;--service-ink:#663448;--service-tint:#f3e7e9;--service-line:#dbc8cb}.portal-service-numbers{--service-paper:#fbf6e9;--service-ink:#7b602b;--service-tint:#f3ebd6;--service-line:#ded0ae}.portal-service-luck{--service-paper:#f8f3e9;--service-ink:#765a3e;--service-tint:#eee5d5;--service-line:#dbcfbc}
.portal-service-number{position:absolute;right:28px;top:30px;color:#7f7066;font:400 13px/1.6 Georgia,serif;letter-spacing:1px}
.portal-service-icon{display:block;width:46px;height:46px;margin:0 0 18px;padding:8px;border:1px solid var(--service-line);border-radius:12px;background:var(--service-tint);color:inherit}
.portal-service h3{margin:0 0 13px;color:inherit;font:600 22px/1.5 'PMingLiU','Songti TC',serif;letter-spacing:.3px}
.portal-service>p{max-width:440px;margin:0 0 25px;color:#71665f;font-size:14px;line-height:1.85}
.portal-service-action{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:auto;padding-top:15px;border-top:1px solid #8f828627;color:inherit;font-size:14px;font-weight:500;line-height:1.6}
.portal-service-action>span{font-size:21px;font-weight:400}.portal-service:hover{border-color:#b1989c;transform:translateY(-3px)}.portal-service:focus-visible{outline:2px solid #a8756f;outline-offset:4px}
.portal-main>:is(#divination-view,#chart-view,#numerology-view,#lucky-view){width:calc(100% - 64px);max-width:1236px;margin:0 auto;padding:10px 0 20px;scroll-margin-top:18px}
.portal-main #divination-view .operation-status-note{font-size:12px;font-weight:400;line-height:1.65}
.portal-main #divination-view #offline-status{font-size:12px;font-weight:400;line-height:1.65}
#numerology-view{max-width:1050px}#numerology-view>.birthday-section{margin:24px 0;padding:28px;border-radius:16px}#numerology-view .birthday-section h2{font-size:21px}
.home-main.portal-main>.site-footer{max-width:1172px;width:calc(100% - 64px);margin:0 auto;padding-block:24px 30px}
.portal-philosophy{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;width:calc(100% - 64px);max-width:1136px;margin:12px auto 48px;padding:43px 0 46px;border-top:1px solid #d9cdd0;border-bottom:1px solid #d9cdd0}
.portal-philosophy h2{margin:15px 0 0;color:#483440;font:400 38px/1.6 'PMingLiU','Songti TC',serif;letter-spacing:1px}.portal-philosophy h2 span{color:#9c6e68}.portal-philosophy-copy{color:#74656e;font-size:15px;line-height:1.95}.portal-philosophy-copy p{margin:0}.portal-philosophy-copy p+p{margin-top:18px}
.portal-philosophy-copy strong{font-weight:700;color:#5b4551}
@media(max-width:760px){
 .site-header.home-header.portal-header{min-height:74px;padding:20px 22px;gap:14px}.portal-header .portal-brand{gap:11px}.portal-brand-name{font-size:25px}.portal-brand-cross{font-size:21px}.portal-culture-logo{width:139px}.portal-nav{gap:18px}.portal-nav a{font-size:13px}
 .portal-hero{--hero-title-size:64px;--hero-tagline-size:17px;min-height:400px}.portal-hero-content{padding:65px 30px 55px}.portal-hero-identity{gap:22px}.portal-hero h1{letter-spacing:1px}.portal-hero-art{width:130%;left:-15%;max-width:none}.portal-eyebrow{font-size:11px;letter-spacing:2px}
 .portal-services{padding:44px 24px}.portal-services-heading h2{font-size:26px}.portal-services-grid{gap:16px}.portal-service{min-height:285px;padding:24px}.portal-service h3{font-size:21px}.portal-service-number{right:22px;top:25px}.portal-service>p{font-size:14px}
 .portal-main>:is(#divination-view,#chart-view,#numerology-view,#lucky-view){width:calc(100% - 32px);padding-top:8px}.home-main.portal-main>.site-footer{width:calc(100% - 32px)}
 .portal-philosophy{width:calc(100% - 48px);gap:24px}.portal-philosophy h2{font-size:29px}.portal-philosophy-copy{font-size:14px}
}
@media(max-width:540px){
 .site-header.home-header.portal-header{padding:18px 20px;min-height:70px}.portal-header .portal-brand{gap:10px}.portal-brand-name{font-size:24px}.portal-culture-logo{width:128px}.portal-brand-cross{font-size:20px}.portal-header{flex-wrap:wrap}.portal-nav{justify-content:flex-end;gap:22px;width:100%;padding-top:8px;border-top:1px solid #fff8ef14}.portal-nav a{font-size:12px}
 .portal-hero{--hero-title-size:42px;--hero-tagline-size:13px;min-height:330px}.portal-hero-content{padding:54px 24px 44px}.portal-hero-identity{gap:16px}.portal-hero-divider{display:none}.portal-hero-wordmark{gap:10px}.portal-hero h1{letter-spacing:1px}.portal-tagline{letter-spacing:.4px}
 .portal-services{padding:39px 20px 35px}.portal-services-heading{margin-bottom:23px}.portal-services-heading h2{font-size:25px}.portal-services-grid{grid-template-columns:1fr;gap:16px}.portal-service{min-height:256px;padding:25px}.portal-service h3{font-size:23px}.portal-service>p{line-height:1.85;margin-bottom:23px}.portal-service-number{top:25px;right:24px}.portal-service-icon{margin-bottom:17px}
 #numerology-view>.birthday-section{padding:20px;margin-top:18px}
 .portal-philosophy{grid-template-columns:1fr;width:calc(100% - 40px);gap:23px;margin:10px auto 30px;padding-block:32px}.portal-philosophy h2{font-size:31px}
}
@media(max-width:360px){.site-header.home-header.portal-header{padding-inline:15px}.portal-brand-name{font-size:22px}.portal-culture-logo{width:115px}.portal-header .portal-brand{gap:8px}.portal-hero-content{padding-inline:20px}.portal-hero{--hero-title-size:36px;--hero-tagline-size:12px}.portal-hero-identity{gap:12px}.portal-hero h1{letter-spacing:.5px}.portal-service{padding:23px}.portal-service h3{font-size:21px}.portal-services-heading h2{font-size:21px;letter-spacing:.3px}}
