:root{--member-night:#09101b;--member-night-2:#101827;--member-ink:#f6f0e8;--member-cream:#efe5d7;--member-gold:#d7ad73;--member-gold-soft:#f0d2aa;--member-emerald:#097969;--member-line:rgba(239,229,215,.16);--member-muted:#9ea6b1;--member-glass:rgba(255,255,255,.055)}
*{box-sizing:border-box}
body.member-glam{margin:0;min-height:100vh;background:radial-gradient(circle at 86% 0%,rgba(9,121,105,.16),transparent 28%),radial-gradient(circle at 12% 18%,rgba(215,173,115,.13),transparent 27%),linear-gradient(180deg,var(--member-night) 0%,#0c1320 54%,#111927 100%);color:var(--member-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
body.member-glam::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.01) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black,transparent 78%)}
.member-glam .topbar{height:78px;background:rgba(9,16,27,.8);border-bottom:1px solid var(--member-line);backdrop-filter:blur(24px);padding:0 30px;position:sticky;top:0;z-index:20}
.member-glam .brand{color:var(--member-cream);font-size:32px;text-shadow:0 0 32px rgba(215,173,115,.18)}
.member-glam .demo-user{color:#8f98a7}
.member-glam .ghost{color:var(--member-cream)!important;border:1px solid rgba(239,229,215,.18);background:rgba(255,255,255,.035);transition:all .25s ease;text-decoration:none}
.member-glam .ghost:hover{border-color:rgba(215,173,115,.62);background:rgba(215,173,115,.08);transform:translateY(-1px)}
.member-main{max-width:1240px;margin:0 auto;padding:0 30px 90px}
.member-kicker{margin:0;color:var(--member-gold);font-size:13px;font-weight:800;letter-spacing:.22em;text-transform:uppercase}
.member-hero{min-height:430px;padding:86px 0 52px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.58fr);gap:54px;align-items:end;position:relative}
.member-hero::after{content:"PARI";position:absolute;right:-34px;top:22px;font:700 clamp(110px,18vw,245px)/.8 "Arial Narrow",sans-serif;letter-spacing:.08em;color:transparent;-webkit-text-stroke:1px rgba(239,229,215,.045);z-index:-1;pointer-events:none}
.member-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(60px,7.6vw,104px);font-weight:400;letter-spacing:-.055em;line-height:.9;margin:18px 0 26px;max-width:900px;text-wrap:balance}
.member-hero h1 em{font-weight:400;color:var(--member-gold-soft)}
.member-lead{font-size:20px;line-height:1.58;color:#b5bdc7;max-width:760px;margin:0}
.membership-badge-card{background:linear-gradient(150deg,rgba(255,255,255,.1),rgba(255,255,255,.03));border:1px solid rgba(215,173,115,.28);border-radius:28px;padding:30px;box-shadow:0 28px 70px rgba(0,0,0,.24);backdrop-filter:blur(14px);position:relative;overflow:hidden}
.membership-badge-card::before{content:"";position:absolute;left:0;top:0;width:100%;height:2px;background:linear-gradient(90deg,transparent,var(--member-gold),transparent)}
.membership-overline{display:block;color:#87919e;font-size:12px;letter-spacing:.2em;margin-bottom:18px}
.membership-badge-card strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:38px;font-weight:400;color:var(--member-gold-soft)}
.membership-badge-card p{color:#aab2bd;line-height:1.5;margin:11px 0 22px}
.membership-badge-card a,.member-section-head>a,.member-text-link{color:var(--member-gold-soft);text-decoration:none;font-weight:700}
.next-action{display:flex;justify-content:space-between;gap:30px;align-items:center;margin:8px 0 34px;padding:30px 32px;border:1px solid rgba(9,121,105,.42);background:linear-gradient(135deg,rgba(9,121,105,.18),rgba(255,255,255,.035));border-radius:26px;box-shadow:0 24px 65px rgba(0,0,0,.16)}
.next-action h2,.member-section-head h2,.passport-copy h2,.membership-path h2,.member-rule h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--member-cream);letter-spacing:-.035em}
.next-action h2{font-size:34px;margin:7px 0 8px}.next-action p:not(.member-kicker){margin:0;color:#aeb8c1;line-height:1.5;max-width:720px}
.member-primary,.member-secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:13px 19px;font-weight:800;white-space:nowrap;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.member-primary{background:linear-gradient(135deg,#0a8876,var(--member-emerald));color:#f7f5ed;box-shadow:0 12px 30px rgba(9,121,105,.23)}
.member-primary:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(9,121,105,.32)}
.member-secondary{border:1px solid rgba(239,229,215,.2);color:var(--member-cream);background:rgba(255,255,255,.035)}
.member-grid{display:grid;gap:16px}.member-grid--stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:72px}.member-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.member-stat,.member-panel,.city-panel,.membership-path-card{background:linear-gradient(150deg,rgba(255,255,255,.072),rgba(255,255,255,.026));border:1px solid var(--member-line);border-radius:24px;box-shadow:0 22px 62px rgba(0,0,0,.16)}
.member-stat{padding:23px;min-height:150px;position:relative;overflow:hidden}.member-stat::after{content:"";position:absolute;width:60px;height:60px;border:1px solid rgba(215,173,115,.12);border-radius:50%;right:-22px;bottom:-22px}.member-stat strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:42px;font-weight:400;color:var(--member-gold-soft);margin:16px 0 5px}.member-stat p{margin:0;color:#8f98a4;font-size:15px;line-height:1.4}
.member-section{margin:0 0 76px}.member-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.member-section-head h2{font-size:clamp(34px,4.2vw,52px);line-height:1;margin:8px 0 0}.member-panel{padding:28px;min-height:290px}.member-panel--feature{border-color:rgba(215,173,115,.28);background:linear-gradient(145deg,rgba(215,173,115,.095),rgba(255,255,255,.03))}.member-panel h3{font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:400;margin:13px 0 9px;color:var(--member-cream)}
.member-muted{color:var(--member-muted);line-height:1.55}.member-list{display:grid;gap:11px;margin-top:18px}.member-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;border-top:1px solid var(--member-line)}.member-row:first-child{border-top:0}.member-row strong{color:var(--member-cream);font-size:18px}.member-row span,.member-row small{color:#8f98a4;font-size:14px}.member-row-main{display:grid;gap:4px}.member-row-tag{border:1px solid rgba(215,173,115,.22);border-radius:999px;padding:6px 9px;color:var(--member-gold-soft)!important;white-space:nowrap}.event-title{font-family:Georgia,"Times New Roman",serif;font-size:36px;font-weight:400;color:var(--member-cream);margin:16px 0 10px}.event-meta{color:#a9b2bd;line-height:1.55}.event-status{display:inline-block;margin-top:16px;border:1px solid rgba(9,121,105,.42);background:rgba(9,121,105,.12);color:#9fe0d4;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.member-inline-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.passport-section{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.7fr);gap:18px;margin:0 0 78px;padding:38px;border:1px solid rgba(215,173,115,.2);border-radius:30px;background:linear-gradient(135deg,#15111a,#101928 58%,#0d1d21);position:relative;overflow:hidden}.passport-section::after{content:"∞";position:absolute;right:2%;bottom:-34px;font:400 210px/1 Georgia,serif;color:rgba(215,173,115,.055);pointer-events:none}.passport-copy{position:relative;z-index:1}.passport-copy h2{font-size:clamp(43px,5.4vw,68px);line-height:.95;margin:12px 0 20px}.passport-copy h2 em{font-weight:400;color:var(--member-gold-soft)}.passport-copy>p:not(.member-kicker){color:#a8b0bb;line-height:1.65;max-width:700px;margin-bottom:24px}.city-panel{padding:26px;position:relative;z-index:1;background:rgba(255,255,255,.04)}.city-list{margin-top:16px}.city-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-top:1px solid var(--member-line)}.city-row:first-child{border-top:0}.city-row strong{color:var(--member-cream)}.city-row span{font-size:14px;color:#89929f}
.membership-path{margin-bottom:72px}.membership-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.membership-path-card{padding:27px;min-height:330px;position:relative;overflow:hidden}.membership-path-card>span:first-child{font-family:Georgia,"Times New Roman",serif;font-size:55px;color:rgba(215,173,115,.22);position:absolute;right:18px;top:14px}.membership-path-card h3{font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:400;color:var(--member-cream);margin:20px 0 12px}.membership-path-card>p:not(.member-kicker){color:#98a1ad;line-height:1.6;min-height:125px}.membership-path-card>strong{display:block;color:var(--member-gold-soft);font-size:17px;margin-top:18px}.membership-path-card.current{border-color:rgba(9,121,105,.5);box-shadow:0 0 0 1px rgba(9,121,105,.12),0 24px 65px rgba(0,0,0,.18)}.membership-path-card.current::before{content:"ATTIVA";position:absolute;left:27px;bottom:24px;color:#9fe0d4;font-size:12px;font-weight:900;letter-spacing:.16em}.membership-path-card.current>strong{margin-bottom:28px}
.member-rule{padding:38px;border-top:1px solid rgba(215,173,115,.2);border-bottom:1px solid rgba(215,173,115,.2);text-align:center}.member-rule h2{font-size:clamp(38px,5vw,62px);margin:11px auto 16px;max-width:850px}.member-rule>p:not(.member-kicker){max-width:780px;margin:0 auto;color:#a5aeb8;line-height:1.65}
@media(max-width:960px){.member-hero{grid-template-columns:1fr;gap:28px}.membership-badge-card{max-width:560px}.member-grid--stats{grid-template-columns:repeat(2,1fr)}.passport-section{grid-template-columns:1fr}.membership-path-grid{grid-template-columns:1fr}.membership-path-card>p:not(.member-kicker){min-height:auto}}
@media(max-width:720px){.member-glam .topbar{height:auto;min-height:70px;padding:10px 16px;align-items:flex-start}.member-glam .top-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}.member-glam .ghost{padding:8px 10px;font-size:13px}.member-main{padding:0 17px 58px}.member-hero{padding:64px 0 38px;min-height:auto}.member-hero h1{font-size:clamp(52px,15vw,78px)}.member-lead{font-size:18px}.next-action{align-items:flex-start;flex-direction:column;padding:25px}.member-primary{width:100%}.member-grid--two{grid-template-columns:1fr}.member-section-head{align-items:flex-start;flex-direction:column}.passport-section{padding:27px 22px}.member-grid--stats{grid-template-columns:1fr 1fr}.member-stat{min-height:140px}.member-stat strong{font-size:36px}.member-row{align-items:flex-start}.member-row-tag{white-space:normal;text-align:right}.member-rule{padding:34px 8px}}
@media(max-width:440px){.member-grid--stats{grid-template-columns:1fr}.member-stat{min-height:125px}}

/* PARI Discovery · AI editorial */
.member-discovery{position:relative;padding:42px 0 8px}.member-discovery::before{content:"";position:absolute;left:50%;top:0;width:100vw;height:100%;transform:translateX(-50%);z-index:-1;background:radial-gradient(circle at 12% 22%,rgba(215,173,115,.1),transparent 30%),radial-gradient(circle at 82% 72%,rgba(9,121,105,.1),transparent 32%);border-top:1px solid rgba(215,173,115,.1);border-bottom:1px solid rgba(215,173,115,.08)}
.discovery-head{align-items:flex-start;max-width:940px;margin-bottom:30px}.discovery-head h2{font-size:clamp(44px,5.7vw,72px);line-height:.94;margin-top:12px}.discovery-head h2 em{font-weight:400;color:var(--member-gold-soft)}.discovery-deck{max-width:820px;margin:18px 0 0;color:#aeb6c0;font-size:18px;line-height:1.65}
.discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.discovery-card{min-height:500px;padding:30px 28px 26px;border-radius:28px;border:1px solid rgba(215,173,115,.24);background:linear-gradient(155deg,rgba(23,24,31,.94),rgba(15,25,35,.91) 54%,rgba(9,36,37,.86));box-shadow:0 28px 80px rgba(0,0,0,.24);position:relative;overflow:hidden;display:flex;flex-direction:column}.discovery-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.055),transparent 32%),radial-gradient(circle at 100% 0%,rgba(215,173,115,.12),transparent 30%)}.discovery-card::after{content:"";position:absolute;left:28px;right:28px;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--member-gold),transparent);opacity:.7}.discovery-card>*{position:relative;z-index:1}
.discovery-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.discovery-card h3{font-family:Georgia,"Times New Roman",serif;font-size:36px;line-height:1.02;font-weight:400;color:var(--member-cream);margin:14px 0 8px;letter-spacing:-.035em}.discovery-identity{margin:0;color:#8f99a5;font-size:15px;line-height:1.5}.discovery-number{font-family:Georgia,"Times New Roman",serif;font-size:48px;line-height:1;color:rgba(240,210,170,.18);letter-spacing:-.05em}
.discovery-story{font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.68;color:#e7ded2;margin:28px 0 24px;letter-spacing:-.01em;flex:1}.discovery-story::first-letter{font-size:1.34em;color:var(--member-gold-soft)}
.discovery-signals{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}.discovery-signals span{border:1px solid rgba(215,173,115,.18);background:rgba(215,173,115,.055);border-radius:999px;padding:7px 10px;color:#c5b7a4;font-size:12px;font-weight:700;letter-spacing:.045em}.discovery-fiction{margin:18px 0 0;padding-top:16px;border-top:1px solid rgba(239,229,215,.1);color:#707a87;font-size:12px;line-height:1.45;text-transform:uppercase;letter-spacing:.11em}.discovery-note{max-width:850px;margin:20px auto 0;text-align:center;color:#727d89;font-size:13px;line-height:1.55;letter-spacing:.035em}.discovery-card--loading,.discovery-card--empty{grid-column:1/-1;min-height:250px;justify-content:center;max-width:none}.discovery-card--loading h3,.discovery-card--empty h3{font-size:clamp(30px,4vw,44px);max-width:760px}.discovery-card--loading>p:last-child,.discovery-card--empty>p:last-child{color:#9aa4af;line-height:1.6;max-width:760px}
.discovery-grid[aria-busy="true"] .discovery-card--loading::before{animation:pariDiscoveryGlow 2.2s ease-in-out infinite}@keyframes pariDiscoveryGlow{0%,100%{opacity:.5}50%{opacity:1}}
@media(max-width:1040px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-card:last-child:nth-child(odd){grid-column:1/-1;min-height:430px}}
@media(max-width:720px){.member-discovery{padding-top:30px}.discovery-deck{font-size:17px}.discovery-grid{grid-template-columns:1fr}.discovery-card,.discovery-card:last-child:nth-child(odd){grid-column:auto;min-height:auto;padding:25px 22px}.discovery-card h3{font-size:34px}.discovery-story{font-size:19px;line-height:1.62}.discovery-number{font-size:40px}.discovery-note{text-align:left}}


/* PARI member RBAC surfaces — server entitlements remain authoritative. */
.member-signout{margin-top:14px;padding:0;border:0;background:transparent;color:#ff6aa5;font:700 14px/1.2 Inter,system-ui,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.club-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.club-feature-card{position:relative;min-height:190px;padding:24px;border:1px solid var(--member-line);border-radius:22px;background:linear-gradient(150deg,rgba(255,255,255,.07),rgba(255,255,255,.025))}
.club-feature-card h3{margin:28px 0 9px;color:var(--member-cream);font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:400}
.club-feature-card p{margin:0;color:#99a2ae;line-height:1.55}
.club-feature-state{position:absolute;top:18px;right:18px;color:#ff6aa5;font-size:11px;font-weight:900;letter-spacing:.14em}
.club-feature-card.is-active{border-color:rgba(217,20,98,.48);box-shadow:0 0 0 1px rgba(217,20,98,.08)}
.club-feature-card.is-locked{opacity:.62}
.passport-section.is-locked .city-panel{filter:saturate(.45);opacity:.7}
@media(max-width:960px){.club-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.club-feature-grid{grid-template-columns:1fr}}
