body {
  margin: 0;
  color: #d8e1c8;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  background-image:
    linear-gradient(rgba(20, 28, 17, 0.78), rgba(20, 28, 17, 0.78)),
    url("/Images/Background.png");
  background-color: #20271c;
  background-attachment: fixed;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><rect x='15' y='6' width='2' height='6' fill='%23000000'/><rect x='15' y='20' width='2' height='6' fill='%23000000'/><rect x='6' y='15' width='6' height='2' fill='%23000000'/><rect x='20' y='15' width='6' height='2' fill='%23000000'/><rect x='15' y='7' width='2' height='4' fill='%2300ff66'/><rect x='15' y='21' width='2' height='4' fill='%2300ff66'/><rect x='7' y='15' width='4' height='2' fill='%2300ff66'/><rect x='21' y='15' width='4' height='2' fill='%2300ff66'/></svg>") 16 16, crosshair;
}

h1,
h2 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

a {
  color: #d6e6b5;
  font-weight: bold;
}

a:hover {
  color: #f4ffde;
}

a,
button,
input[type="button"],
input[type="submit"],
.page-tab,
.friend-grid a {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><rect x='15' y='6' width='2' height='6' fill='%23000000'/><rect x='15' y='20' width='2' height='6' fill='%23000000'/><rect x='6' y='15' width='6' height='2' fill='%23000000'/><rect x='20' y='15' width='6' height='2' fill='%23000000'/><rect x='15' y='7' width='2' height='4' fill='%2300ff66'/><rect x='15' y='21' width='2' height='4' fill='%2300ff66'/><rect x='7' y='15' width='4' height='2' fill='%2300ff66'/><rect x='21' y='15' width='4' height='2' fill='%2300ff66'/></svg>") 16 16, crosshair;
}

.page {
  width: min(1000px, 94vw);
  margin: 14px auto 30px;
}

.page-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-left: 8px;
  margin-bottom: 0;
}

.page-tab {
  display: inline-block;
  min-width: 96px;
  padding: 8px 14px 7px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #d4dec1;
  border: 1px solid #6f8063;
  border-top-color: #a1b293;
  border-left-color: #a1b293;
  border-right-color: #2f392a;
  border-bottom-color: #313c2e;
  background: linear-gradient(180deg, rgba(86, 100, 74, 0.92), rgba(53, 62, 46, 0.95));
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  top: 1px;
}

.page-tab:hover {
  color: #edf6d7;
  background: linear-gradient(180deg, rgba(95, 111, 82, 0.95), rgba(58, 68, 50, 0.98));
}

.page-tab[aria-disabled="true"] {
  color: #a8b398;
  opacity: 0.82;
}

.page-tab[aria-disabled="true"]:hover {
  color: #a8b398;
  background: linear-gradient(180deg, rgba(86, 100, 74, 0.92), rgba(53, 62, 46, 0.95));
}

.page-tab[aria-current="page"] {
  color: #e2c86f;
  background: linear-gradient(180deg, rgba(100, 110, 78, 0.98), rgba(66, 74, 52, 0.98));
  border-bottom-color: #5f6e54;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.16);
  z-index: 1;
}

.box {
  border: 1px solid #758368;
  border-top-color: #9fb091;
  border-left-color: #9fb091;
  border-right-color: #313c2e;
  border-bottom-color: #313c2e;
  background: linear-gradient(180deg, rgba(92, 108, 80, 0.88), rgba(49, 58, 42, 0.92));
  padding: 10px;
  box-shadow: inset 1px 1px 0 rgba(214, 228, 188, 0.25), inset -1px -1px 0 rgba(0, 0, 0, 0.4), 0 3px 12px rgba(0, 0, 0, 0.35);
}

.title-bar {
  background: linear-gradient(180deg, rgba(102, 120, 82, 0.95), rgba(57, 66, 47, 0.97));
  margin-bottom: 14px;
}

.title-bar h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #eef5dc;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9);
  letter-spacing: 0.05em;
}

.title-bar marquee {
  background: rgba(31, 38, 28, 0.95);
  color: #c9ddb0;
  border: 1px solid #637159;
  border-top-color: #2d382a;
  border-left-color: #2d382a;
  border-right-color: #90a37f;
  border-bottom-color: #90a37f;
  padding: 4px;
  font-size: 0.95rem;
}

.layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 14px;
}

.profile {
  background: linear-gradient(180deg, rgba(79, 91, 69, 0.92), rgba(47, 55, 40, 0.96));
}

.profile h2,
.content h2 {
  margin-top: 0;
  color: #f0f7df;
  font-size: 1.2rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(214, 228, 188, 0.22);
  padding-bottom: 6px;
}

