/* 快樂世代同學會 v8.0 視覺層｜完整沿用 v6.4 功能與資料核心 */
:root{
  --navy:#17304e;
  --gold:#c99b4b;
  --cream:#f3e6c9;
  --paper:#f7f2e9;
  --ink:#17304e;
  --muted:#53657a;
  --line:#e7dfd3;
  --shadow:0 18px 50px rgba(30,42,55,.10);
}
html{background:#ece7de}
body{max-width:760px;min-height:100vh;margin:0 auto;background:linear-gradient(180deg,#fbf8f2 0%,#f5efe5 100%);font-size:17px;line-height:1.55;box-shadow:0 0 60px rgba(24,42,59,.08)}
header{height:72px;padding:10px 18px;background:rgba(251,248,242,.94);border-color:rgba(231,223,211,.82)}
.brand{gap:10px;min-width:0}.brand>b{width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:var(--navy);color:#fff!important;display:grid;place-items:center;font:900 18px/1 system-ui;font-style:normal}.brand>b span{color:#fff}.brand>div{min-width:0}.brand strong{font-family:inherit;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{font-size:11px;letter-spacing:0;display:block!important}.brand .hg63Version{font-size:10px;color:#7b8794}
.userBtn{min-height:42px;max-width:120px!important;border:0!important;background:#fff!important;box-shadow:0 4px 15px rgba(0,0,0,.06);color:var(--navy)!important}.userBtn.logged{background:var(--navy)!important;color:#fff!important}
main{max-width:760px;padding-bottom:118px}.block{padding:24px 18px}.block.top{padding-top:26px}.block h1,.block h2,.weekly h2,.profile h2,.sheet h2,.event h3,.lifeItem h3,.entryTop h3,.publicCard h3,.creativeBody h3{font-family:inherit;letter-spacing:-.3px}
.hg63Today{margin:18px 16px 8px;padding:24px;border:0;border-radius:30px;background:linear-gradient(135deg,var(--navy) 0%,#274c73 100%);color:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}.hg63Today:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-70px;top:-80px;background:rgba(255,255,255,.08);pointer-events:none}.hg63Today .hg63Eyebrow,.hg63Today h1,.hg63Today .hg63Lead{color:#fff}.hg63Today .hg63Eyebrow{opacity:.72;letter-spacing:.04em}.hg63Today h1{font-family:inherit;font-size:30px;letter-spacing:-1px}.hg63Today .hg63Lead{opacity:.88}.hg63TodayGrid{position:relative;z-index:1;grid-template-columns:1fr;gap:10px}.hg63FocusCard,.hg63FocusCard.hg63Primary{min-height:auto;border:1px solid rgba(255,255,255,.17);border-radius:19px;background:rgba(255,255,255,.10);color:#fff;box-shadow:none}.hg63FocusCard h2,.hg63FocusCard.hg63Primary h2{color:#fff}.hg63FocusCard p,.hg63FocusCard.hg63Primary p{color:rgba(255,255,255,.76)}.hg63FocusCard button,.hg63FocusCard:not(.hg63Primary) button{background:#fff;color:var(--navy)}
.block,.profile,.accountBox,.weekly,.hg63PageHead,.publicModuleList,.entryTimeline,.lifeTimeline{max-width:100%}.block:not(.top){margin:12px 16px;padding:18px;background:#fffdf8;border:1px solid var(--line);border-radius:26px}.block.top{margin:0 16px 12px;border-radius:0 0 26px 26px}.myLifeHomeBlock,.myLifeGateway{background:#fffdf8!important}.weekly{margin:12px 16px;border-radius:24px;background:var(--navy)}
.myLifeMiniGrid,.myLifeMainGrid,.toolGrid,.life8Grid,.actionHubGrid,.hg63LifeGrid{gap:10px}.myLifeMiniGrid button,.myLifeMainGrid button,.toolGrid button,.life8Grid button,.actionHubGrid button,.hg63LifeGrid button,.hg64PowerCard,.cat{border-color:var(--line);border-radius:20px;box-shadow:0 8px 24px rgba(30,42,55,.045)}
.myLifeMiniGrid button,.myLifeMainGrid button,.toolGrid button,.life8Grid button,.actionHubGrid button,.hg63LifeGrid button{background:#fff}.myLifeMiniGrid i,.myLifeMainGrid i,.toolGrid i,.life8Grid i,.actionHubGrid i,.hg63LifeGrid i{color:var(--gold)}
.myLifeHero{background:linear-gradient(135deg,var(--navy),#274c73)!important;border:0!important;box-shadow:var(--shadow)}
.primary,.primaryMiniLink,.publicActions button.primaryMini,.accountBox button{background:var(--navy);border-color:var(--navy);color:#fff}.outlineDark{border-color:var(--line);border-radius:16px;color:var(--navy)}
.feed,.events,.publicModuleList,.entryTimeline{padding-left:16px;padding-right:16px}.post,.event,.publicCard,.entryCard,.lifeItem,.creativeShowcaseCard,.profile,.accountBox{border-color:var(--line);border-radius:22px;box-shadow:0 8px 24px rgba(30,42,55,.045)}
nav{width:min(760px,100%);grid-template-columns:1fr 1fr 70px 1fr 1fr;padding:8px 10px max(12px,env(safe-area-inset-bottom));background:rgba(255,253,248,.96);border-color:var(--line)}nav button{color:#728093}nav button.active{color:var(--navy)}nav .plus{width:58px;height:58px;border:0;border-radius:20px;background:var(--navy);color:#fff;transform:translateY(-12px);box-shadow:0 10px 25px rgba(23,48,78,.3)}
.modal{background:rgba(16,27,40,.42);backdrop-filter:blur(3px);padding:0}.sheet{width:min(760px,100%);border-radius:30px 30px 0 0;padding:22px 18px max(26px,env(safe-area-inset-bottom));background:#fffdf8}.modal:has(.login){place-items:center;padding:18px}.sheet.login{width:min(520px,100%);border-radius:28px}.mhead button{background:#fff;box-shadow:0 4px 15px rgba(0,0,0,.06)}.field input,.field textarea,.field select{border-color:#d8d0c4;border-radius:16px;padding:13px 14px}.authTabs{background:#f3eee6}.authNotice{background:#fff5d9;border-color:#ead6a9}
.deployProof{position:fixed;top:0;right:max(0px,calc((100vw - 760px)/2));z-index:99999;background:#111;color:#fff;padding:5px 8px;border-bottom-left-radius:8px;font:700 11px/1.2 system-ui,-apple-system,sans-serif}
@media(max-width:560px){body{font-size:16px}.brand strong{font-size:17px}.brand small{font-size:10px}.hg63Today{padding:22px 18px}.hg63Today h1{font-size:28px}.block:not(.top){margin-left:12px;margin-right:12px}.block.top{margin-left:12px;margin-right:12px}.weekly{margin-left:12px;margin-right:12px}.myLifeMiniGrid,.myLifeMainGrid,.toolGrid,.life8Grid,.actionHubGrid,.hg63LifeGrid{grid-template-columns:1fr}.myLifeMiniGrid button{min-height:82px}.deployProof{right:0}.userBtn{font-size:13px;min-width:82px;padding:8px 10px!important}}
