/* Cosmic palette applies to the shared shell; existing content panels retain contrast. */
body{background-color:#10051f;background-image:linear-gradient(#10051f66,#10051f99),url('/assets/astramoon-home-header.webp');background-size:cover;background-position:center top;background-attachment:fixed;color:#f9f0ff}#am-scroll-shell>header.am-cosmic-header{position:relative;background:linear-gradient(90deg,#240c3c55,#30094233),url('/assets/astramoon-home-header.webp') center/cover;border:0;border-bottom:1px solid #b883be77;border-radius:0 0 34px 34px;min-height:145px;display:flex;justify-content:space-between;gap:12px;padding:20px max(24px,calc((100% - 1080px)/2));backdrop-filter:none;overflow:hidden}.am-cosmic-header .header-menu{display:none!important}.am-cosmic-header .brand{display:flex;gap:9px;align-items:center;min-width:0}.am-cosmic-header .am-brand-orb{display:grid;place-items:center;flex-shrink:0;width:108px;height:108px;border-radius:50%;border:1px solid #e6b87c;background:url('/assets/astramoon-launch-background.webp') 50% 40%/210%;box-shadow:0 0 14px #d890dc,0 0 4px #ffe2b5,inset 0 0 20px #eab4ee;color:#ffe7ac;font:42px Georgia;text-shadow:0 0 12px #ffcf79}.am-cosmic-header .am-wordmark{display:block;font:clamp(32px,5.8vw,68px)/1 Georgia,serif;letter-spacing:-2px;color:#ffe8c2;text-shadow:0 2px 5px #613046,0 0 12px #e4ac6466}.am-wordmark i{font-size:1.23em;font-weight:400;letter-spacing:-5px}.am-cosmic-header .brand small{display:block;margin-top:12px;color:#e5cf9b;font:10px system-ui;letter-spacing:3px}.am-header-actions{display:flex;gap:15px;align-self:flex-start;align-items:center;flex-shrink:0}.am-header-actions button{background:none;color:#f5d5a4;padding:0;min-width:44px;min-height:44px}.am-header-actions .am-news{font-size:35px;line-height:1}.am-header-profile{display:grid;place-items:center;width:54px;height:54px;border:2px solid #e3bc80;border-radius:50%;overflow:hidden;background:#41244f!important;font-size:23px}.am-header-profile img{width:100%;height:100%;object-fit:cover}.am-cosmic-home main{max-width:1080px;padding:20px 24px 90px}.am-home-greeting{display:block;margin:0 0 23px}.am-home-greeting .account-actions{display:none}.am-home-greeting h1{font:600 clamp(25px,4vw,39px)/1.2 Georgia,serif;margin:0;color:#fff4e5}.am-home-greeting h1:after{content:' ✦';color:#edc18c;text-shadow:0 0 12px #ffd497}.am-day-wish{font:600 clamp(9px,1.5vw,14px)/1.5 system-ui;letter-spacing:3px;margin:10px 0 0;color:#e2c38e}.am-cosmic-home .lunar-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:25px 0}.am-cosmic-home .lunar-controls button,.am-cosmic-home .lunar-controls input{min-height:48px;background:linear-gradient(#3d1e5599,#1b0b2bf0);border:1px solid #ad6ab66b;box-shadow:inset 0 1px 8px #c78cb71c;border-radius:28px;color:#f2dff7;padding:10px 16px}.am-cosmic-home .lunar-controls input{width:auto;min-width:0;flex:1;font:20px Georgia;color-scheme:dark}.am-lunar-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#e9ce93;font:23px Georgia;text-transform:capitalize;margin:26px 0 14px}.am-lunar-caption:before{content:'☾';font:31px Georgia}.am-lunar-caption button{margin-left:auto;white-space:nowrap;background:linear-gradient(#5a2b6855,#25102d);border:1px solid #edc48f;border-radius:26px;box-shadow:0 0 9px #f4b57a70,inset 0 0 9px #dcad6e22;font-size:13px;min-height:42px;color:#fff2db;padding:8px 17px;text-transform:none}.am-cosmic-home .moon-strip{gap:12px;padding:7px 2px 24px}.am-cosmic-home .moon-day{flex-basis:75px;min-height:105px;border-radius:19px;background:linear-gradient(#321344bb,#180a27cc);border:1px solid #aa67ad55;color:#f6e8fc;padding:10px 5px;font-size:13px;box-shadow:inset 0 1px 6px #d67dcc19}.am-cosmic-home .moon-day b{font-size:34px;margin:7px 0}.am-cosmic-home .moon-day.active{border-color:#ffe2aa;box-shadow:0 0 12px #f2a97d,inset 0 0 13px #c76ba366;background:linear-gradient(#69356b88,#1d0c30)}.am-cosmic-home .am-feature-stack{display:flex!important;flex-direction:column;gap:28px;margin-top:4px}.am-cosmic-home .am-home-feature{position:relative;display:block;aspect-ratio:2.6;min-height:0!important;width:100%;border:1px solid #e3b577!important;border-radius:25px;padding:0!important;overflow:hidden;background:#130b29!important;box-shadow:0 0 14px #bd6fa14d,inset 0 0 3px #f4cd95;isolation:isolate}.am-cosmic-home .am-home-feature img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;scale:1!important;border:0}.am-cosmic-home .am-home-feature .home-tarot-art,.am-cosmic-home .am-home-feature picture{position:absolute;inset:0;width:100%;height:100%;margin:0;display:block}.am-cosmic-home .am-home-feature:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 45%,#0a051bdc 100%);pointer-events:none;z-index:0}.am-cosmic-home .am-home-feature:before{content:'✦';position:absolute;inset:7px;border:1px solid #edc78677;border-radius:18px;z-index:3;pointer-events:none;color:#f3d0a0;font-size:20px;padding-left:4px}.am-cosmic-home .am-home-feature .compact-tile-copy{position:absolute!important;bottom:0;left:0;right:0;width:100%;padding:18px 24px!important;background:none!important;z-index:2;color:white!important}.am-cosmic-home .am-home-feature .compact-caption-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.am-cosmic-home .am-home-feature h2{font:600 clamp(19px,2.7vw,29px)/1.2 system-ui;margin:0;color:#fff}.am-cosmic-home .am-home-feature h2:before{content:'☾';display:inline-block;color:#f6d095;margin-right:10px;text-shadow:0 0 12px #df956a}.am-cosmic-home .am-feature-tarot h2:before{content:'♧';color:#f3c3ff}.am-cosmic-home .am-home-feature .compact-tile-copy p{color:#f0e5f4;font-size:clamp(12px,1.7vw,18px);line-height:1.35;margin:6px 0 0;padding-right:120px}.am-cosmic-home .am-home-feature .access-badge{background:linear-gradient(#de8ce8,#a742ce 55%,#a03ab9)!important;color:white;border:1px solid #f1a4ee;border-radius:30px;padding:10px 24px;box-shadow:0 0 13px #e277e95c;font:500 14px system-ui}.bottom-nav{width:min(980px,calc(100% - 32px));background:linear-gradient(#3c1b5ae8,#140929f5);border:1px solid #d59bd2aa;border-radius:35px;box-shadow:0 0 18px #bc77bd55,inset 0 1px 8px #dfafd344;padding:10px 8px;bottom:calc(12px + env(safe-area-inset-bottom))}.bottom-nav button{flex:1;max-width:180px;color:#e2d2f6;min-height:64px;border-radius:26px;font-size:13px}.bottom-nav button.active{background:linear-gradient(#6b347d66,#2f174c);border:1px solid #e8bd91;color:#ffdb9e;box-shadow:0 0 10px #e2a08055}.bottom-nav button b{font-size:29px}.am-explore-menu{margin-top:24px}.am-explore-menu .menu-row{width:100%}@media(max-width:600px){#am-scroll-shell>header.am-cosmic-header{min-height:108px;padding:15px 16px;border-radius:0 0 24px 24px}.am-cosmic-header .am-brand-orb{width:65px;height:65px;font-size:27px}.am-cosmic-header .am-wordmark{font-size:clamp(29px,7.5vw,43px)}.am-cosmic-header .brand small{font-size:6px;letter-spacing:1.5px;margin-top:6px}.am-header-actions{gap:6px}.am-header-profile{width:40px;height:40px}.am-header-actions .am-news{font-size:25px}.am-header-actions button{min-width:34px;min-height:40px}.am-cosmic-home main{padding:19px 14px 100px}.am-day-wish{letter-spacing:1.5px}.am-cosmic-home .lunar-controls{gap:7px;margin:20px 0}.am-cosmic-home .lunar-controls input{font-size:16px;flex-basis:50%;max-width:calc(100% - 100px)}.am-cosmic-home .lunar-controls button{font-size:12px;padding:9px 12px;min-height:43px}.am-lunar-caption{font-size:18px;gap:6px}.am-lunar-caption button{font-size:11px;padding:8px 12px}.am-cosmic-home .moon-day{flex-basis:57px;min-height:94px;font-size:11px}.am-cosmic-home .moon-day b{font-size:28px}.am-cosmic-home .am-home-feature{aspect-ratio:2.05;border-radius:19px}.am-cosmic-home .am-feature-stack{gap:20px}.am-cosmic-home .am-home-feature .compact-tile-copy{padding:13px 16px!important}.am-cosmic-home .am-home-feature .access-badge{font-size:11px;padding:7px 13px}.am-cosmic-home .am-home-feature .compact-tile-copy p{padding-right:75px}.bottom-nav{width:calc(100% - 20px);padding:6px 4px;border-radius:27px}.bottom-nav button{font-size:10px;min-height:56px;padding:5px 3px}.bottom-nav button b{font-size:25px}.bottom-nav button.active{border-radius:22px}}
.am-cosmic-home .am-home-greeting{display:block!important;flex-wrap:wrap!important}.am-cosmic-home .am-home-greeting .account-actions{display:none!important}.am-cosmic-home .am-home-greeting h1{white-space:normal!important;overflow:visible}.am-cosmic-home .am-home-feature .tile-tag{display:none}.am-cosmic-header .am-news svg{width:29px;height:32px;display:block}.am-cosmic-header .am-header-actions button{min-width:44px;min-height:44px}.am-cosmic-home .am-lunar-caption{display:flex!important}.am-cosmic-home .am-feature-tarot .home-tarot-art{z-index:-1}.am-cosmic-home .am-feature-tarot .home-tarot-art:before,.am-cosmic-home .am-feature-tarot .home-tarot-art:after{display:none}
/* Consistent vertical alignment and comfortable label spacing. */
.am-cosmic-header .am-header-actions{align-self:center;align-items:center}.bottom-nav{padding:10px 9px}.bottom-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:80px;padding:12px 10px 14px;line-height:1.25}.bottom-nav button b{display:flex;align-items:center;justify-content:center;min-height:30px;line-height:1;margin:0}.bottom-nav button.active{padding:12px 10px 14px}body{padding-bottom:125px}.am-cosmic-home main{padding-bottom:125px}
/* Shared palette across existing content pages, without changing their layout/artwork. */
:root{--ink:#f8efff;--muted:#c9b6da;--purple:#bd89e5;--line:#bf80c63b;--cream:#261333;--am-panel:linear-gradient(145deg,#3c1c50ef,#1e0e30f2);--am-soft:linear-gradient(135deg,#4b295c99,#281336cc);--am-gold:#edcc94}
#app .card,#app .library-item,#app .home-guide,#app .premium-service-page,#app .practice-world,#app .practice-oracle,#app .practice-runes,#app .practice-pendulum,#app .reading-order-summary,#app .reading-card,#app .reading-panel,#app .astro-universe,#app .lunar-universe,#app .lunar-page,#app .tarot-table{background:var(--am-panel)!important;border-color:#bc80bd55;color:#f7edff}
#app .tarot-table{background:radial-gradient(ellipse at 50% 0,#703a8966,transparent 65%),linear-gradient(145deg,#371545,#180b28)!important}
#app .fan-card,#app .drag-ghost{background:repeating-linear-gradient(45deg,transparent 0 18px,#edd8a00a 18px 19px),radial-gradient(ellipse at 30% 15%,#794982,#3b1d52 60%,#20102f)!important;border-color:#e4c596}
#app .spread-slot{background:#31163f88;border-color:#b883bc77}#app .spread-slot.filled{background:repeating-linear-gradient(45deg,transparent 0 18px,#edd8a00a 18px 19px),linear-gradient(145deg,#70447f,#30173f)!important}
#app .daily-astro,#app .daily-astro-grid article,#app .astro-card,#app .astro-affirmation,#app .lunar-planet-reading,#app .lunar-block,#app .lunar-fold,#app .annual-month,#app .dream-piste,#app .stat,#app .catalog-article-body{background:var(--am-soft)!important;border-color:#b87bbc44;color:#f7edff}
#app .astro-background{background:radial-gradient(ellipse at 0 100%,#c27bc633,transparent 50%)}#app .reading-hero{background:#32143f!important}#app .reading-hero:after{background:linear-gradient(90deg,#32143f 0%,#32143f 42%,#32143fcc 58%,transparent 90%)!important}
#app .tabs button,#app button.soft,#app .account-questions{background:linear-gradient(#4b285999,#281232dd);border-color:#bf8cc655;color:#f2dff9}#app .tabs button.active{background:linear-gradient(#e6bb8c,#c68cbb);color:#281034}
#app input:not([type=checkbox]):not([type=radio]):not([type=range]),#app textarea,#app select{background:#291435;color:#f7edff;border-color:#b888ba66;color-scheme:dark}#app input::placeholder,#app textarea::placeholder{color:#beabc9}
#app .reading-grid .tarot-result,#app .reading-summary{background:var(--am-panel)!important;color:#f4eaf8!important}#app .reading-summary .muted{color:#d1bddd!important}#app .reading-summary .eyebrow{color:#e0bfed!important}
#app .sms-trial,#app .phone-chat-top,#app .phone-chat-feed,#app .sms-trial .trial-chat-info,#app .sms-trial .phone-composer{background:#21102e;color:#eee0f5;border-color:#9c6ba13b}#app .phone-chat-top h1,#app .sms-trial .trial-chat-info{color:#eee0f5}#app .sms-trial .sms-guide,#app .sms-trial .sms-system{background:#3b234b;color:#f0e2f9}#app .sms-trial .sms-user{background:#84509d;color:#fff}#app .sms-trial .trial-card-context span{background:#4d2c60;color:#faedff}#app .sms-trial .phone-input-row textarea{background:#30193f;color:#f9efff;border-color:#9f72b155}#app .phone-chat-status,#app .phone-chat-top small{color:#cbb0db}
@media(max-width:600px){.bottom-nav{padding:8px 5px}.bottom-nav button,.bottom-nav button.active{padding:10px 6px 12px;gap:8px;min-height:72px;font-size:11px}.bottom-nav button b{min-height:27px}.am-header-actions{align-self:center}#app .reading-hero:after{background:linear-gradient(0deg,#32143f,#32143fcc 50%,#32143f22)!important}}
/* More-dialog is mounted outside #app, so it needs the same theme explicitly. */
#overlay .sheet{background:radial-gradient(ellipse at 15% 0%,#73408355,transparent 55%),linear-gradient(145deg,#36143f,#24102f 60%,#1a0b28);color:#f4e9fb;border-color:#d5b17e99;box-shadow:0 0 0 5px #281132,0 0 0 6px #bb8b5355,0 30px 110px #0009}#overlay .sheet-top{background:#2b113bee;color:#f3dca9;border-color:#bd926555}#overlay .sheet-content h1,#overlay .sheet-content h2,#overlay .sheet-content h3{color:#f3dfb4}#overlay .sheet-content p,#overlay .sheet .muted{color:#ddcee9}#overlay .sheet .domain-options button{background:#57335e66;color:#f1e3f9;border-color:#b58abd66}#overlay .sheet .domain-options button.chosen,#overlay .sheet .domain-options button[aria-pressed=true]{background:linear-gradient(#d9b087,#b777b5);color:#281132;border-color:#f3d0a3}#overlay .sheet .more-submit{background:linear-gradient(135deg,#a46cb6,#d2a2b9);color:#fff3fa;border-color:#f5cba9}#overlay .sheet input,#overlay .sheet textarea,#overlay .sheet select{background:#30163e;color:#f7e9ff;border-color:#b990bd66}
/* Plus already has profile access in the header: suppress its duplicate account row only. */
body.am-page-plus #app .account-strip,body.am-page-plus #app .page-wallet-fallback,body.am-page-plus #app .account-questions{display:none!important}
/* Keep the horoscope caption below the sign illustration with a clear breathing space. */
body.am-cosmic-home #app .astro-home-tile .compact-tile-copy{padding-top:18px!important}body.am-cosmic-home #app .astro-home-tile .compact-tile-copy h2{margin-top:0!important}
/* Remove duplicate profile/counters throughout the content, keeping the header profile. */
#app .account-actions,#app .account-profile,#app .account-questions,#app .page-wallet-fallback{display:none!important}
/* Override legacy mobile padding that pressed labels against their frames. */
body nav#bottomnav{position:fixed!important;top:auto!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;transition:none!important;animation:none!important;z-index:1100;padding:9px 8px!important;border-radius:30px!important;will-change:auto}
body nav#bottomnav button,body nav#bottomnav button.active{min-height:67px!important;padding:9px 7px 16px!important;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px!important;line-height:1.25}body nav#bottomnav button b{margin:0;min-height:28px;line-height:1}
body.has-tarot-chat nav#bottomnav{display:flex!important;visibility:visible!important;bottom:var(--trial-nav-bottom,0px)!important;border-radius:25px 25px 0 0!important;margin:0}
/* Tarot trial note, restart actions and all practice panels share the palette. */
#app .tarot-access-note,#app .practice-summary,#app .practice-intention,#app .practice-result-note{background:linear-gradient(135deg,#54305eaa,#281137ee)!important;color:#f2e3f9!important;border:1px solid #bf8bbd77!important;border-radius:16px;padding:15px 18px}#app .practice-world button:not(.practice-fan-card):not(.practice-library-card):not(.practice-result):not(.rune-draw-button){background:linear-gradient(135deg,#734581,#3a1c50);color:#f8e9ff;border-color:#c18fc877}#app .practice-world .practice-modes button.selected,#app .practice-world .practice-tabs button.selected{background:linear-gradient(#d7b089,#b774b4);color:#2a1535;border-color:#efd2a3}
/* Lunar phase: preserve the astronomical disc; harmonize its surroundings. */
#overlay .lunar-phase,#app .lunar-phase{background:radial-gradient(ellipse at 50% 25%,#814c9755,transparent 68%),linear-gradient(#32113f,#21102f)!important}#overlay .lunar-block,#overlay .lunar-fold,#overlay .lunar-advice,#overlay .lunar-planet-reading,#overlay .lunar-summary-grid,#app .lunar-block,#app .lunar-fold,#app .lunar-advice,#app .lunar-planet-reading,#app .lunar-summary-grid{background:linear-gradient(135deg,#4a2659dd,#271333ee)!important;border-color:#bd88b866!important;color:#f1e2f7}#overlay .lunar-advice h3,#app .lunar-advice h3{color:#edcf9d!important}#overlay .lunar-date-picker button,#app .lunar-date-picker button,#overlay .lunar-fold-icon,#app .lunar-fold-icon{background:#62366955;border-color:#c391c299;color:#f1d4a7}#overlay .lunar-movements-heading,#app .lunar-movements-heading{background:linear-gradient(#36153f88,#261032)!important}#overlay .lunar-movement-card,#app .lunar-movement-card{background:linear-gradient(145deg,#452450,#251333)!important;border-color:#be86b677}#overlay .lunar-orbit,#app .lunar-orbit{box-shadow:0 0 35px #cb91d033,inset 0 0 20px #d5b48215}
@media(max-width:600px){body nav#bottomnav{padding:8px 5px!important}body nav#bottomnav button,body nav#bottomnav button.active{min-height:64px!important;padding:8px 5px 15px!important;gap:3px!important;font-size:11px}.bottom-nav button.active{border-radius:22px}}
/* A stable application viewport: only main scrolls; the bottom menu never joins the scroll. */
html{height:100%;overflow:hidden}body{position:fixed;inset:0;height:100%;overflow:hidden;display:flex;flex-direction:column;padding-bottom:0!important}body>header{flex:0 0 auto}body>main#app{flex:1 1 auto;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;margin:0 auto;scroll-padding-bottom:140px}body>nav#bottomnav{position:fixed!important;bottom:0!important;transform:translateX(-50%)!important}body.has-tarot-chat>nav#bottomnav{bottom:var(--trial-nav-bottom,0px)!important}body.has-tarot-chat>main#app{overflow:hidden}#app>footer{margin-top:35px;padding-bottom:30px}body>footer{flex:0 0 auto}
#overlay .lunar-sign-pill,#app .lunar-sign-pill{background:linear-gradient(135deg,#864f94,#4c285e)!important;color:#f6e3bd!important;border:1px solid #d5aa7e!important;box-shadow:0 0 14px #c28ac22b}
#app .practice-chat-direct{display:block;min-height:50px;width:min(100%,600px);margin:20px auto 24px;padding:14px 20px;border:1px solid #e5bd8e;border-radius:24px;background:linear-gradient(135deg,#9e5db3,#67357e);color:#fff0fa;box-shadow:0 0 14px #c78cbd33;font-size:16px}

/* Restore illustrated lunar surroundings without altering the astronomical disc. */
#overlay .lunar-themed-sheet,#app .lunar-day-content{background:linear-gradient(#1c0a2bd9,#240d35d9),url('/assets/astramoon-home-header.webp') center top/cover!important;color:#f7e9fc}
#overlay .lunar-phase,#app .lunar-phase{background:radial-gradient(ellipse at 50% 30%,#8949a333,transparent 65%),linear-gradient(#29113e22,#24103299),url('/assets/lunar-clouds-v1.png') center/cover!important;border-bottom:1px solid #dfb98255}
#overlay .lunar-movements-heading,#app .lunar-movements-heading{background:linear-gradient(#32134455,#25103499),url('/assets/astramoon-home-header.webp') center/cover!important}
#overlay .lunar-block,#overlay .lunar-fold,#app .lunar-block,#app .lunar-fold{background:linear-gradient(135deg,#542863a6,#251032d4)!important;border:1px solid #c69b7366!important;box-shadow:inset 0 1px 0 #ffe2ae17,0 8px 24px #13051c44}
#app .am-pricing-entry,#app .pricing-free{border:1px solid #d5b185;background:linear-gradient(135deg,#51245cdd,#251032ee);box-shadow:0 0 20px #dca67620}
#app .pricing-plans{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){#app .pricing-plans{grid-template-columns:1fr}}

/* Clear violet calls to action on Today, with comfortable touch targets. */
body.am-cosmic-home #app .astro-home-link,body.am-cosmic-home #app .home-guide button,body.am-cosmic-home #app .guardian-card button{box-sizing:border-box;min-height:54px;padding:14px 24px;border:1px solid #e5c49b!important;border-radius:28px;background:linear-gradient(145deg,#a56ac3,#754193)!important;color:#fff8ff!important;font:600 16px/1.4 system-ui;text-decoration:none;box-shadow:inset 0 1px 2px #fff4,0 4px 18px #a260c34d;white-space:normal;cursor:pointer}
body.am-cosmic-home #app .astro-home-link{display:block;width:fit-content;max-width:100%;margin:20px auto 0;text-align:center;border-bottom:1px solid #e5c49b}
body.am-cosmic-home #app .home-guide button,body.am-cosmic-home #app .guardian-card button{margin-top:12px;max-width:100%}
body.am-cosmic-home #app :is(.astro-home-link,.home-guide button,.guardian-card button):focus-visible{outline:3px solid #f5d6ab;outline-offset:4px}

/* Home service badges: centered content and readable prices on touch screens. */
body.am-cosmic-home #app .home-view .compact-caption-heading{align-items:center!important;gap:12px}
body.am-cosmic-home #app .home-view .compact-caption-heading h2{margin-block:0!important;min-width:0;flex:1}
body.am-cosmic-home #app .home-view .access-badge{box-sizing:border-box;display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center;min-height:42px;padding:10px 16px!important;font-size:16px!important;line-height:1.2!important;text-align:center;letter-spacing:0;max-width:none;flex-shrink:0;white-space:nowrap}
body.am-cosmic-home #app .home-view .badge-price{font-size:21px!important;font-weight:750}
body.am-cosmic-home #app .home-view .compact-caption-heading .access-badge{position:static!important;margin:0!important;transform:none!important}
@media(max-width:600px){body.am-cosmic-home #app .home-view .access-badge{min-height:38px;padding:8px 12px!important;font-size:14px!important}body.am-cosmic-home #app .home-view .badge-price{font-size:18px!important}body.am-cosmic-home #app .home-view .compact-caption-heading{gap:8px}}

/* Header and content share one scroll surface; bottom navigation stays outside. */
#am-scroll-shell{flex:1 1 auto;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:140px}
#am-scroll-shell>header.am-cosmic-header{position:relative!important;top:auto!important;flex:none}
#am-scroll-shell>main#app{flex:none;min-height:0;width:100%;margin:0 auto;overflow:visible!important}
body.has-tarot-chat #am-scroll-shell{overflow:hidden}body.has-tarot-chat #am-scroll-shell>header{display:none!important}
/* Center badges against the whole translucent caption, including its subtitle. */
body.am-cosmic-home #app .home-view .compact-tile-copy:has(.access-badge){padding-right:min(50%,190px)!important}
body.am-cosmic-home #app .home-view .compact-tile-copy:has(.access-badge) .compact-caption-heading{position:static!important}
body.am-cosmic-home #app .home-view .compact-tile-copy:has(.access-badge) p{padding-right:0!important}
body.am-cosmic-home #app .home-view .compact-tile-copy .access-badge{position:absolute!important;right:16px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;max-width:min(calc(50% - 24px),162px)!important;white-space:normal;text-align:center}

/* Remove the browser's blue touch flash, without changing focus or selection states. */
html,body,body *{-webkit-tap-highlight-color:transparent!important}
