@import url("https://unpkg.com/7.css");

body {
  background-color: white;
  color: black;
  font-family: Verdana;
  background-image: url("/assets/win7.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  min-height: 100vh;
}

[aria-label] {
  position: relative;
}

[aria-label]:hover::after {
  content: attr(aria-label);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #ffffe1;
  color: #000000;
  border: 1px solid #767676;
  padding: 3px 6px;
  font-family: segoe ui, tahoma, sans-serif;
  font-size: 11px;
  white-space: nowrap;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  pointer-events: none;
}

/* Windows-style hover tooltip */
[title] {
  position: relative;
  cursor: pointer;
}

[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #ffffe1;
  color: #000000;
  border: 1px solid #767676;
  padding: 2px 6px;
  font-family: segoe ui, tahoma, sans-serif;
  font-size: 11px;
  white-space: nowrap;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  pointer-events: none;
}

.desktop {
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.messenger {
  width: 300px;
  height: 540px;
  display: flex;
  flex-direction: column;
}
.messenger .window-body {
  flex: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(#ffffff 0%, #f4f9fe 55%, #d9e8f6 100%);
}
.mhead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 16px 12px;
  background: linear-gradient(#ffffff 0%, #eef5fc 100%);
  border-bottom: 1px solid #d3e0ee;
}
.avatarframe {
  position: relative;
  flex: none;
  padding: 6px;
  border: 1px solid #cccccf;
  border-radius: 16px / 24px;
}
.avatarframe.online {
  background: linear-gradient(#d6ffdb00 0%, #d6ffdb 30%, #66ff00 100%);
  box-shadow: 0 4px 8px #66ff00;
}
.avatarframe.idle {
  background: linear-gradient(#ff9a0000 0%, #d8820055 30%, #fca30d 100%);
  box-shadow: 0 4px 8px #fca30d;
}
.avatarframe.dnd {
  background: linear-gradient(#ffd6d600 0%, #ffd6d6 30%, #ff3b30 100%);
  box-shadow: 0 4px 8px #ff3b30;
}
.avatarframe.offline {
  background: linear-gradient(#e6e6e600 0%, #e6e6e6 30%, #9a9a9a 100%);
  box-shadow: 0 4px 8px #9a9a9a;
}
.gloss {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: 16px / 24px;
  pointer-events: none;
  background: radial-gradient(
    ellipse 200px 140px at 50% 0%,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 51%
  );
}
.avatarimg {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid grey;
  border-radius: 5px;
}
.who {
  min-width: 0;
}
.name {
  font-size: 13px;
  color: #1b2a3a;
}
.name .paren {
  font-size: 11px;
  color: #5b6b7b;
}
.activity {
  margin-top: 4px;
  font-size: 11px;
  color: #4a6b8a;
  word-break: break-word;
}
.activity:empty::before {
  content: "share a quick message";
  color: #7d93a8;
}
.searchrow {
  padding: 10px 12px;
}
.searchrow input {
  width: 100%;
  box-sizing: border-box;
}
.welcome {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 12px;
}
.welcome h3 {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  color: #1e66b4;
}
.whatsnew {
  padding: 8px 12px;
  font-size: 11px;
  color: #3b4b5b;
  border-top: 1px solid #c9d9ea;
  background: linear-gradient(#f3f8fd, #e1edf9);
}
.whatsnew b {
  margin-right: 6px;
  color: #1e66b4;
}
.linklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.linklist li {
  margin: 8px 0;
}
.linklist a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.icon.discord {
  fill: #5865f2;
}
.icon.roblox {
  fill: #000000;
}
.icon.twitter {
  fill: #000000;
}
.icon.youtube {
  fill: #ff0000;
}
.groupheader {
  margin: 12px 0 4px 0;
  font-size: 11px;
  color: #4a6b8a;
}
.groupheader::before {
  content: "\25be ";
}
.friendlist {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
}
.friendlist li {
  display: flex;
  align-items: center;
  margin: 4px 0;
  font-size: 12px;
}
.friendlist a {
  color: #1e66b4;
  text-decoration: none;
}
.friendlist a:hover {
  text-decoration: underline;
}
.friendhost {
  margin-left: 6px;
  font-size: 10px;
  color: #7d93a8;
}
.friendicon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
.infolist {
  margin: 0;
}
.infolist dt {
  margin-top: 12px;
  font-weight: bold;
  color: #1e66b4;
}
.infolist dt:first-child {
  margin-top: 0;
}
.infolist dd {
  margin: 4px 0 0 0;
}
.muted {
  font-size: 11px;
  color: #7d93a8;
}
.pride {
  display: inline-block;
  width: 24px;
  height: 16px;
  margin-left: 8px;
  vertical-align: middle;
  border: 1px solid #888888;
}
.pride.nonbinary {
  background: linear-gradient(
    #fcf434 0 25%,
    #ffffff 25% 50%,
    #9c59d1 50% 75%,
    #2c2c2c 75%
  );
}
.pride.demigirl {
  background: linear-gradient(
    #555555 0 14.3%,
    #a8a8a8 14.3% 28.6%,
    #ffb6c1 28.6% 42.9%,
    #ffffff 42.9% 57.2%,
    #ffb6c1 57.2% 71.5%,
    #a8a8a8 71.5% 85.8%,
    #555555 85.8%
  );
}
.pride.pansexual {
  background: linear-gradient(
    #ff218c 0 33.34%,
    #ffd800 33.34% 66.67%,
    #21b1ff 66.67%
  );
}
.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}