/*
Theme Name: DADAMOOG Cosmos
Author: DADAMOOG
Description: The Moon Universe — a lightweight cosmic theme with an animated starfield, Moon, and a sky that follows the visitor's local time. Existing WordPress content remains editable.
Version: 1.0.32
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dadamoog-cosmos
*/
:root{--space:#071426;--ink:#ffffff;--muted:#ffffff;--signal:#d8b8ff;--line:rgba(216,184,255,.16);--nebula-a:rgba(96,64,152,.24);--nebula-b:rgba(90,51,119,.14);--sun-opacity:.38;--sun-x:75%;--sun-y:14%;--star-opacity:1;--px:0px;--py:0px;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body.dadamoog-cosmos{margin:0;background:var(--space);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.75;overflow-x:hidden}a{color:inherit;text-decoration:none}a:hover{color:var(--signal)}button,input,textarea,select{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid var(--signal);outline-offset:6px}button{cursor:pointer}.skip-link{position:fixed;top:-100px;left:20px;z-index:999999;padding:12px 18px;background:var(--signal);color:#0b2137}.skip-link:focus{top:42px}img{max-width:100%;height:auto}.cosmos-sky{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 66% 45%,#111a29 0,transparent 52%),#071426}.cosmos-nebula{position:absolute;inset:-15%;background:radial-gradient(ellipse at 70% 30%,var(--nebula-a),transparent 43%),radial-gradient(ellipse at 35% 60%,var(--nebula-b),transparent 47%);animation:nebula-drift 48s ease-in-out infinite alternate;transition:background 5s}.cosmos-sky canvas{width:100%;height:100%;opacity:var(--star-opacity);transition:opacity 5s}.cosmos-sun{position:absolute;left:var(--sun-x);top:var(--sun-y);width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fffbe1 0,#fff2b6 30%,#ffc976 63%,#ec8e37 90%);box-shadow:0 0 22px 6px #ffd38670,0 0 100px 30px #ebae5930,0 0 230px 80px #ffae3310;opacity:var(--sun-opacity);transition:top 5s,left 5s,opacity 5s}.cosmos-earth{position:absolute;top:80%;left:43%;width:78px;aspect-ratio:1;background:url('assets/earth.svg') center/contain no-repeat;filter:drop-shadow(0 0 13px #d8b8ff40);animation:earth-drift 35s ease-in-out infinite alternate;opacity:.78}.cosmos-header{position:relative;display:flex;align-items:center;gap:28px;max-width:1440px;margin:auto;padding:24px 5%;border-bottom:1px solid var(--line);z-index:10}.cosmos-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.cosmos-brand img{width:53px;height:53px;object-fit:contain}.cosmos-brand>span{font-size:17px;letter-spacing:.11em;font-weight:700;line-height:1.4}.cosmos-brand small{display:block;font-size:8px;color:var(--muted);letter-spacing:.19em;margin-top:4px}.cosmos-header nav{margin-left:auto}.cosmos-menu{display:flex;gap:26px;list-style:none;margin:0;padding:0;align-items:center}.cosmos-menu a{font-size:13px;color:#ffffff}.cosmos-menu a:hover{color:var(--signal)}.cosmos-menu-toggle{display:none}.cosmos-hero{position:relative;max-width:1440px;min-height:720px;min-height:min(820px,calc(100svh - 105px));margin:auto;padding:95px 5% 115px;isolation:isolate;overflow:hidden;display:flex;align-items:center}.cosmos-hero-copy{position:relative;z-index:2;max-width:610px}.cosmos-eyebrow{font-size:9px;letter-spacing:.19em;line-height:1.8;color:var(--signal);font-weight:500;margin:0 0 28px}.cosmos-artist{position:relative;font-size:clamp(70px,8vw,125px);line-height:.8;font-weight:900;letter-spacing:-.075em;margin:0 0 36px;max-width:480px}.cosmos-artist>span{display:block;margin-top:13px;color:#ffffff}.cosmos-artist i{position:absolute;top:6px;right:18%;font-size:25px;color:var(--signal);font-style:normal;line-height:1}.cosmos-hero h1{font-size:clamp(15px,1.6vw,21px);font-weight:400;letter-spacing:.21em;margin:0 0 17px}.cosmos-intro{max-width:420px;font-size:15px;line-height:1.85;color:#ffffff;margin:0 0 29px}.cosmos-actions{display:flex;gap:12px;flex-wrap:wrap}.cosmos-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:13px 20px;border:1px solid #d8b8ff40;border-radius:3px;font-size:12px;font-weight:600;line-height:1.4;transition:transform .2s,background .2s}.cosmos-button:hover{transform:translateY(-2px);background:#ffffff08}.cosmos-button-primary{background:var(--signal);border-color:var(--signal);color:#0b2137}.cosmos-button-primary:hover{background:#eadbff;color:#0b2137}.cosmos-moon-scene{position:absolute;z-index:0;width:min(59vw,780px);aspect-ratio:1;left:48%;top:50%;transform:translate(var(--px),calc(-50% + var(--py)));pointer-events:none}.cosmos-moon{position:absolute;inset:12%;border-radius:50%;box-shadow:-9px -6px 28px #d8b8ff18,0 0 70px #d8b8ff0b;animation:moon-drift 22s ease-in-out infinite alternate}.cosmos-moon-surface{position:absolute;inset:0;border-radius:50%;background:url('assets/moon.webp') 50% 32%/171% auto no-repeat;filter:brightness(.87) contrast(1.02)}.cosmos-moon::after{content:'';position:absolute;inset:-1px;border-radius:50%;background:linear-gradient(110deg,transparent 15%,#09101b10 35%,#030711a8 75%,#030711f0);box-shadow:inset -16px -10px 40px #030711b0}.cosmos-orbit{position:absolute;inset:1%;border:1px solid #d8b8ff17;border-radius:50%;transform:rotate(-25deg) scaleY(.79)}.cosmos-orbit::before{content:'';position:absolute;width:5px;height:5px;top:17%;left:11%;border-radius:50%;background:var(--signal);box-shadow:0 0 15px #d8b8ff80}.cosmos-moon-label{position:absolute;left:16%;bottom:8%;font-size:9px;line-height:1.8;letter-spacing:.19em;color:#ffffff}.cosmos-moon-label span{font-size:7px;color:#ffffff}.cosmos-hero-bottom{display:flex;justify-content:space-between;align-items:center;position:absolute;bottom:28px;left:5%;right:5%;font-size:8px;letter-spacing:.12em;color:#ffffff}.cosmos-hero-bottom>a{display:flex;gap:28px;align-items:center;font-size:10px;letter-spacing:.03em}.cosmos-hero-bottom a span{color:var(--signal);font-size:25px}.cosmos-platforms{position:relative;max-width:1296px;margin:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:22px}.cosmos-platforms>span{font-size:8px;letter-spacing:.17em;color:#ffffff}.cosmos-platforms a{font-size:13px}.cosmos-original,.cosmos-page{max-width:1200px;margin:0 auto;padding:85px 5% 65px}.cosmos-section-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:40px}.cosmos-section-heading .cosmos-eyebrow{margin:0}.cosmos-section-heading>span:last-child{font-size:28px;color:var(--signal)}.cosmos-content{overflow-wrap:anywhere}.cosmos-content h1,.cosmos-content h2,.cosmos-content h3,.cosmos-content h4,.cosmos-content h5,.cosmos-content h6{color:#ffffff;line-height:1.25;letter-spacing:-.025em;text-transform:none;font-weight:600;scroll-margin-top:35px}.cosmos-content h1{font-size:clamp(26px,3.4vw,45px)}.cosmos-content h2{font-size:clamp(23px,2.8vw,36px);margin-top:48px}.cosmos-content h3{font-size:26px}.cosmos-content p{color:#ffffff;max-width:850px;line-height:1.85}.cosmos-content a{color:var(--signal)}.cosmos-content a:hover{text-decoration:underline}.cosmos-content iframe{max-width:100%;border:0;border-radius:10px}.cosmos-content figure{margin:30px 0}.cosmos-content .wp-block-embed.is-type-video{aspect-ratio:16/9;overflow:hidden}.cosmos-content .wp-block-embed.is-type-video iframe{width:100%;height:100%;position:absolute;inset:0}.cosmos-content .wp-block-embed__wrapper{position:relative;width:100%;height:100%}.cosmos-content .wp-block-group{padding-top:12px;padding-bottom:12px}.cosmos-content :is(.wp-block-group,.wp-block-column).has-background{background:transparent!important;border:0!important;border-radius:0;box-shadow:none;padding:0!important}.cosmos-content .wp-block-columns{gap:24px}.cosmos-content .wp-block-button__link{background:var(--signal);color:#0b2137;border-radius:4px}.cosmos-content .wp-block-separator{border-color:var(--line);margin:45px auto}.cosmos-content .alignwide,.cosmos-content .alignfull{max-width:100%;margin-left:0;margin-right:0}.cosmos-content .has-text-align-center{margin-left:auto;margin-right:auto}.cosmos-content .wp-block-image img{border-radius:6px}.cosmos-content .wp-block-social-links{gap:12px}.cosmos-page{min-height:65vh;padding-top:85px}.cosmos-page-title{max-width:900px;margin-bottom:40px}.cosmos-page input,.cosmos-page textarea,.cosmos-page select{max-width:100%;background:#121b28;color:#ffffff;border:1px solid #a88ccc50;border-radius:5px;padding:10px}.cosmos-page button,.cosmos-page input[type=submit]{max-width:100%}.cosmos-footer{max-width:1296px;margin:25px auto 0;padding:55px 0 28px;border-top:1px solid var(--line)}.cosmos-footer-top{display:flex;justify-content:space-between;align-items:center;gap:30px}.cosmos-footer-wordmark{font-size:36px;font-weight:900;letter-spacing:-.055em;line-height:1}.cosmos-footer-wordmark span{display:block;font-size:8px;font-weight:400;letter-spacing:.23em;color:#ffffff;margin-top:15px}.cosmos-footer-top p{font-size:12px;color:#ffffff;line-height:1.8}.cosmos-socials{display:flex;gap:25px;flex-wrap:wrap;margin:32px 0 40px;font-size:12px;color:#ffffff}.cosmos-footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:20px;font-size:9px;color:#ffffff}.cosmos-menu-toggle{background:none;border:1px solid var(--line);color:var(--ink);border-radius:4px;font-size:12px;padding:7px 12px}.cosmos-menu-toggle span{margin-left:10px}body[data-cosmos-phase=dawn]{--nebula-a:rgba(123,70,145,.26);--nebula-b:rgba(178,103,71,.12);--sun-opacity:.8;--sun-x:80%;--sun-y:27%;--star-opacity:.76}body[data-cosmos-phase=day]{--nebula-a:rgba(115,79,163,.28);--nebula-b:rgba(97,77,151,.16);--sun-opacity:1;--sun-x:57%;--sun-y:23%;--star-opacity:.48}body[data-cosmos-phase=dusk]{--nebula-a:rgba(138,66,117,.28);--nebula-b:rgba(175,90,44,.14);--sun-opacity:.7;--sun-x:89%;--sun-y:32%;--star-opacity:.85}@keyframes nebula-drift{to{transform:translate(3%,-2%) rotate(3deg)}}@keyframes moon-drift{to{transform:translateY(-10px) rotate(1deg)}}@keyframes earth-drift{to{transform:translate(10px,-14px)}}
@media(min-width:1500px){.cosmos-hero{min-height:800px}}
@media(max-width:1350px){.cosmos-platforms,.cosmos-footer{margin-left:5%;margin-right:5%}.cosmos-menu{gap:18px}.cosmos-header{gap:18px}}
@media(max-width:1000px){.cosmos-brand>span{font-size:14px}.cosmos-menu{gap:15px}.cosmos-menu a{font-size:11px}.cosmos-hero{padding-top:70px;min-height:660px}.cosmos-hero-copy{max-width:53%}.cosmos-intro{max-width:360px;font-size:14px}.cosmos-artist{font-size:100px}.cosmos-artist i{right:7%}.cosmos-moon-scene{width:70vw;left:43%}}
@media(max-width:720px){html{scroll-padding-top:35px}.cosmos-header{padding:17px 5%;gap:12px;flex-wrap:wrap}.cosmos-brand{margin-right:auto}.cosmos-brand img{width:40px;height:40px}.cosmos-brand small{font-size:7px}.cosmos-menu-toggle{display:block}.cosmos-header nav{width:100%;order:5;margin:0}.cosmos-menu{flex-wrap:wrap;gap:12px 22px;padding-top:12px}.cosmos-menu a{font-size:12px}.cosmos-js #cosmos-navigation{display:none}.cosmos-js #cosmos-navigation.is-open{display:block}.cosmos-hero{min-height:860px;padding:42px 6% 90px;align-items:flex-start;display:block}.cosmos-hero-copy{max-width:100%}.cosmos-eyebrow{font-size:8px;letter-spacing:.12em;max-width:290px;margin-bottom:25px}.cosmos-artist{font-size:94px;max-width:310px;margin-bottom:24px}.cosmos-artist i{right:3%;font-size:21px}.cosmos-hero h1{font-size:15px;letter-spacing:.17em}.cosmos-intro{font-size:14px;max-width:350px;margin-bottom:24px}.cosmos-actions{gap:10px}.cosmos-button{font-size:11px;padding:13px 16px;gap:10px}.cosmos-moon-scene{top:auto;bottom:90px;left:28%;width:87vw;max-width:440px;transform:translate(var(--px),var(--py))}.cosmos-moon-label{left:9%;bottom:6%;font-size:8px}.cosmos-hero-bottom{font-size:7px;left:6%;right:6%;bottom:24px;gap:20px;align-items:flex-end}.cosmos-hero-bottom>span{max-width:175px;line-height:1.8}.cosmos-hero-bottom>a{font-size:9px;gap:10px}.cosmos-platforms{padding:22px 0;gap:15px;justify-content:flex-start;flex-wrap:wrap}.cosmos-platforms>span{width:100%;font-size:7px}.cosmos-platforms a{font-size:12px}.cosmos-original,.cosmos-page{padding:50px 6%}.cosmos-content p{font-size:15px}.cosmos-content .wp-block-columns{flex-direction:column}.cosmos-content .wp-block-column{width:100%!important;flex-basis:100%!important}.cosmos-footer{padding-top:35px}.cosmos-footer-top{align-items:flex-start;flex-direction:column;gap:12px}.cosmos-footer-wordmark{font-size:31px}.cosmos-socials{gap:15px 23px;font-size:11px}.cosmos-footer-bottom{font-size:8px;flex-wrap:wrap;gap:15px}.cosmos-earth{top:75%;left:6%;width:65px}.cosmos-sun{width:17px;height:17px}.cosmos-section-heading .cosmos-eyebrow{max-width:250px}}
@media(max-width:360px){.cosmos-artist{font-size:82px}.cosmos-hero{min-height:850px}.cosmos-button{font-size:10px;padding:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cosmos-moon-scene{--px:0px;--py:0px}.cosmos-button{transition:none}}

/* Light violet reading cards against the dark cosmic background. */
.cosmos-content :is(.wp-block-paragraph,.wp-block-list),
.cosmos-content .wp-block-heading.has-background{color:var(--reading-ink,#0b2137)!important;background:var(--reading-surface,rgba(216,184,255,.75))!important;border:1px solid #bda0e3!important;border-radius:10px;padding:22px 26px}
.cosmos-content .wp-block-list{padding-left:46px}
.cosmos-content :is(.wp-block-paragraph,.wp-block-list,.wp-block-heading.has-background) :is(strong,em,span,a){color:inherit!important}
.cosmos-content :is(.wp-block-paragraph,.wp-block-list,.wp-block-heading.has-background) a{text-decoration:underline;text-underline-offset:3px}
.cosmos-content :is(.wp-block-paragraph,.wp-block-list,.wp-block-heading.has-background) a:hover{color:#245782!important}
@media(max-width:720px){.cosmos-content :is(.wp-block-paragraph,.wp-block-heading.has-background){padding:18px}.cosmos-content .wp-block-list{padding:18px 18px 18px 36px}}
/* Spotify tracks use a 152px player, not WordPress's video ratio spacer. */
.cosmos-content .is-provider-spotify{aspect-ratio:auto!important}
.cosmos-content .is-provider-spotify .wp-block-embed__wrapper{height:auto!important}
.cosmos-content .is-provider-spotify .wp-block-embed__wrapper::before{display:none!important;padding:0!important}
.cosmos-content .is-provider-spotify iframe{position:static!important;display:block;width:100%;height:152px!important}

/* Shared navy surface for legacy buttons, tool controls and cover overlays. */
.dadamoog-cosmos .ub-button-block-main,.cosmos-content button,.cosmos-content input[type=submit]{--ub-button-background-color:#0b2137!important;--ub-button-hover-background-color:#1b4167!important;background:#0b2137!important;color:#ffffff!important;border:1px solid #785f97!important}
.dadamoog-cosmos .ub-button-block-main:hover,.cosmos-content button:hover,.cosmos-content input[type=submit]:hover{background:#1b4167!important;color:#ffffff!important}
.cosmos-content button:disabled{opacity:.55}
.cosmos-content .wp-block-cover__background{background-color:#0b2137!important}

/* Only the introduction to the MOON CALL articles has no reading card. */
.cosmos-content .cosmos-articles-intro{background:transparent!important;color:var(--signal)!important;border:0!important;border-radius:0;padding:0;box-shadow:none}

/* One violet/navy palette across reading cards, navigation and tool panels. */
.dadamoog-cosmos .ub-button-block-main,.cosmos-content button,.cosmos-content input[type=submit]{--ub-button-color:var(--signal)!important;--ub-button-hover-color:var(--signal)!important;color:var(--signal)!important}
.dadamoog-cosmos .ub-button-block-main:hover,.cosmos-content button:hover,.cosmos-content input[type=submit]:hover{color:var(--signal)!important}
.dadamoog-cosmos .ub-button-block-main svg{fill:currentColor}
.cosmos-button:not(.cosmos-button-primary),.cosmos-menu-toggle{background:#0b2137;color:var(--signal);border-color:#d8b8ff40}
.cosmos-button:not(.cosmos-button-primary):hover,.cosmos-menu-toggle:hover{background:#1b4167;color:var(--signal)}
.cosmos-page input,.cosmos-page textarea,.cosmos-page select{background:#0b2137;color:var(--signal)}
.cosmos-content :is(#electronic-chord-generator,#chord-player,#metronome-app,#aspect-calculator,#color-converter,#color-palette-generator){background:var(--reading-surface,rgba(216,184,255,.75))!important;color:#0b2137!important;border:1px solid #bda0e3!important}
.cosmos-content :is(#electronic-chord-generator,#chord-player,#metronome-app,#aspect-calculator,#color-converter,#color-palette-generator) :is(h2,h3,h4,p,label){color:#0b2137!important}
.cosmos-content #result{background:#0b2137!important;color:var(--signal)!important}

/* Empty paragraphs must not turn into decorative bars. */
.cosmos-content .wp-block-paragraph:empty{display:none}
/* The tuner retains its own panel, separate from decorative content groups. */
.cosmos-content #guitar-tuner{max-width:600px!important;padding:28px;background:var(--reading-surface,rgba(216,184,255,.75))!important;color:#0b2137!important;border:1px solid #bda0e3;border-radius:10px}
.cosmos-content #guitar-tuner h2{color:#0b2137!important;margin-top:0}
.cosmos-content #guitar-tuner #tunerCanvas{display:block;background:#0b2137;border:1px solid #785f97!important;border-radius:6px}
.cosmos-content #guitar-tuner #stringDisplay{color:#0b2137!important}
.cosmos-content #guitar-tuner #stringDisplay>div{border-bottom-color:#785f97!important}
@media(max-width:720px){.cosmos-content #guitar-tuner{padding:20px}}

/* Legacy tool styles must not hide default values on navy controls. */
.dadamoog-cosmos .cosmos-content :is(input,textarea,select,option){background-color:#0b2137!important;color:var(--signal)!important;caret-color:var(--signal)}
.dadamoog-cosmos .cosmos-content :is(input,textarea)::placeholder{color:#c7aadf!important;opacity:1}

/* Headings on the cosmic background use the shared light violet accent. */
.cosmos-content :is(h1,h2,h3,h4,h5,h6),.cosmos-page>h1,.cosmos-hero h1,.cosmos-artist,.cosmos-artist>span{color:var(--signal)!important}

.dadamoog-cosmos :is(h1,h2,h3,h4,h5,h6){text-align:center!important}

/* Compact headings for the 4eTBePeHbKu page. */
.page-id-572 .cosmos-content h1{font-size:clamp(13px,1.7vw,22.5px)!important}
.page-id-572 .cosmos-content h2{font-size:18px!important}

/* Reduce all reading-card text on 4eTBePeHbKu by 30%. */
.page-id-572 .cosmos-content :is(.wp-block-paragraph,.wp-block-list){font-size:11.9px!important}
.page-id-572 .cosmos-content :is(.wp-block-paragraph,.wp-block-list).has-small-font-size{font-size:calc(var(--wp--preset--font-size--small,13px) * .7)!important}
.page-id-572 .cosmos-content :is(.wp-block-paragraph,.wp-block-list).has-medium-font-size{font-size:calc(var(--wp--preset--font-size--medium,20px) * .7)!important}
.page-id-572 .cosmos-content :is(.wp-block-paragraph,.wp-block-list).has-large-font-size{font-size:calc(var(--wp--preset--font-size--large,36px) * .7)!important}
@media(max-width:720px){.page-id-572 .cosmos-content :is(.wp-block-paragraph,.wp-block-list){font-size:10.5px!important}}

/* Preserve the original size of the wide introduction above the video sections. */
.page-id-572 .cosmos-content .wp-block-paragraph.alignwide.has-small-font-size{font-size:13px!important}

.page-id-572 .cosmos-content .cosmos-page-title{text-align:left!important}

/* The homepage hashtag card follows the small Hashtags heading. */
body.home .cosmos-content h2.has-small-font-size + p.has-medium-font-size{font-size:10px!important}

/* Welcome heading stands directly on the cosmic background. */
body.home .cosmos-content > h2.wp-block-heading.has-background{background:transparent!important;color:var(--signal)!important;border:0!important;border-radius:0;box-shadow:none;padding:0!important}

/* Contact form entry fields use violet surfaces and navy writing. */
.dadamoog-cosmos .cosmos-content .wpcf7 :is(input.wpcf7-text,input.wpcf7-email,textarea.wpcf7-textarea){background-color:var(--signal)!important;color:#0b2137!important;caret-color:#0b2137;border-color:#bda0e3}
.dadamoog-cosmos .cosmos-content .wpcf7 :is(input.wpcf7-text,input.wpcf7-email,textarea.wpcf7-textarea)::placeholder{color:#3c3453!important;opacity:1}

/* Each 4eTBePeHbKu video and its description share one clearly separated row. */
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5{background:transparent!important;padding:44px 0!important;margin:0!important;border:0!important;border-top:1px solid #d8b8ff30!important}
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5>.wp-block-columns.alignwide{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:40px;min-height:340px;width:100%;margin:0!important}
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5>.wp-block-columns>.wp-block-column{min-width:0;align-self:center}
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5 h2{margin:0 0 20px!important}
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5 .wp-block-column>.wp-block-columns{margin:0!important}
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5 .wp-block-embed.is-type-video{margin:0!important}
@media(max-width:781px){
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5{padding:28px 0!important}
.page-id-572 .cosmos-content>.wp-block-group.is-style-section-5>.wp-block-columns.alignwide{grid-template-columns:minmax(0,1fr);min-height:0;gap:24px}
}

/* Lightweight procedural Moon; styles are confined to the homepage hero. */
.cosmos-moon{overflow:hidden;contain:paint;isolation:isolate;background:#8e8997}
.cosmos-moon .cosmos-moon-surface{width:200%;height:100%;border-radius:0;background:none;filter:none;animation:cosmos-moon-turn 52.5s linear infinite}
.cosmos-moon::after{background:radial-gradient(circle at 32% 30%,#fff8 0%,transparent 40%),linear-gradient(105deg,transparent 20%,#07142620 44%,#071426c9 78%,#071426 100%);box-shadow:inset 0 0 24px 7px #07142680}
.cosmos-moon-scene.is-motion-paused .cosmos-moon,.cosmos-moon-scene.is-motion-paused .cosmos-moon-surface{animation-play-state:paused}
@keyframes cosmos-moon-turn{to{transform:translateX(-50%)}}

@media print{.cosmos-moon .cosmos-moon-surface{animation:none}}

/* Compact, left-aligned MOON CALL and Contact headings, matching Music. */
:is(.page-id-729,.page-id-207) .cosmos-content :is(h1,h2,h3,h4,h5,h6){font-size:clamp(18px,1.7vw,22.5px)!important;text-align:left!important}

/* Uppercase headings on the four requested pages. */
:is(.page-id-732,.page-id-729,.page-id-207,.page-id-572) .cosmos-content :is(h1,h2,h3,h4,h5,h6){text-transform:uppercase!important}

/* MOON CALL reading cards match the Spotify player's width and left edge. */
.page-id-729 .cosmos-content>.wp-block-paragraph{width:calc(100% - var(--wp--preset--spacing--20,7px) - var(--wp--preset--spacing--20,7px))!important;max-width:none!important;margin-left:var(--wp--preset--spacing--20,7px)!important;margin-right:var(--wp--preset--spacing--20,7px)!important}

/* Halve the homepage dA DOODADs heading from 36px to 18px. */
body.home .cosmos-content h5.wp-block-heading.has-large-font-size{font-size:18px!important}

/* Double the song titles in the five homepage release cards. */
body.home .cosmos-content .cosmos-home-release h3{font-size:42px!important;overflow-wrap:anywhere}
@media(max-width:560px){body.home .cosmos-content .cosmos-home-release h3{font-size:32px!important}}

/* Reverse the two requested homepage cards; the listening link sits before the cover. */
body.home .cosmos-content .cosmos-home-release:has(>a:is([href="https://soundcloud.com/dadamoog/moon-da-da-dance"],[href="https://soundcloud.com/dadamoog/earthcut-moondrop"])){flex-direction:row-reverse}
body.home .cosmos-content .cosmos-home-release:has(>a:is([href="https://soundcloud.com/dadamoog/moon-da-da-dance"],[href="https://soundcloud.com/dadamoog/earthcut-moondrop"]))>div{text-align:right}
body.home .cosmos-content .cosmos-home-release:has(>a:is([href="https://soundcloud.com/dadamoog/moon-da-da-dance"],[href="https://soundcloud.com/dadamoog/earthcut-moondrop"])) h3{text-align:left!important}

/* Tools image and all seven violet panels share the section-heading width. */
.page-id-166 .cosmos-content{--tools-panel-width:var(--wp--style--global--content-size,820px)}
.page-id-166 .cosmos-content .wp-block-image:has(img.wp-image-692){width:100%!important;max-width:var(--tools-panel-width)!important;margin-left:auto!important;margin-right:auto!important}
.page-id-166 .cosmos-content .wp-block-image:has(img.wp-image-692) a{display:block}
.page-id-166 .cosmos-content img.wp-image-692{display:block;width:100%;height:auto}
.page-id-166 .cosmos-content .wp-block-columns:has(:is(#electronic-chord-generator,#chord-player,#metronome-app,#guitar-tuner,#aspect-calculator,#color-converter,#color-palette-generator)){width:100%!important;max-width:var(--tools-panel-width)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
.page-id-166 .cosmos-content :is(#electronic-chord-generator,#chord-player,#metronome-app,#guitar-tuner,#aspect-calculator,#color-converter,#color-palette-generator){width:100%!important;max-width:var(--tools-panel-width)!important;margin-left:auto!important;margin-right:auto!important}

/* Center the Tools title in the full section and reduce its responsive size by 30%. */
.page-id-166 .cosmos-content>.cosmos-page-title{font-size:clamp(18.2px,2.38vw,31.5px)!important;text-align:center!important;width:100%;max-width:none;margin-left:auto;margin-right:auto}

/* Contact fields share a doubled 776px width and align with the page heading. */
.page-id-207 .cosmos-content .wp-block-columns:has(.wpcf7){display:block!important;gap:0}
.page-id-207 .cosmos-content .wp-block-columns:has(.wpcf7)>.wp-block-column:not(:has(.wpcf7)){display:none}
.page-id-207 .cosmos-content .wp-block-columns:has(.wpcf7)>.wp-block-column:has(.wpcf7){width:100%!important;max-width:776px!important;margin:0!important}
.page-id-207 .cosmos-content .wpcf7,.page-id-207 .cosmos-content .wpcf7 form{width:100%;margin:0;text-align:left}
.page-id-207 .cosmos-content .wpcf7 :is(label,.wpcf7-form-control-wrap){display:block;width:100%}
.page-id-207 .cosmos-content .wpcf7 :is(input.wpcf7-text,textarea.wpcf7-textarea){width:100%!important;max-width:none!important;box-sizing:border-box}
