/* Native Today/My dashboard: one parent DOM, one scroll container, no iframe. */
#pg-today .today-bg.gs-native-today,
#pg-me .me-page-bg.gs-native-me{min-height:100dvh;padding-bottom:calc(104px + env(safe-area-inset-bottom));overflow:visible;background:radial-gradient(ellipse at 88% 10%,#f9e9f3 0,transparent 32%),radial-gradient(ellipse at 8% 48%,#e4d8f5 0,transparent 44%),linear-gradient(155deg,#f7effb,#e9e0f3 72%,#f2e6f8)}
#pg-today .today-bg.gs-native-today:before,#pg-me .me-page-bg.gs-native-me:before{display:none}
.gs-native-shell{width:100%;max-width:760px;margin:0 auto;color:#34244b;font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif}
.gs-native-hero{min-height:126px;padding:12px 24px 14px;background:linear-gradient(180deg,#f9f2fb44,#efe2f355),url('/newui/assets/moon-hero.png') center/cover no-repeat}
.gs-native-brand{display:flex;align-items:flex-start;justify-content:space-between}.gs-native-brand img{width:108px;height:108px;object-fit:contain}.gs-native-brand button{width:44px;height:44px;border:0;border-radius:50%;background:#fff9;color:#5f4976;font-size:24px}
.gs-native-greeting{margin:10px 4px 0;font-family:'Noto Serif TC','PMingLiU',serif}.gs-native-greeting p{margin:0;font-size:clamp(21px,3.4vw,27px);font-weight:700;line-height:1.35;letter-spacing:.03em}.gs-native-greeting h1{margin:6px 0 0;font-size:27px;line-height:1.45;letter-spacing:.04em}
.gs-native-content{padding:14px 16px 0}.gs-native-panel{position:relative;margin:0 0 14px;padding:19px;border:1px solid #ead6c7;border-radius:24px;background:#fffdfbe8;box-shadow:0 8px 25px #72528e12,inset 0 0 0 4px #ffffff7a}
.gs-native-date{margin:0 0 7px;color:#846d95;font:italic 14px 'Noto Serif TC','PMingLiU',serif;letter-spacing:.1em}.gs-native-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.gs-native-heading h2{margin:0;font:700 25px 'Noto Serif TC','PMingLiU',serif;letter-spacing:.13em}.gs-native-detail{border:1px solid #dac9e4;border-radius:999px;background:#fffafd;color:#6d5683;padding:8px 12px;font-weight:700;font-size:12px;white-space:nowrap}
.gs-native-yiji{display:grid;grid-template-columns:1.08fr 1fr;gap:10px}.gs-native-yj{padding:13px 11px;border-left:3px solid #bd8b46;border-radius:15px;background:#fff}.gs-native-yj.avoid{border-left-color:#e66d83;background:#fffafd}.gs-native-yj h3{margin:0 0 8px;color:#b68645;font-size:18px}.gs-native-yj.avoid h3{color:#d66b7e}.gs-native-yj ul{list-style:none;margin:0;padding:0}.gs-native-yj li{display:grid;grid-template-columns:auto 1fr;gap:5px;margin:6px 0;font-size:15px;font-weight:700;line-height:1.5}.gs-native-yj li:before{content:'•';color:#c7985a}.gs-native-yj.avoid li:before{color:#df7486}
.gs-native-lucky{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;border-top:1px dashed #dfd0e7;margin-top:14px;padding-top:12px;color:#665078;font-size:15px;line-height:1.55}.gs-native-swatch{display:inline-block;width:27px;height:27px;margin-left:7px;border:2px solid #fff;border-radius:50%;vertical-align:middle;box-shadow:0 2px 7px #80682f2b}
.gs-native-quote{padding-left:31px;background:linear-gradient(112deg,#fff8e9,#f7eae6)}.gs-native-quote:before{content:'';position:absolute;left:17px;top:22px;bottom:22px;width:3px;border-radius:3px;background:linear-gradient(#dfbd89,#ad8447)}.gs-native-quote h2{margin:0 0 4px;font:700 20px 'Noto Serif TC','PMingLiU',serif}.gs-native-quote small{color:#9b7d59}.gs-native-quote p{margin:8px 0 0;font:600 18px/1.7 'Noto Serif TC','PMingLiU',serif}
.gs-native-four{min-height:205px;overflow:hidden;padding:23px;background:#f5eafa}.gs-native-four img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gs-native-four:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff8fbea 0,#fff7f7c9 56%,transparent 78%)}.gs-native-four-copy{position:relative;z-index:1;width:75%}.gs-native-four h2{margin:0;font:700 28px 'Noto Serif TC','PMingLiU',serif}.gs-native-four h2:before{content:'✦';margin-right:8px;color:#cea176;font-size:.72em}.gs-native-four p{margin:8px 0;color:#614978;font-family:'Noto Serif TC','PMingLiU',serif}.gs-native-four-systems{font-size:16px;font-weight:800;line-height:1.5}.gs-native-four-desc{font-size:13px;font-weight:600;line-height:1.5;white-space:nowrap}.gs-native-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:49px;margin-top:12px;border:0;border-radius:999px;background:linear-gradient(150deg,#b794d5,#8063a8 48%,#604d80);box-shadow:inset 0 2px 2px #ffffff8c,0 5px 14px #72559022;color:#fff;font-size:17px;font-weight:700}
.gs-native-almanac header{display:flex;align-items:center;gap:10px}.gs-native-almanac header>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f8e9b8;color:#a37a35}.gs-native-almanac h2{margin:0;font:700 23px 'Noto Serif TC','PMingLiU',serif}.gs-native-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:14px}.gs-native-facts span{min-width:0;padding:12px 5px;border-radius:14px;background:#fff;text-align:center}.gs-native-facts small,.gs-native-facts b{display:block}.gs-native-facts small{color:#806d90;font-size:11px}.gs-native-facts b{margin-top:5px;font:700 15px 'Noto Serif TC','PMingLiU',serif;overflow-wrap:anywhere}.gs-native-chong{display:flex;gap:8px;margin-top:10px}.gs-native-chong span{flex:1;padding:8px 10px;border:1px solid #e0d3e8;border-radius:11px;background:#fffaff;font-size:12px}.gs-native-chong b{float:right}
.gs-native-knowledge{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px}.gs-native-knowledge img{width:50px;height:50px;object-fit:contain}.gs-native-knowledge h2{margin:0;font:700 20px 'Noto Serif TC','PMingLiU',serif}.gs-native-knowledge h2 small{font-size:10px;color:#9482a1}.gs-native-knowledge p{margin:3px 0 0;color:#735e82;font-size:13px;font-weight:600}.gs-native-knowledge button{border:0;background:none;color:#775a91;font-weight:700;white-space:nowrap}
#pg-me .gs-native-me>.gs-my{min-height:0;padding-bottom:12px;background:transparent}.gs-native-me .my-nav{display:none!important}
.gs-native-me .my-actions>button{min-height:72px;padding:10px 12px;gap:8px;border-radius:18px}.gs-native-me .my-actions .my-orb{width:36px;height:36px;padding:8px}.gs-native-me .my-actions small{white-space:nowrap;line-height:1.35}.gs-native-me .my-energy-share{min-height:72px!important;padding:10px 18px!important;gap:14px!important;border-radius:20px!important}.gs-native-me .my-energy-share>.my-orb{width:48px;height:48px;padding:12px}.gs-native-me .my-energy-share b,.gs-native-me .my-energy-share small{white-space:nowrap}
.app>.pg>.botnav{position:fixed!important;bottom:0!important;left:0!important;right:0!important;width:min(100%,760px)!important;max-width:760px!important;margin:0 auto!important;transform:none!important;z-index:900!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important;box-shadow:0 -8px 26px #5f47751b}
@media(max-width:430px){.gs-native-hero{min-height:118px;padding:8px 16px 12px}.gs-native-brand img{width:94px;height:94px}.gs-native-greeting{margin-top:1px}.gs-native-content{padding:12px 10px 0}.gs-native-panel{padding:15px;border-radius:20px}.gs-native-quote{padding-left:35px}.gs-native-yj{padding:11px 7px}.gs-native-yj li{font-size:15px}.gs-native-four-copy{width:75%}.gs-native-four{min-height:190px}.gs-native-four h2{font-size:25px}.gs-native-four-systems{font-size:15px}.gs-native-four-desc{font-size:12px}.gs-native-facts b{font-size:14px}.gs-native-knowledge{grid-template-columns:auto 1fr}.gs-native-knowledge button{grid-column:2;justify-self:end}.gs-native-lucky{font-size:15px}.gs-native-me .my-actions>button{padding:9px 8px;gap:6px}.gs-native-me .my-actions .my-orb{width:31px;height:31px;padding:7px}.gs-native-me .my-actions small{font-size:11px!important}.gs-native-me .my-energy-share{padding:9px 12px!important;gap:10px!important}.gs-native-me .my-energy-share>.my-orb{width:40px;height:40px;padding:10px}.gs-native-me .my-energy-share b{font-size:13px}.gs-native-me .my-energy-share small{font-size:10px}}
@media(min-width:700px){.gs-native-me .my-actions>button{min-height:76px;padding:10px 14px;gap:10px;border-radius:20px}.gs-native-me .my-actions .my-orb{width:38px;height:38px;padding:9px}.gs-native-me .my-actions b{font-size:16px!important}.gs-native-me .my-actions small{font-size:13px!important}.gs-native-me .my-actions>button>span:last-child{font-size:18px;margin-left:3px}.gs-native-me .my-energy-share{min-height:86px!important;padding:10px 24px!important;gap:18px!important}.gs-native-me .my-energy-share>.my-orb{width:58px;height:58px;padding:14px}.gs-native-me .my-energy-share b{font-size:17px}.gs-native-me .my-energy-share small{font-size:13px}}
@media(max-width:360px){.gs-native-yiji{grid-template-columns:1fr}.gs-native-facts{grid-template-columns:repeat(2,1fr)}.gs-native-four-copy{width:72%}}

/* Desktop My page: keep the content shell aligned with the existing 760px nav.
   Mobile remains on the global 430px app shell. */
@media(min-width:700px){.app:has(> #pg-me.on){max-width:760px}}

.gs-status-card{position:fixed;z-index:10020;left:50%;bottom:88px;transform:translateX(-50%);width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:18px 20px;border:1px solid rgba(137,105,170,.25);border-radius:22px;background:#fffaf8;box-shadow:0 14px 40px rgba(72,43,96,.2);color:#493455;text-align:center}.gs-status-card strong{display:block;font-size:18px;margin-bottom:8px}.gs-status-card p{margin:0 0 14px;line-height:1.65;color:#776585}.gs-status-card button,.gs-almanac-retry{border:0;border-radius:999px;padding:10px 18px;background:linear-gradient(135deg,#9d7ac6,#674d91);color:#fff;font:inherit;cursor:pointer}.gs-status-card button:disabled,.gs-almanac-retry:disabled{opacity:.55;cursor:wait}.gs-almanac-error{text-align:center;padding:24px 18px}.gs-almanac-error h2{margin:0 0 10px}.gs-almanac-error p{margin:0 0 16px;color:#776585;line-height:1.65}
