/* Preserve the original homepage component layout. Only its surface palette changes. */
html:root body#top#top.ptx-design.home-page main.home-feed { --site-primary-accent: #df9a68; --site-secondary-accent: #d2d2cd; }
html:root body#top#top.ptx-design.home-page main.home-feed :where(a,div,span,p,em,small,strong,b,i,label,h1,h2,h3,h4,li,th,td,summary,output,kbd,legend,form,fieldset) { color: inherit !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :where(*) { border-color: #444444 !important; box-shadow: none !important; text-shadow: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :where(div,section,article,aside,nav,details,summary,label,header,footer,form,fieldset,a,span,em,small,strong,b,i):where(:not([style*="url("]):not([class*="cover"]):not([class*="thumb"]):not([class*="avatar"]):not([class*="preview"]):not([class*="canvas"]):not([class*="waveform"]):not([class*="spectrum"])) { background: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.post-card,.public-why-join-panel,.public-join-path,.public-browse-note,.public-discovery-panel) { background: #191919 !important; border-color: #444444 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.hero-gradient-word,.home-hero-title) { color: #f2f2ee !important; -webkit-text-fill-color: currentColor !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.muted,.helper-text,.home-hero-description,.home-visualizer-copy p,.public-why-join-head p) { color: #c6c6c0 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.hero-genre-label,.home-hero-kicker,.admin-section-kicker,.video-filter-label) { color: #bbb !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.launch-cta-primary,.hero-auth-create,.mobile-public-join) { background: #e8e8e2 !important; color: #171717 !important; border-color: #e8e8e2 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.launch-cta-secondary,.hero-auth-login,.hero-auth-explore,.hero-auth-visualizer,.compact-action-btn) { background: #262626 !important; color: #e8e8e2 !important; border-color: #666 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(input,select,textarea,button) { background: #222222 !important; color: #eee !important; border-color: #666 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.avatar-fallback,.trend-thumb,.badge) { background: #353535 !important; color: #ddd !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.menu-link,.video-style-chip).active { background: #deded8 !important; color: #181818 !important; border-color: #deded8 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed .home-hero-card::before { filter: saturate(.8) !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.home-hero-card,.home-visualizer-feature,.public-why-join-panel,.public-join-path)::after { background: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.hero-particle,.hero-scanline,.hero-pulse-separator) { opacity: .15 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.public-ptx-studio-promo video,.public-ptx-studio-promo img) { filter: saturate(.8) !important; }
html:root body#top#top.ptx-design.home-page main.home-feed .toggle-post-btn.hidden { display: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed .module-glyph { background: #343434 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.ptx-project-card,.post-card,.post-top,.hero-alpha-notice)::before,
html:root body#top#top.ptx-design.home-page main.home-feed :is(.ptx-project-card,.post-card,.post-top,.hero-alpha-notice)::after { background: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed .ptx-project-preview:not([style*="url("]) { background: #222222 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed summary::after { color: #ccc !important; }
html:root body#top#top.ptx-design.home-page main.home-feed .home-visualizer-live { background-color: #151515 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed .home-visualizer-demo-controls { background: #222222 !important; }

/* Restrained warm text accents, neutral grey surfaces and light controls. */
html:root body#top#top.ptx-design.home-page main.home-feed .hero-gradient-word { color: #e6a373 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.home-hero-kicker,.admin-section-kicker,.hero-genre-label,.video-filter-label) { color: #e6a373 !important; border-color: #74513b !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(a.launch-cta-primary,button.launch-cta-primary,.hero-auth-create,.mobile-public-join) { background: #e4e4de !important; color: #181818 !important; border-color: #e4e4de !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(a.launch-cta-primary,button.launch-cta-primary,.hero-auth-create,.mobile-public-join):hover { background: #cecec8 !important; border-color: #cecec8 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.menu-link,.video-style-chip).active { background: #d2d2cd !important; color: #181818 !important; border-color: #d2d2cd !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.text-action-link,.ptx-project-meta,.public-discovery-column-head a) { color: #deded8 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.home-visualizer-facts span,.home-hero-chips span,.badge) { color: #deded8 !important; border-color: #5c5c59 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(a,button,input,select,textarea,summary):focus-visible { outline-color: #e6a373 !important; }

/* Hover stays neutral, including old preview overlays and card pseudo-elements. */
html:root body#top#top.ptx-design.home-page main.home-feed :is(.post-card,.public-why-join-panel,.public-join-path,.public-browse-note,.public-discovery-panel,.ptx-project-card):hover { background: #202020 !important; border-color: #666 !important; box-shadow: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.ptx-project-preview,.public-creator-mini-card,.public-post-mini-card,.public-discovery-column,.public-benefit-grid > span,.public-join-steps > li,.launch-module-card,.studio-activity-item):hover { background-color: #292929 !important; border-color: #777 !important; box-shadow: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(a,button,summary):hover { color: #f2f2ee !important; border-color: #888 !important; box-shadow: none !important; text-shadow: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(a.launch-cta-primary,button.launch-cta-primary,.hero-auth-create,.mobile-public-join,.menu-link.active,.video-style-chip.active):hover { background: #cecec8 !important; color: #181818 !important; border-color: #cecec8 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.launch-cta-secondary,.hero-auth-login,.hero-auth-explore,.hero-auth-visualizer,.compact-action-btn,button,summary):hover { background-color: #333 !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(.ptx-project-preview,.public-creator-mini-card,.public-post-mini-card,.launch-module-card,.studio-activity-item)::before,
html:root body#top#top.ptx-design.home-page main.home-feed :is(.ptx-project-preview,.public-creator-mini-card,.public-post-mini-card,.launch-module-card,.studio-activity-item)::after { background: none !important; box-shadow: none !important; }
html:root body#top#top.ptx-design.home-page main.home-feed :is(a,button,input,select,textarea,summary):focus-visible { outline-color: #ddd !important; }
/* Legacy hover set gold on card containers and their inherited text. */
html:root body#top#top.ptx-design.home-page main.home-feed :is(.card,.post-card,.ptx-project-card,[role="button"]):is(:hover,:focus-visible) { color: #f2f2ee !important; }
