/* Shared colour and surface treatment. Layout and music controls stay in their modules. */
:root {
  --pink: #ff409e;
  --edge: #e5b7d326;
  --panel: #1c1521;
  --panel-raised: #292031;
  --action-fill: linear-gradient(115deg,#ff9fd2 0%,#ff52ac 42%,#ff258e 100%);
  --action-hover: linear-gradient(115deg,#ffb3dc 0%,#ff70ba 42%,#ff409f 100%);
  --accent-wash: #ff299c19;
  --surface-edge: #ff99d132;
}
body { --ambient-line-opacity: .66; --ambient-glow-opacity: 1; }
body[data-view="home"] { --ambient-line-opacity: .9; }
.ambient-scene {
  background: radial-gradient(ellipse at 55% -35%,#622447 0,transparent 65%),
    radial-gradient(ellipse at 100% 70%,#62254f26 0,transparent 55%),
    linear-gradient(145deg,#180e1b 0%,#0d0b12 50%,#171020 100%);
}
.ambient-glow-one {
  background: radial-gradient(ellipse at center,#ff168b61 0%,#ee329b35 25%,#b4268b19 46%,transparent 71%);
}
.ambient-glow-two {
  background: radial-gradient(ellipse at center,#ff329e4b 0%,#bb53df2a 26%,#a22f9f12 47%,transparent 71%);
}
.masthead {
  border-image: linear-gradient(90deg,#ff3c9f00,#ff62b46b 25%,#e8b2d929 70%,#ff3c9f00) 1;
}
.wordmark { transition: filter .22s ease; }
.nav-key[aria-current="page"],.commerce-nav a[aria-current="page"] {
  color: #fff2fa;
  background: linear-gradient(125deg,#ff3e9e26,#a5439d15);
  box-shadow: inset 0 0 0 1px #ff7ec43d,inset 0 1px 0 #ffd7ed16;
}
.compose-panel,.sound-panel,.panel,.empty,.job,.commerce-block,.commerce-stats article {
  border-color: #e9b8d529;
  background: radial-gradient(ellipse at 0 0,#ff3e9a0a,transparent 60%),linear-gradient(145deg,#211927f5,#16121df5);
  box-shadow: inset 0 1px 0 #f9d7ed0e,0 12px 32px -20px #0009;
  transition: border-color .2s ease,box-shadow .2s ease;
}
.compose-panel:focus-within,.sound-panel:focus-within {
  border-color: #ff66b655;
  box-shadow: inset 0 1px 0 #ffb2dc13,0 0 30px -12px #ff259c23;
}
.panel-head svg,.empty-icon,.commerce-symbol { color: #ff75b9; }
.studio-heading h1,.commerce-heading h1 { text-shadow: 0 4px 30px #ff28931a; }
.mode-tabs .key[aria-pressed="true"] { color:#ffe3f3; border-color:#ff5bad8c; background:linear-gradient(135deg,#ff449b32,#ac2d7924); box-shadow:inset 0 1px 0 #ffb7de15,0 0 14px #ff2d9010; }
.artist-card { border-color: #ff76ba36; background: #211722; box-shadow: 0 14px 38px #09050e60; }
.artist-copy { border-color: #ff76ba29; background: linear-gradient(140deg,#2c192b,#1a1420); }
.field input:focus,.field textarea:focus,.field select:focus,.search:focus,.prompt:focus,
.auth-panel .field>input:focus,.auth-password>input:focus {
  border-color: #ff6eb8;
  box-shadow: 0 0 0 3px #ff319b13,inset 0 1px 4px #0003;
}
.range-field output,.panel-link,.commerce-kicker { color: #ff7abe; }
input[type="range"],input[type="checkbox"] { accent-color: #ff409e; }
.track { background: linear-gradient(110deg,#211a27,#19151f); border-color: #e8bdd520; transition: background .2s,border-color .2s,box-shadow .2s; }
.track.playing { background: linear-gradient(110deg,#392036,#201725); border-color: #ff58aa77; box-shadow: inset 3px 0 0 #ff399e,0 0 20px #ff319c0c; }
.commerce-plan,.commerce-account {
  background: radial-gradient(ellipse at 100% 0,#ff3d9b14,transparent 60%),linear-gradient(145deg,#271c2e,#17121e 75%);
  border-color: #e8b3d332;
  box-shadow: inset 0 1px 0 #ffd3ed12,0 16px 38px -20px #0009;
}
.commerce-plan.current {
  border-color: #ff4fa9a6;
  box-shadow: inset 0 1px 0 #ffd0eb29,0 0 0 3px #ff3c9e0e,0 12px 38px #ff258e0c;
}
.commerce-symbol,.empty-icon { background: linear-gradient(135deg,#ff329e23,#c250c417); border-color: #ff78c047; }
.auth-page { border-color: #fa88c638; box-shadow: inset 0 1px 0 #ffd6ee12,0 25px 90px #16021266; }
.auth-panel { background: radial-gradient(ellipse at 100% 0,#ff329b12,transparent 65%); }
#welcome-dialog { border-color: #ff83c452; background: radial-gradient(ellipse at 0 0,#ff319a20,transparent 58%),linear-gradient(145deg,#2b1c31,#17101e 70%); }
#player { border-color: #ff82c64a; background: radial-gradient(ellipse at 5% 100%,#ff299c1d,transparent 50%),linear-gradient(120deg,#2c1c30f7,#16101efa 60%,#25182cf7); box-shadow: inset 0 1px 0 #ffe0f218,0 18px 50px #0009,0 -4px 32px #ff299b0a; }
.home-page { --home-rose: #ff409e; --home-line: #f3bfd728; }
.home-hero { border-color: #ff9cd535; background: #17111c; box-shadow: 0 25px 75px -35px #000c,0 0 65px -35px #ff329d50,inset 0 1px 0 #ffd8ed13; }
.home-hero::after { background: radial-gradient(ellipse at 0% 0%,#e82a8f2c,transparent 58%),radial-gradient(ellipse at 12% 100%,#c12a771e,transparent 55%),linear-gradient(90deg,#17111c 27%,#17111ce3 40%,#17111c00 64%); }
.home-hero-image { border-color: #ff8dc532; }
.home-hero-image::after { background: linear-gradient(0deg,#211021eb,transparent 47%),linear-gradient(90deg,#e92b900e,transparent 40%); }
.home-hero h1 em { color: #ff409e; text-shadow: 0 0 40px #ff238e29; }
.home-section h2 em { color: #f396c6; }
.home-spark { text-shadow: 0 0 16px #ff399e99; }
.home-section-number { border-color: #ff72bc46; background: #ff329c09; }
.home-featured { border-color: #ffadd759; background: linear-gradient(115deg,#48223edb,#211726ed); box-shadow: 0 12px 36px #0005,inset 0 1px 0 #ffe2f522,0 0 25px #ff288c12; }
.home-featured>.home-wave { color: #ff59ae; opacity: 1; }
.home-featured-note>p em { color: #ff86c1; }
.home-path,.home-workflow,.home-samples-empty { border-color: #ff9cd52c; box-shadow: inset 0 1px 0 #ffd9ef0e,0 15px 45px -25px #0009; }
.home-path-song { background: radial-gradient(ellipse at 0 0,#ff329a2b,transparent 70%),#211524; }
.home-path-beat { background: radial-gradient(ellipse at 110% 90%,#c557ce26,transparent 70%),#1d1626; }
.home-path-audio { background: radial-gradient(ellipse at 110% 110%,#fa318c27,transparent 70%),#201421; }
.home-workflow { background: radial-gradient(ellipse at 0% 100%,#ee278e1b,transparent 60%),#1b1420; }
.home-song-art>.home-wave { color: #ff5bab; opacity: .9; }
.home-text-link { color: #ff9acb; }
.home-empty-sticker { background: linear-gradient(125deg,#ffa3d3,#ff5aaf); box-shadow: 0 6px 28px #ff31932b; }
.home-track-sleeve { border-color: #f88ec433; }
.site-legal,.home-footer { border-top-color: #ff8ac12c; }
@media (hover:hover) {
  .wordmark:hover { filter: drop-shadow(0 0 10px #ff3a982b); }
  .track:hover { border-color: #ff7fc04d; background: linear-gradient(110deg,#2b1d2e,#211725); }
  .commerce-plan:hover { border-color: #ff83c365; box-shadow: inset 0 1px 0 #ffbce521,0 14px 38px #ff238d0b; }
}
@media (max-width:760px) {
  body { --ambient-line-opacity: .5; }
  body[data-view="home"] { --ambient-line-opacity: .72; }
}
@media (prefers-reduced-motion:reduce) {
  .wordmark,.compose-panel,.sound-panel,.panel,.empty,.job,.commerce-block,.commerce-stats article,.track { transition:none; }
}
@media (forced-colors:active) {
  .masthead { border-image:none; }
  .home-hero::after,.home-hero-image::after { background:none; }
  .compose-panel,.sound-panel,.panel,.empty,.job,.track,.commerce-block,.commerce-plan,.commerce-account,.commerce-stats article,.auth-panel,#welcome-dialog,#player { background:Canvas; border-color:CanvasText; box-shadow:none; }
  .nav-key[aria-current="page"],.commerce-nav a[aria-current="page"] { background:Highlight; color:HighlightText; }
  .home-hero h1 em,.home-section h2 em { color:CanvasText; text-shadow:none; }
}
