* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: black;
  --bg-light: #0978ff;
  --bg-dark: #0044ba;
  --surface: #8a8a8a;
  --surface-light: #999;
  --border-light: rgba(255, 255, 255, 0.35);
  --border-dark: rgba(0, 0, 0, 0.45);
  --text-primary: #fff;
  --text-secondary: #ddd;
  --text-dim: #aaa;
  --text-dark: #222;
  --accent: #fff;
  --btn-face: linear-gradient(
    180deg,
    #b0b0b0 0%,
    #888 40%,
    #767676 60%,
    #8a8a8a 100%
  );
  --btn-face-active: linear-gradient(
    180deg,
    #606060 0%,
    #787878 40%,
    #868686 60%,
    #6a6a6a 100%
  );
  --inset-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(0, 0, 0, 0.3);
  --raised-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset, 0 2px 4px rgba(0, 0, 0, 0.3);
}
@font-face {
  font-family: "SisterSpray";
  src: url("Sister Spray.ttf") format("truetype");
}
@font-face {
  font-family: "Mersey Cowboy";
  src: url("Mersey\ Cowboy.otf") format("truetype");
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  user-select: none;
}

.device {
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background-size: 100px;
}

.device::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
}

/* ── STATUS BAR ── */
.status-bar {
  height: 28px;
  background: linear-gradient(180deg, #3a3a3a 0%, #2e2e2e 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.status-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.status-left {
  font-size: 11px;
  font-weight: 500;
  color: #ddd;
  letter-spacing: 0.5px;
}

.status-center {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.status-right {
  font-size: 14px;
  color: #ddd;
  letter-spacing: 1px;
}

/* ── MAIN CONTENT ── */
.main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.main-content::-webkit-scrollbar {
  width: 6px;
}
.main-content::-webkit-scrollbar-track {
  background: transparent;
}
.main-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

/* ── VIEWS ── */
.view {
  display: none;
  padding: 20px;
}
.view.active {
  display: block;
}

/* ════ HOMEPAGE ════ */
.homepage-cover {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #000 0%, #000 50%, #050505 100%);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-bottom: -40px;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.homepage-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.homepage-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

.homepage-profile-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 0 10px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.homepage-avatar {
  width: 172px;
  height: 172px;
  border-radius: 10px;
  background: linear-gradient(135deg, #555, #333);
  border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
}

.homepage-identity {
  padding-bottom: 4px;
}

.homepage-name {
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.3px;
}

.homepage-handle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
}

.luv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.luv-btn {
  position: relative;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: var(--btn-face);
  box-shadow: var(--raised-shadow);
  letter-spacing: 0.3px;
  transition: all 0.1s;
  min-width: 130px;
  text-align: center;
  user-select: none;
  overflow: visible;
}

.luv-btn.pressed {
  background: var(--btn-face-active);
  box-shadow: var(--inset-shadow);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transform: translateY(1px);
}

.luv-count {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
  min-width: 28px;
  transition: transform 0.15s;
}

.luv-count.bump {
  transform: scale(1.3);
}

.float-heart {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  pointer-events: none;
  animation: floatUp 1s ease-out forwards;
  z-index: 99;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  60% {
    opacity: 1;
    transform: translateX(-50%) translateY(-36px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-56px) scale(0.8);
  }
}

.homepage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.profile-block {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-block-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.profile-block-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  text-transform: capitalize;
  text-shadow: 2px 2px 2px black;
}

.profile-block-text a {
  color: #aad4ff;
  text-decoration: none;
}

.status-row {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  padding: 0 2px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6dff8a;
  box-shadow: 0 0 4px #6dff8a;
}

.song-block {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.song-block-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  position: top;
  display: block;
  background: linear-gradient(135deg, #1a1a2e, #333);
}

.song-block-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px 12px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.song-block-title {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.song-block-icon {
  font-size: 16px;
}

.custom-builds-block {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.custom-builds-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.custom-builds-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 14px;
}

.systems-block {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.systems-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.system-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.15s;
  cursor: pointer;
}

.system-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.system-logo {
  width: 154px;
  height: 124px;
  border-radius: 10px;
  background: linear-gradient(135deg, #555, #333);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.system-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 2px;
  line-height: 1.3;
}

.system-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

@media (max-width: 650px) {
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .system-logo {
    width: 110px;
    height: 82px;
  }
}

@media (max-width: 480px) {
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .system-logo {
    width: 92px;
    height: 72px;
  }
}

/* ════ FAVORITES GRID ════ */
.favorites-block {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.favorites-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.favorite-card {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
  position: relative;
}

.favorite-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.favorite-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #3a3a3a, #222);
  filter: sepia(0.6);
}

.favorite-cover-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #3a3a3a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

.favorite-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 16px 8px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ════ RENE BUTTONS ════ */
.rene-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rene-btn {
  position: relative;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: var(--btn-face);
  box-shadow: var(--raised-shadow);
  letter-spacing: 0.3px;
  transition: all 0.1s;
  min-width: 140px;
  text-align: center;
  user-select: none;
  overflow: visible;
}

.rene-btn.pressed {
  background: var(--btn-face-active);
  box-shadow: var(--inset-shadow);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transform: translateY(1px);
}

.rene-count {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
  min-width: 28px;
  transition: transform 0.15s;
}

.rene-count.bump {
  transform: scale(1.3);
}

/* ════════════════════════════════════════════
   FAVORITES PLAYER VIEW
   ════════════════════════════════════════════ */
#view-fav-player {
  padding: 20px;
}

.fav-player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.fav-player-back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  letter-spacing: 0.5px;
  padding: 4px 0;
  transition: color 0.15s;
}

.fav-player-back:hover {
  color: #fff;
}

.fav-player-close {
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: var(--btn-face);
  box-shadow: var(--raised-shadow);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.1s;
}

.fav-player-close:active {
  background: var(--btn-face-active);
  box-shadow: var(--inset-shadow);
  color: #fff;
}

.fav-player-category {
  text-align: center;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 6px;
}

.fav-player-art {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7);
  background: linear-gradient(135deg, #2a2a2a, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fav-player-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.fav-player-art-placeholder {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}

.fav-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.fav-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--btn-face);
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: var(--raised-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  color: #333;
  transition: all 0.1s;
  flex-shrink: 0;
}

.fav-nav-btn:active {
  background: var(--btn-face-active);
  box-shadow: var(--inset-shadow);
  color: #fff;
}

.fav-dots {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 180px;
}

.fav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.fav-dot.active {
  background: rgba(255, 255, 255, 0.85);
}

.fav-player-info {
  text-align: center;
  margin-bottom: 20px;
  min-height: 40px;
}

.fav-player-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 3px;
  letter-spacing: 0.2px;
}

.fav-player-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.fav-player-counter {
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

/* ── STATUS POST ── */
.status-post {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4px;
}

.status-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.status-post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 20%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.status-post-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.status-post-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.status-post-body {
  padding: 10px 12px 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.status-post-actions {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.status-post-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  user-select: none;
}

.status-post-action:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.status-post-action:hover {
  background: rgba(255, 255, 255, 0.05);
}

.status-post-action.liked {
  color: #7ab8ff;
}

/* ════ AOL IM WINDOW ════ */
.aol-window {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid #282828;
  box-shadow: 2px 2px 0 #000, inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  font-family: "Tahoma", "Helvetica Neue", sans-serif;
  background: #c0c0c8;
}

.aol-body {
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

/* BUDDY PANEL */
.aol-buddy-panel {
  width: 36%;
  min-width: 90px;
  max-width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #d8dce8;
  border-right: 2px solid #8888bb;
  overflow: hidden;
}

.aol-buddy-header {
  background: linear-gradient(180deg, #b8c4e0 0%, #9aaad0 100%);
  border-bottom: 1px solid #7788bb;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aol-buddy-title {
  font-size: 10px;
  font-weight: 700;
  color: #001166;
  letter-spacing: 0.3px;
}

.aol-buddy-status {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: #224499;
}

.aol-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22cc44;
  flex-shrink: 0;
}

.aol-buddy-group-label {
  font-size: 9px;
  font-weight: 700;
  color: #334488;
  background: #c8d0e4;
  border-bottom: 1px solid #aabbdd;
  padding: 3px 6px;
  letter-spacing: 0.2px;
  cursor: default;
}

.aol-buddy-list {
  overflow-y: auto;
  flex: 1;
  padding: 2px 0;
  background-image: url("dem.gif");
}

.aol-buddy-name {
  font-size: 12px;
  color: #0000cc;
  text-shadow: 2px 2px 2px rgb(0, 1, 9);
  padding: 2px 8px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid rgba(0, 0, 100, 0.04);
}

.aol-buddy-name:hover {
  background: #ddeeff;
  color: #000099;
}

/* CHAT PANEL */
.aol-chat-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.aol-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px 3px 6px;
  background: linear-gradient(180deg, #424347 0%, #060606 40%, #000000 100%);
  border-bottom: 1px solid #4f4f4f;
  user-select: none;
}

.aol-titlebar-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.aol-titlebar-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.aol-titlebar-text {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.aol-titlebar-btns {
  display: flex;
  gap: 2px;
}

.aol-winbtn {
  width: 16px;
  height: 14px;
  background: linear-gradient(180deg, #d8d8d8 0%, #a8a8a8 100%);
  border: 1px solid #555;
  border-top-color: #ddd;
  border-left-color: #ccc;
  font-size: 9px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.aol-winbtn.aol-close {
  background: linear-gradient(180deg, #e86060 0%, #cc2222 100%);
  color: #fff;
  border-color: #881111;
}

.aol-metabar {
  background: #dde4f0;
  border-bottom: 1px solid #9999cc;
  padding: 3px 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.aol-screen-name {
  font-size: 10px;
  font-weight: 700;
  color: #003399;
  letter-spacing: 0.3px;
}

.aol-meta-sep {
  font-size: 10px;
  color: #6666aa;
}

.aol-meta-detail {
  font-size: 9px;
  color: #5555aa;
  letter-spacing: 0.2px;
}

.aol-chatlog {
  background-image: url("dem.gif");
  background-size: 2400px;
  background-position: center right;
  border-bottom: 1px solid #9999cc;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 140px;
  overflow-y: auto;
}

.aol-msg-row {
  font-size: 11px;
  line-height: 1.55;
  color: #111;
}

.aol-colon {
  color: #333;
  margin-right: 3px;
}

.aol-sender {
  font-weight: 700;
  margin-right: 1px;
}

.aol-sender-1 {
  color: #990099;
}
.aol-sender-2 {
  color: #cc6600;
}
.aol-sender-3 {
  color: #006633;
}
.aol-sender-own {
  color: #0000cc;
}

.aol-msg-text {
  color: #c7c7c7;
  font-size: 15px;
  text-shadow: 2px 2px 2px bl;
}

.aol-link {
  color: #0000ee;
  text-decoration: underline;
  font-size: 11px;
}

.aol-link:hover {
  color: #cc0000;
}

.aol-inputbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: #d4d8e4;
  border-top: 1px solid #aaaacc;
}

.aol-input-fake {
  flex: 1;
  background: #fff;
  border: 1px solid #7777aa;
  border-top-color: #555599;
  border-left-color: #555599;
  padding: 3px 6px;
  font-size: 10px;
  color: #aaaaaa;
  font-family: "Tahoma", sans-serif;
  font-style: italic;
}

.aol-send-btn {
  padding: 3px 10px;
  background: linear-gradient(180deg, #e0e8ff 0%, #aabbee 100%);
  border: 1px solid #3333aa;
  border-top-color: #8888cc;
  font-size: 10px;
  font-weight: 700;
  color: #001166;
  cursor: pointer;
  font-family: "Tahoma", sans-serif;
  white-space: nowrap;
}

.aol-send-btn:active {
  background: linear-gradient(180deg, #8899cc 0%, #aabbee 100%);
}

/* ── UTIL ── */
.hidden {
  display: none !important;
}
/* ── SMALL SONG ROW ── */
.song-row-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.song-block-small {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
  aspect-ratio: 1;
}

.song-block-small-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.song-block-small-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 14px 6px 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
}

.song-block-small-title {
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

/* ════ KIZEN PLAYER ════ */
.kp-screen {
  background: #0a0a0a;
  border: 2px solid #2a2a2a;
  border-radius: 4px;
  padding: 6px 10px;
  margin-bottom: 10px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(255, 255, 255, 0.06);
}

.kp-marquee-wrap {
  overflow: hidden;
  width: 100%;
  height: 18px;
  margin-bottom: 4px;
}

.kp-marquee-inner {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #e8e8e8;
  letter-spacing: 0.5px;
  line-height: 18px;
  padding-left: 100%;
  animation: kpScroll 14s linear infinite;
}

.kp-marquee-inner.stopped {
  animation-play-state: paused;
}

@keyframes kpScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.kp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kp-artist {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 70%;
}

.kp-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-family: monospace;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.kp-progress-wrap {
  margin-top: 6px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.kp-progress-fill {
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s linear;
}

.kp-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.kp-btn {
  position: relative;
  padding: 6px 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: var(--btn-face);
  box-shadow: var(--raised-shadow);
  letter-spacing: 0.3px;
  transition: all 0.1s;
  text-align: center;
  user-select: none;
  flex: 1;
}

.kp-btn:active,
.kp-btn.active {
  background: var(--btn-face-active);
  box-shadow: var(--inset-shadow);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transform: translateY(1px);
}

.kp-btn-play {
  flex: 1.4;
}

.kp-playlist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kp-track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.1s;
}

.kp-track:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.kp-track.kp-playing {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.kp-track-num {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  font-family: monospace;
  width: 16px;
  flex-shrink: 0;
  text-align: right;
}

.kp-track-info {
  flex: 1;
  min-width: 0;
}

.kp-track-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kp-track.kp-playing .kp-track-title {
  color: #fff;
}

.kp-track-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.3px;
  margin-top: 1px;
}

.kp-track-icon {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.status-like-count {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  margin-left: 2px;
}

.status-post-action.liked .status-like-count {
  color: #7ab8ff;
}

.status-post-like-count {
  padding: 0 12px 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  min-height: 0;
}

/* ════ GUESTBOOK ════ */
.gb-window {
  display: flex;
  flex-direction: column;
  border: 2px solid #2a2a2a;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(255, 255, 255, 0.06);
}

.gb-screen {
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  height: 240px;
  background-image: url("dem.gif");
}

.gb-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}

.gb-screen-title {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gb-screen-count {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.15);
  font-family: monospace;
  letter-spacing: 1px;
}

.gb-chatlog {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

.gb-chatlog::-webkit-scrollbar {
  width: 4px;
}
.gb-chatlog::-webkit-scrollbar-track {
  background: transparent;
}
.gb-chatlog::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.gb-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(0, 0, 0, 0.823);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 10px;
}

.gb-entry-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.gb-entry-name {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 73, 244, 0.6);
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.gb-entry-time {
  font-size: 8px;
  color: rgb(4, 116, 168);
  letter-spacing: 0.5px;
  font-family: monospace;
  text-shadow: 1px 1px 1px black;
}

.gb-entry-msg {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.763);
  line-height: 1.5;
  word-break: break-word;
  padding-left: 2px;
}

.gb-empty {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 1px;
  text-align: center;
  margin: auto;
}

.gb-input-area {
  background: #111;
  border-top: 1px solid #222;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gb-name-input,
.gb-msg-input {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 3px;
  padding: 6px 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  outline: none;
  resize: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.1s;
}

.gb-name-input::placeholder,
.gb-msg-input::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.gb-name-input:focus,
.gb-msg-input:focus {
  border-color: rgba(255, 255, 255, 0.25);
}

.gb-msg-input {
  min-height: 56px;
}

.gb-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gb-status {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
  flex: 1;
}

.gb-entry-name.gb-owner-name {
  color: #fff;
  text-shadow: 1px 1px 1px black;
}

.gb-entry.gb-owner {
  position: relative;
  border-radius: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-image: url("hillz.gif");
  background-position: right 20%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(14, 14, 14, 0.5),
    inset 0 -1px 0 rgba(20, 20, 20, 0.684);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gb-entry.gb-owner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
}

.gb-owner-badge {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
}

.gb-entry.gb-owner .gb-entry-msg {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 2px 2px 2px black;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