.badge {
  width: 100%;
  border: 1px solid #20271c;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px #728167;
  filter: saturate(0.65) sepia(0.2) hue-rotate(18deg) contrast(0.95);
  margin-bottom: 8px;
}

.profile hr {
  border: none;
  border-top: 1px solid #7e8f71;
  margin: 10px 0;
}

.profile ul {
  margin-top: 4px;
}

.counter {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(180deg, #394532, #1a2017);
  color: #ddebba;
  padding: 4px 8px;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  letter-spacing: 1px;
  border: 1px solid #78886b;
  border-top-color: #99aa8a;
  border-left-color: #99aa8a;
  border-right-color: #293224;
  border-bottom-color: #293224;
}

.content {
  display: grid;
  gap: 14px;
}

.intro {
  background: linear-gradient(180deg, rgba(87, 100, 74, 0.9), rgba(44, 51, 38, 0.94));
}

.now-listening {
  background: linear-gradient(180deg, rgba(93, 108, 79, 0.94), rgba(41, 48, 36, 0.98));
  border-color: #77876b;
}

.player-wrap {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
}

.album-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #21281d;
  box-shadow: 0 0 0 1px #748568, 2px 2px 0 rgba(0, 0, 0, 0.45);
  filter: saturate(0.75) hue-rotate(8deg) brightness(0.9);
}

.player-meta {
  background: linear-gradient(180deg, #2b3525, #1b2217);
  border: 1px solid #738368;
  border-top-color: #2a3325;
  border-left-color: #2a3325;
  border-right-color: #8ea17d;
  border-bottom-color: #8ea17d;
  padding: 8px;
}

.player-label {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #aebd98;
}

.track-line {
  margin: 0;
  color: #f2f7e6;
  font-weight: bold;
}

.album-line {
  margin: 2px 0 8px;
  color: #c6d7aa;
  font-size: 0.92rem;
}

.progress-shell {
  height: 14px;
  margin: 0 0 6px;
  background: linear-gradient(180deg, #171d14, #263020);
  border: 1px solid #6f8063;
  border-top-color: #283323;
  border-left-color: #283323;
  border-right-color: #8ea17d;
  border-bottom-color: #8ea17d;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(180deg, #dcebbf, #7d906a);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.35);
}

.time-line {
  margin: 0 0 8px;
  color: #e6efd2;
  font-size: 0.82rem;
}

.eq {
  height: 20px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.eq span {
  display: inline-block;
  width: 7px;
  background: linear-gradient(180deg, #d9e9b9, #667455);
  animation: eqBounce 0.9s ease-in-out infinite;
}

.eq span:nth-child(2) {
  animation-delay: 0.1s;
}

.eq span:nth-child(3) {
  animation-delay: 0.24s;
}

.eq span:nth-child(4) {
  animation-delay: 0.16s;
}

.eq span:nth-child(5) {
  animation-delay: 0.3s;
}

@keyframes eqBounce {
  0%,
  100% {
    height: 4px;
  }
  50% {
    height: 18px;
  }
}

.footer-box {
  margin-top: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(74, 87, 63, 0.92), rgba(35, 43, 30, 0.97));
  color: #d5e0c0;
}

.footer-box a {
  color: #ecf7d2;
}

.blink {
  color: #ecf7d2;
  font-weight: 900;
  animation: blink 0.9s steps(2, start) infinite;
}

.profile strong,
.player-label,
.counter {
  text-transform: uppercase;
}

.friend-grid a,
button,
input[type="button"],
input[type="submit"] {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border: 1px solid #728264;
  border-top-color: #a4b595;
  border-left-color: #a4b595;
  border-right-color: #293224;
  border-bottom-color: #293224;
  background: linear-gradient(180deg, #667458, #44503a);
  color: #eef6df;
  padding: 7px 8px;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.12);
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 8px;
}

.friend-grid a:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: linear-gradient(180deg, #738165, #4c5a42);
}

.friend-grid a:active,
button:active,
input[type="button"]:active,
input[type="submit"]:active {
  border-top-color: #293224;
  border-left-color: #293224;
  border-right-color: #a4b595;
  border-bottom-color: #a4b595;
  box-shadow: inset -1px -1px 0 rgba(255, 255, 255, 0.08);
}

.comments {
  background: linear-gradient(180deg, rgba(81, 93, 69, 0.9), rgba(39, 46, 34, 0.95));
}

.comment {
  border: 1px solid #6d7d61;
  background: rgba(24, 30, 21, 0.88);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
  padding: 8px;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .friend-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .player-wrap {
    grid-template-columns: 1fr;
  }

  .album-cover {
    max-width: 140px;
  }
}
