/* variables */
:root {
  --bg: #000000;
  --fg: #f0f0f0;
  --dim: #888888;
  --accent: #ffffff;
  --line: #333333;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.4;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 10px calc(10px + env(safe-area-inset-bottom, 0px));
}

/* main content */
.box {
  display: inline-block;
  max-width: 250px;
}

.name {
  margin: 0 0 1px;
  color: var(--accent);
  font-size: 14px;
  font-weight: bold;
}

.smaller {
  color: var(--dim);
  font-size: 10px;
  font-weight: normal;
}

.tagline {
  margin: 0 0 4px;
  color: var(--dim);
}

/* now playing */
.nowplaying {
  display: none;
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 12px;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.nowplaying.visible { display: flex; }

.nowplaying img {
  order: 2;
  flex-shrink: 0;
  display: block;
  width: 68px;
  height: 68px;
}

.nowplaying .info {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nowplaying .label {
  color: var(--dim);
  font-size: 10px;
  text-transform: lowercase;
}

.nowplaying .track {
  color: var(--fg);
  font-size: 12px;
  text-decoration: none;
}

.nowplaying .artist {
  color: var(--dim);
  font-size: 12px;
  font-weight: normal;
}

.nowplaying .album {
  color: var(--dim);
  font-size: 10px;
}

/* socials */
.links {
  display: flex;
  flex-flow: row wrap;
  gap: 13px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.links li,
.links a { display: flex; }

.links a img {
  width: 17px;
  height: 17px;
  filter: invert(58%) sepia(0%) saturate(0%);
  transition: filter 0.15s ease;
}

.links a:hover img,
.links a:focus-visible img {
  filter: invert(100%);
}

/* 88x31s */
.buttons {
  display: flex;
  flex-flow: row wrap;
  gap: 3px;
}

.btn88 {
  display: block;
  width: 88px;
  height: 31px;
  line-height: 0;
}

.btn88 img {
  display: block;
  width: 88px;
  height: 31px;
  border: none;
}

.btn88:hover img,
.btn88:focus-visible img {
  opacity: 0.85;
}
