/* Framed: the player's one button, Play, for when the browser wants a tap inside the frame before it starts the sound.
   Drawn to sit in the Garden as if it were the Garden's own (web/src/app/music.css .mu-round: the ink button, round when
   the frame is small, a pill with "Play" when wider). The Garden sets the frame's size; the button fills it. */
@font-face { font-family: Geist; font-style: normal; font-weight: 100 900; font-display: block; src: url(/geist-latin.woff2) format("woff2"); }
:root { color-scheme: light; --ink: #0D0D0D; --white: #FDFFFF; }
html, body { margin: 0; height: 100%; background: transparent; overflow: hidden; }
body { font: 500 13px/1 Geist, -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
#act { all: unset; box-sizing: border-box; position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 6px; cursor: pointer; color: var(--white); background: var(--ink); letter-spacing: -.005em; -webkit-user-select: none; user-select: none;
  transition: background .15s ease; }
#act[hidden] { display: none; }
#act:hover { background: rgb(13 13 13 / .82); }
#act:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; box-shadow: inset 0 0 0 2px var(--white); }
#act::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent currentColor; }
/* A small square frame is a round play button (a song card's, the mini player's): the mark only. */
@media (max-width: 60px) {
  #act { border-radius: 50%; }
  #label { display: none; }
  #act::before { border-width: 5px 0 5px 8px; margin-left: 2px; }
}
/* Over a dark room (the ktOS room) the button is light on dark. */
[data-theme="dark"] #act { color: var(--ink); background: var(--white); }
[data-theme="dark"] #act:hover { background: rgb(253 255 255 / .86); }
[data-theme="dark"] #act:focus-visible { outline-color: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.alone { display: none; }
/* The connect page (opened on its own, in a tab): one plain card, the Garden's Tech White. */
body[data-alone] { background: #FDFFFF; color: #0D0D0D; display: grid; place-items: center; padding: 24px; box-sizing: border-box; overflow: auto; }
body[data-alone] .alone { display: block; width: min(400px, 100%); }
.alone h1 { margin: 0 0 10px; font: 600 22px/1.2 Geist, -apple-system, system-ui, sans-serif; letter-spacing: -.015em; }
.alone p { margin: 0 0 18px; font: 400 15px/1.5 Geist, -apple-system, system-ui, sans-serif; color: rgb(13 13 13 / .72); }
.alone .btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 6px; cursor: pointer;
  font: 500 14px/1 Geist, -apple-system, system-ui, sans-serif; color: #FDFFFF; background: #0D0D0D; }
.alone .btn:hover { background: rgb(13 13 13 / .82); }
.alone .btn:focus-visible { outline: 2px solid #0D0D0D; outline-offset: 2px; }
.alone .btn.quiet { color: #0D0D0D; background: #FDFFFF; box-shadow: inset 0 0 0 1px rgb(13 13 13 / .18); }
.alone .btn.quiet:hover { background: #EEF0F2; }
.alone .btn[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { #act, .alone .btn { transition: none; } }
