/* AstroReveal 0.53.0 — public/account UX cleanup */
:root{--ar53-card:#0e142c;--ar53-line:rgba(145,161,235,.18)}
.btn.primary,.mini-btn.primary{color:#07101a!important}
.btn.primary:hover,.btn.primary:focus-visible,.mini-btn.primary:hover,.mini-btn.primary:focus-visible{color:#07101a!important;filter:brightness(1.06);transform:translateY(-1px)}
.btn.secondary:hover,.mini-btn:hover{color:#fff}

/* Tarot: real hero image everywhere, including logged-out landing/home */
.tarot35-hero-art{position:relative;min-height:250px!important;border:1px solid var(--ar53-line);border-radius:24px;overflow:hidden;background:linear-gradient(180deg,rgba(10,14,35,.08),rgba(10,14,35,.16)),url('/assets/tarot-hero-0.48.5.webp') center/cover no-repeat!important}
.tarot35-hero-art .tarot35-card-stack{display:none!important}
.home48-tarot-art{min-height:230px!important;background:linear-gradient(180deg,rgba(8,12,29,.05),rgba(8,12,29,.16)),url('/assets/tarot-hero-0.48.5.webp') center/cover no-repeat!important;border-radius:24px;overflow:hidden}
.home48-tarot-art>i,.home48-tarot-art>.spark{display:none!important}

/* Tarot spread diagrams: enough room + no clipping */
.tarot32-layout-wrap{overflow:visible!important}
.tarot32-layout{position:relative!important;overflow:visible!important;min-height:230px!important;height:230px!important;margin-top:10px}
.tarot32-layout[data-spread="one"],.tarot32-layout[data-spread="three"]{height:240px!important}
.tarot32-layout[data-spread="five"]{height:430px!important}
.tarot32-layout[data-spread="relationship"]{height:510px!important}
.tarot32-layout[data-spread="choice"]{height:520px!important}
.tarot32-layout[data-spread="celtic"]{height:570px!important}
.tarot32-cardpos{width:88px!important;height:126px!important;min-height:126px!important;box-sizing:border-box!important}
.tarot32-cardpos.celtic-cross{width:88px!important;height:126px!important;min-height:126px!important}
.tarot32-cardpos small{max-width:100%;overflow-wrap:anywhere}
.tarot32-cardpos.cross .tarot39-card-content{width:112px!important;height:78px!important}

/* Home nested-text bug: only top-level rows are grids */
.home20-data-list>div{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:11px!important;align-items:start!important;padding:12px!important}
.home20-data-list>div>div{display:block!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-width:0!important}
.home20-data-list>div>div strong,.home20-data-list>div>div span{display:block!important}
.home53-tarot-note{margin-top:12px;color:#c7cce0!important;font-size:14px!important;line-height:1.65!important}
.home53-tarot-note strong{color:#fff}

/* Dashboard / profile management */
.account22-dashboard .dash18-people-grid.no-self{grid-template-columns:1fr!important}
.dash53-empty-profile{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;gap:26px!important;align-items:center!important;min-height:230px!important;padding:34px!important;border:1px solid rgba(130,154,255,.22)!important;border-radius:26px!important;background:radial-gradient(circle at 10% 50%,rgba(118,91,255,.20),transparent 18rem),linear-gradient(135deg,#111838,#090f23)!important;text-align:left!important}
.dash53-empty-profile .dash53-empty-symbol{width:104px;height:104px;border-radius:30px;display:grid;place-items:center;font-size:44px;background:linear-gradient(145deg,rgba(161,116,255,.35),rgba(84,214,255,.22));border:1px solid rgba(181,164,255,.28);box-shadow:0 20px 55px rgba(79,112,255,.16)}
.dash53-empty-profile h3{font-size:30px;margin:6px 0 10px}.dash53-empty-profile p{color:var(--muted);max-width:670px;margin:0 0 18px}
.dash53-person-tools{display:flex;gap:7px;flex-wrap:wrap;grid-column:1/-1}.dash53-person-tools form{margin:0}.dash53-person-tools .danger{color:#ffbcc6!important;border-color:rgba(255,102,127,.28)!important}
.dash53-manage-link{white-space:nowrap}
.dash53-reports .dash17-report-list strong{text-transform:none}
.dash53-reports .dash17-report-list span{white-space:nowrap}
.dash39-actions{display:none!important}
.dash53-email-settings{display:flex;justify-content:center;margin:24px 0 4px}.dash53-email-settings .mini-btn{padding:10px 14px;text-decoration:none}

/* Ask page: no redundant plan/Premium/credit box */
.ask16-side .ar44-plan-status,.ask16-side>.ar16-credit{display:none!important}

/* People management */
.people16-card-actions .danger{color:#ffb9c4!important;border-color:rgba(255,100,124,.32)!important}
.people16-side .plan-card{display:none!important}
.people16-layout{grid-template-columns:minmax(0,1fr)!important}
.people16-side{position:static!important;display:block!important}
.people16-side .side-nav{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:16px}
.people16-side .side-nav a{display:inline-flex!important}

/* Public About */
.info53-about-ai{margin:30px 0 8px;padding:26px;border:1px solid rgba(132,150,230,.22);border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(91,137,255,.15),transparent 18rem),linear-gradient(145deg,rgba(20,27,58,.85),rgba(9,13,29,.95))}
.info53-about-ai h2{margin:0 0 12px!important;font-size:30px!important}.info53-about-ai p{color:#c8cedd!important;line-height:1.75}.info53-about-ai ul{margin:16px 0 0;padding-left:20px;color:#c8cedd}.info53-about-ai li{margin:7px 0}

/* Unified public footer */
.ar53-footer{border-top:1px solid rgba(145,161,235,.14);margin-top:70px;padding:42px 0 60px;color:var(--muted);background:rgba(4,7,16,.34)}
.ar53-footer .wrap{display:grid;gap:18px}.ar53-footer-top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;flex-wrap:wrap}.ar53-footer .brand{color:#fff}.ar53-footer nav{display:flex;gap:14px 18px;flex-wrap:wrap;max-width:850px}.ar53-footer nav a{font-size:13px;color:#c2c8d9;text-decoration:none}.ar53-footer nav a:hover{color:#fff}.ar53-social{display:flex;gap:8px;flex-wrap:wrap}.ar53-social a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(145,161,235,.18);border-radius:999px;text-decoration:none;color:#cdd3e3;font-size:12px}.ar53-social a:hover{border-color:rgba(112,219,255,.35);color:#fff}.ar53-footer .fine{margin:0;max-width:900px;line-height:1.6}.seo-footer{display:none!important}

/* SEO article cleanup */
.seo16-hero-image figcaption{display:none!important}.seo-guide-meta{display:none!important}.seo-guide-eyebrow{gap:8px}.seo-guide-pill{cursor:default}.seo-guide-eyebrow a.seo-guide-pill{text-decoration:none}.seo-guide-eyebrow a.seo-guide-pill:hover{border-color:rgba(112,219,255,.42);color:#fff}
.seo16-card>span,.seo17-guide-card>span{font-size:11px!important}

/* I Ching explainer */
.oracle53-explainer{margin-top:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.oracle53-explainer article{border:1px solid var(--ar53-line);border-radius:18px;padding:17px;background:rgba(255,255,255,.03)}.oracle53-explainer b{display:block;color:var(--cyan);font-size:16px;margin-bottom:7px}.oracle53-explainer p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.oracle53-formula{margin-top:18px;padding:18px 20px;border:1px solid rgba(112,219,255,.20);border-radius:18px;background:rgba(64,101,151,.08);color:#dbe7f4}.oracle53-formula strong{color:#fff}.oracle28-hero .chips{display:none!important}

@media(max-width:900px){
 .tarot32-layout[data-spread="five"]{height:390px!important}.tarot32-layout[data-spread="relationship"]{height:470px!important}.tarot32-layout[data-spread="choice"]{height:480px!important}.tarot32-layout[data-spread="celtic"]{height:520px!important}
 .tarot32-cardpos{width:76px!important;height:108px!important;min-height:108px!important}.tarot32-cardpos.celtic-cross{width:76px!important;height:108px!important;min-height:108px!important}
 .oracle53-explainer{grid-template-columns:1fr 1fr}
 .ar53-footer-top{display:grid;grid-template-columns:1fr}
}
@media(max-width:620px){
 .tarot32-layout{transform:none!important;margin-left:-6px;margin-right:-6px}.tarot32-layout[data-spread="one"],.tarot32-layout[data-spread="three"]{height:210px!important}.tarot32-layout[data-spread="five"]{height:360px!important}.tarot32-layout[data-spread="relationship"]{height:430px!important}.tarot32-layout[data-spread="choice"]{height:440px!important}.tarot32-layout[data-spread="celtic"]{height:490px!important}
 .tarot32-cardpos{width:64px!important;height:92px!important;min-height:92px!important;padding:5px!important}.tarot32-cardpos.celtic-cross{width:64px!important;height:92px!important;min-height:92px!important}.tarot32-cardpos b{font-size:15px!important}.tarot32-cardpos small{font-size:7px!important}.tarot32-cardpos .tarot39-card-content span{font-size:8px!important}.tarot32-cardpos.cross .tarot39-card-content{width:82px!important;height:56px!important}
 .dash53-empty-profile{grid-template-columns:1fr!important;text-align:center!important;padding:26px 20px!important}.dash53-empty-profile .dash53-empty-symbol{margin:auto}.dash53-empty-profile p{margin-left:auto;margin-right:auto}.dash53-empty-profile .btn{width:100%;text-align:center}
 .account22-dashboard .dash18-others{grid-template-columns:1fr!important}
 .home48-tarot-art{min-height:190px!important}
 .oracle53-explainer{grid-template-columns:1fr}
 .ar53-footer{padding:34px 0 48px}.ar53-footer nav{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.ar53-social{display:grid;grid-template-columns:1fr 1fr}.ar53-social a{justify-content:center}
}
