/* Draw a Song: a polish pass over the existing screens (2026-11-10).
   Looks only: surfaces, edges, shadows and colours. No size, position or behaviour changes, so nothing moves and
   nothing works differently. Loaded after index.html's styles and plus.css; delete the <link> to get the old look back. */

/* ---- the room: a deeper night with a soft light from above ---- */
body {
  background:
    radial-gradient(120% 60% at 50% -12%, #2a3170 0%, rgba(42, 49, 112, 0) 60%) fixed,
    radial-gradient(90% 50% at 50% 112%, #1a1440 0%, rgba(26, 20, 64, 0) 70%) fixed,
    #0e1124;
}

/* ---- the paper: lifted off the room ---- */
.paper {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 2px 6px rgba(0, 0, 0, 0.35), 0 28px 60px -14px rgba(0, 0, 0, 0.7);
}

/* ---- tool buttons: soft glass tiles instead of outlined boxes ---- */
.btn, .galt, .psong {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.045) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 14px -6px rgba(0, 0, 0, 0.55);
  transition: transform .08s, background-color .15s, box-shadow .15s;
}
.btn svg { stroke-width: 1.9; }
.btn[aria-pressed="true"], .galt[aria-pressed="true"], .galt[aria-expanded="true"] {
  background: linear-gradient(180deg, #ffffff 0%, #ece9ff 100%); border-color: transparent;
  box-shadow: inset 0 -2px 0 rgba(18, 21, 42, 0.08), 0 8px 18px -6px rgba(140, 150, 255, 0.55);
}
.btn.hot, .btn.hot[aria-pressed="true"], .gmain {
  border-color: transparent;
  background: linear-gradient(160deg, #ff86a9 0%, #ff5c8a 48%, #f0428f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 22px -6px rgba(255, 92, 138, 0.6);
}
.btn.armed, .btn.armed[aria-pressed="true"] { background: linear-gradient(160deg, #ff7a66 0%, #e4503c 100%); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 22px -6px rgba(228, 80, 60, 0.6); }
.btn:disabled, .galt:disabled { box-shadow: none; }

/* ---- pop-up menus: frosted glass, softer edges ---- */
.pop {
  background: rgba(24, 28, 56, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px -12px rgba(0, 0, 0, 0.7);
}
.pop::after { background: rgba(26, 30, 60, 0.97); border-right-color: rgba(255, 255, 255, 0.1); border-bottom-color: rgba(255, 255, 255, 0.1); }
.pop button { background: rgba(255, 255, 255, 0.07); border-radius: 12px; }
.pop button:active { background: rgba(255, 255, 255, 0.16); }
.pop button.armed { background: #e4503c; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .pop { background: #1b1f3b; } }
@media (prefers-reduced-transparency: reduce) { .pop { background: #1b1f3b; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- colour dots: little lit beads ---- */
.sw { border: 0; box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.35), inset 0 -3px 4px rgba(0, 0, 0, 0.18), 0 3px 8px -2px rgba(0, 0, 0, 0.5); }
.sw[aria-pressed="true"] { box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.35), inset 0 -3px 4px rgba(0, 0, 0, 0.18), 0 0 0 3px #0e1124, 0 0 0 5px #ffffff, 0 6px 14px rgba(0, 0, 0, 0.5); }

/* ---- the keyboard strip: no outline, a soft shadow under it ---- */
.keys { border: 0; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 22px -8px rgba(0, 0, 0, 0.6); }

/* ---- the top pills ---- */
.xpill { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px -6px rgba(0, 0, 0, 0.5); }

/* ---- the sheets (Settings, Games, library): groups with a hair of light on top ---- */
.sgroup, .gcard { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
