/* October 24: focused presentation refinements, using the existing neon theme. */
body[data-command-ui] #retarget-page>.sales-reviews{margin-top:0;padding-top:0}
body[data-neon-skin] #retarget-page .dan-about.holo-phone{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,1.5fr);gap:30px;max-width:1180px;margin:42px auto 60px;padding:28px;background:linear-gradient(128deg,#d0faff08,#03132030)!important;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:none}
#retarget-page .dan-story,#retarget-page .dan-story p,#retarget-page .dan-story h2{text-align:center!important}#retarget-page .dan-story p{max-width:800px;margin:18px auto;line-height:1.85}.dan-details{overflow:visible!important;padding-bottom:25px}#dan-details-frame{display:block;width:100%;border:0;overflow:visible}
.live-commission{font-size:14px;line-height:1.6;color:#d6edff;margin:12px 0 20px}.affiliate-hero{text-align:center;max-width:1000px;margin:auto}.offer-attention{display:block;font:400 clamp(17px,2vw,23px)/1.4 NeonTube,Arial;letter-spacing:1.5px;color:#ffe17d;text-shadow:0 0 10px #ffbd3480;margin:0 0 18px}
#partners-page .affiliate-hero h1{font:400 clamp(42px,6.4vw,78px)/1.08 NeonTube,Arial!important;color:#dfc4ff!important;text-shadow:0 0 3px #fff,0 0 15px #ad6cff,0 0 35px #864cff85!important;animation:offer-glow 3.6s ease-in-out infinite,offer-nudge 12s ease-in-out infinite;transform-origin:center}
.affiliate-subtitle{font:400 clamp(23px,3vw,35px)/1.3 NeonTube,Arial;color:#9ef6d6;margin:18px 0 25px}.affiliate-free{display:flex;flex-direction:column;gap:12px;border:1px solid #b58bff80;border-radius:18px;background:#11173665;padding:22px;margin:22px auto;max-width:750px}.affiliate-free strong{font:400 clamp(23px,3vw,32px)/1.25 NeonTube,Arial;color:#fff0ad}.affiliate-free span{font-size:17px;line-height:1.5;color:#e0eafa}.affiliate-hero>p:not(.affiliate-subtitle):not(.affiliate-free){font-size:15px;color:#d1dfed;line-height:1.65}.affiliate-hero>a{display:inline-flex;margin-top:10px}.affiliate-perk{padding:18px 20px;background:#18253d70;border:1px solid #6effbf77;border-radius:14px;color:#d2ffe9;font-size:15px;line-height:1.6;margin:20px 0}.affiliate-perk strong{color:#b6ffd8}.coach-headline{font-size:clamp(40px,5.8vw,68px)!important}.coach-headline span{color:#fac5ff}.coach-pitch{max-width:850px;margin-inline:auto;line-height:1.8}.coach-uses{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:22px 0}.coach-uses span{border:1px solid #ed9eff66;border-radius:50px;background:#371b4c55;padding:10px 16px;color:#f4ceff;font-size:14px}.coach-included{font:400 clamp(22px,3vw,30px)/1.3 NeonTube,Arial;color:#a2ffd1;text-shadow:0 0 10px #39de8a70}.coach-scope{font-size:14px;line-height:1.7;max-width:750px;color:#c8dce8;margin:18px auto}.community-rotate,.library-mobile-dock,.library-mobile-controls,.library-mobile-hint{display:none}
@keyframes offer-glow{50%{filter:brightness(1.3)}}@keyframes offer-nudge{0%,86%,100%{transform:none}89%{transform:rotate(-1deg) scale(1.015)}92%{transform:rotate(1deg) scale(1.015)}95%{transform:rotate(-.5deg)}}
@media(max-width:1024px){
 #rail-toggle:not([aria-expanded=true]){border-color:#8af2ff;color:#e2feff;box-shadow:0 0 10px #00d9ff70;font-family:NeonTube,Arial;animation:menu-beacon 2.8s ease-in-out infinite,menu-round-robin 16s ease-in-out infinite;transform-origin:center}
 #rail-toggle[aria-expanded=true]{animation:none}
 #community-page .community-wide-wrap{overflow-x:auto;padding:7px 9px 35px;scrollbar-color:#ff91b6 #061527}
 #community-page .community-layout{grid-template-columns:205px minmax(420px,1fr)!important;min-width:690px;gap:22px}
 #community-page .community-sidebar h2,#community-page .community-values{display:block}
 #community-page .community-sidebar nav{display:grid;overflow:visible;padding:0}
 #community-page .community-sidebar nav button{white-space:normal}
 #community-page .community-values{padding:18px;margin:18px 0}
}
@media(max-width:1024px) and (orientation:portrait){
 #community-page .community-rotate{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 18px;margin:25px 0;border:1px solid #ff91b699;border-radius:22px;background:#071a2bd9;box-shadow:0 0 28px #ff63bc25}
 .rotate-phone{font:400 55px/1.3 NeonTube,Arial;color:#ffc3e2;text-shadow:0 0 15px #ff6ebf}
 #community-page .community-rotate h2{font:400 28px/1.3 NeonTube,Arial;color:#ffd4ec;margin:15px 0}
 .community-rotate p{font-size:14px;line-height:1.65;color:#d0dfef}.community-rotate .primary{margin:12px 0}#community-rotate-status{font-size:12px;max-width:320px}
 body:not(.community-wide-choice) #community-page .community-wide-wrap{display:none}
}
@media(max-width:850px){
 body.library-view .library-mobile-dock{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:100%;order:-3;flex:none;margin:0 0 8px}
 .library-mobile-dock button{display:block;min-width:0;background:linear-gradient(135deg,#07283edb,#051323df);padding:13px;border:2px solid #58e7ff88;border-radius:18px;color:#bdf7ff;text-align:left;box-shadow:inset 0 1px #daffff88,3px 5px 0 #062039,0 0 13px #00ceff33}
 .library-mobile-dock button:last-child{border-color:#85ffc088;color:#c0ffdc}.library-mobile-dock button[aria-pressed=true]{box-shadow:0 0 0 2px #dfffff,0 0 22px #00cfff66}
 .library-mobile-dock strong{display:block;font:400 18px/1.25 NeonTube,Arial;margin:10px 0 7px}.library-mobile-dock small{font-size:10px;line-height:1.4;color:#bbd8e7}
 .mini-library-screen,.mini-reader-screen{display:flex;flex-direction:column;gap:6px;justify-content:center;aspect-ratio:1.7;border:1px solid #67d6f36b;border-radius:8px;padding:9px;background:#031222}
 .mini-library-screen i,.mini-reader-screen i{height:7px;border:1px solid #61dfff88;border-radius:3px;width:92%;box-shadow:0 0 4px #39dfff44}.mini-library-screen i:nth-child(2){border-color:#c398ff;width:80%}.mini-library-screen i:nth-child(3){border-color:#ffd57b;width:87%}.mini-reader-screen i{height:3px;background:#90ffc377;border:0}.mini-reader-screen i:first-child{height:8px;width:75%;margin-bottom:5px;background:#c1ffe3}.mini-reader-screen i:last-child{width:65%}
 body[data-command-ui=deck].library-view #deck{display:flex;flex-direction:column;margin:0;padding:14px 22px 50px!important;gap:18px;height:auto;min-height:0;perspective:1000px}
 body.library-view .library-mobile-controls{display:flex;gap:10px;justify-content:space-between;order:-2;width:100%}.library-mobile-controls button{background:#05253bbd;color:#b9f3ff;border:1px solid #57dfff66;border-radius:10px;font:400 14px/1.3 NeonTube,Arial;padding:11px 12px}
 body.library-view[data-library-screen=overview] .library-mobile-hint{display:block;order:-1;color:#c3deed;font-size:13px;line-height:1.6;margin:0 0 20px;text-align:center}
 body.library-view[data-library-screen=overview] .library-mobile-controls,body.library-view[data-library-screen=overview] .library-panel,body.library-view[data-library-screen=overview] .content-panel{display:none!important}
 body.library-view[data-library-screen=sections] .content-panel,body.library-view[data-library-screen=reader] .library-panel{display:none!important}
 body.library-view .library-panel,body.library-view .content-panel{width:calc(100% - 9px)!important;min-width:0!important;height:auto!important;min-height:300px!important;max-height:none!important;margin:0 6px 18px 0!important;transform:none!important;scroll-margin-top:80px;animation:library-screen-open .38s ease-out}
 body.library-view #sections{max-height:60dvh!important;display:block;overflow:auto}body.library-view #content{max-height:none!important;overflow:visible!important}
 body.library-view[data-library-screen=sections] #library-back-sections{visibility:hidden}
 body[data-neon-skin] #retarget-page .dan-about.holo-phone{grid-template-columns:1fr;padding:22px 17px;margin:35px 6px 55px 0;gap:24px}.dan-about .dan-portrait{max-width:250px;margin:auto}.dan-about .dan-story p{font-size:15px!important;line-height:1.8!important}
}
@keyframes library-screen-open{from{opacity:.2;translate:0 22px;scale:.95}to{opacity:1;translate:0 0;scale:1}}
@keyframes menu-beacon{0%,100%{box-shadow:0 0 8px #00d9ff80,0 0 20px #00bfff30;text-shadow:0 0 5px #00eaff}50%{box-shadow:0 0 18px #cb7dffb0,0 0 35px #08d5ff70;border-color:#dec1ff;text-shadow:0 0 9px #af6dff}}
@keyframes menu-round-robin{0%,16%,28%,42%,54%,67%,79%,91%,100%{transform:none}18%{transform:rotate(-6deg)}20%{transform:rotate(6deg)}22%{transform:rotate(-5deg)}24%{transform:rotate(4deg)}44%{transform:rotate(0)}50%{transform:rotate(360deg)}52%{transform:rotate(360deg)}69%{transform:scale(1.14,.86)}73%{transform:scale(.94,1.09)}77%{transform:scale(1.03,.97)}93%{transform:translateY(-7px)}96%{transform:translateY(1px)}98%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){#rail-toggle,.affiliate-hero h1,body.library-view .library-panel,body.library-view .content-panel{animation:none!important}}
.reduced-motion #rail-toggle,.reduced-motion .affiliate-hero h1,.reduced-motion.library-view .library-panel,.reduced-motion.library-view .content-panel{animation:none!important}

.library-mobile-results{display:none}@media(max-width:850px){body.library-view .library-mobile-results{display:block;margin:0 20px 18px;padding:10px 14px;border:1px solid #59dfff66;border-radius:10px;background:#0a334a;color:#a6f2ff;font:14px NeonTube,Arial}}

@media(max-width:850px){body.library-view .library-mobile-controls{position:sticky;top:75px;z-index:18;padding:7px 0;background:#031223ee;border-radius:10px}body.library-view .library-panel,body.library-view .content-panel{scroll-margin-top:145px!important}}
