@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700&display=swap');

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

body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 13px;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 12px;
}

#aurora-bg {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh; z-index: -1;
  background: url('vista_aurora.png') no-repeat center center;
  background-size: cover;
}

/* ── MAIN CONTAINER ── */
#dashboard-container {
  width: 99.2%; max-width: 2400px; min-height: 98vh;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.7);
  border-radius: 8px;
  display: flex; flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
}

/* ── HEADER (vBulletin navbar) ── */
.dashboard-header {
  background: linear-gradient(to bottom, rgba(58, 110, 165, 0.45), rgba(28, 75, 121, 0.3) 40%, rgba(22, 61, 99, 0.45));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff; padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid rgba(13, 46, 82, 0.5);
  position: relative;
  z-index: 1100;
}
.logo-group { display: flex; align-items: center; }
.logo-banner-img {
  max-height: 110px;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6));
}

/* ── USER PILL BUTTON ── */
.user-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 4px rgba(0,0,0,0.15);
}
.user-pill-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
.user-pill-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #fff;
  object-fit: cover;
}
.user-pill-username {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.user-pill-arrow {
  font-size: 8px;
  color: rgba(255,255,255,0.7);
}

/* ── WINDOWS VISTA START MENU ── */
.vista-start-menu {
  position: absolute;
  right: 10px;
  top: calc(100% + 5px);
  width: 380px;
  background: linear-gradient(135deg, rgba(30, 45, 65, 0.45) 0%, rgba(10, 20, 30, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.start-menu-header {
  height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.start-menu-title-text {
  font-size: 10px;
  font-weight: bold;
  color: rgba(200, 220, 240, 0.8);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.start-menu-user-avatar-frame {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.7);
  position: absolute;
  right: 15px;
  top: -15px;
  overflow: hidden;
  background: linear-gradient(135deg, #e6f0fa 0%, #c8d8e8 100%);
  z-index: 1010;
}
.start-menu-user-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.start-menu-body {
  display: flex;
  height: 250px;
}
.start-menu-left {
  width: 220px;
  background: #fcfcfc;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
}
.start-menu-right {
  width: 160px;
  background: linear-gradient(to right, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.35) 100%);
  padding: 8px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.start-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.1s;
}
.start-menu-item:hover {
  background: rgba(0,0,0,0.06);
}
.start-menu-icon-wrapper {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.start-menu-icon-wrapper.ie-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231c4b79"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/></svg>');
}
.start-menu-icon-wrapper.mail-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231c4b79"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}
.start-menu-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.start-menu-item-text strong {
  font-size: 11px;
  color: #111;
}
.start-menu-item-text span {
  font-size: 9px;
  color: #666;
}
.start-menu-separator {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 6px 4px;
}
.start-user-details {
  padding: 6px 8px;
  font-size: 10px;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.start-detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted rgba(0,0,0,0.05);
  padding-bottom: 2px;
}
.start-detail-label {
  font-weight: bold;
  color: #555;
}
.start-detail-val {
  color: #222;
  font-weight: bold;
}
.start-menu-right-item {
  color: #c8d8e8;
  font-size: 10px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.start-menu-right-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.start-menu-right-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 8px;
}
.start-menu-footer {
  height: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.start-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #5a8bc8;
  padding: 2px 6px;
  border-radius: 2px;
  width: 170px;
  height: 20px;
}
.start-search-box input {
  border: none;
  outline: none;
  font-size: 10px;
  width: 100%;
  background: transparent;
  color: #333;
}
.start-power-actions {
  display: flex;
  gap: 6px;
}
.start-power-btn {
  width: 24px;
  height: 20px;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.start-power-btn.shutdown {
  background: linear-gradient(to bottom, #d9534f, #c9302c);
}
.start-power-btn.shutdown:hover {
  background: linear-gradient(to bottom, #ec5a55, #d93d38);
}
.start-power-btn.lock {
  background: linear-gradient(to bottom, #f0ad4e, #ec971f);
}
.start-power-btn.lock:hover {
  background: linear-gradient(to bottom, #f4bd6d, #f0a232);
}
.top-auth-bar {
  font-size: 11px; text-align: right; color: #c5dcf5;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5); line-height: 1.4;
}
.top-auth-bar strong { color: #fff; }
.top-auth-bar a { color: #fff; text-decoration: underline; cursor: pointer; }

/* ── IE7 ADDRESS BAR ── */
.ie-address-strip {
  background: linear-gradient(to bottom, rgba(232, 238, 245, 0.4), rgba(213, 223, 233, 0.3));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(160, 179, 200, 0.45);
  padding: 6px 12px; display: flex; align-items: center; gap: 8px;
}
.address-actions { display: flex; gap: 4px; }
.arrow-btn {
  width: 26px; height: 24px; border: 1px solid rgba(142, 168, 197, 0.5);
  background: linear-gradient(to bottom, rgba(245, 248, 251, 0.5), rgba(220, 229, 237, 0.4));
  cursor: pointer; font-size: 11px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}
.arrow-btn:hover { background: rgba(200, 216, 234, 0.6); }
.address-url-box {
  flex: 1; border: 1px solid rgba(127, 157, 185, 0.5); background: rgba(255, 255, 255, 0.35);
  padding: 4px 8px; display: flex; align-items: center;
}
#address-url {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 12px; color: #333; font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ── BLADES LAYOUT ── */
.blades-system {
  display: grid;
  grid-template-columns: 180px 1fr 285px;
  flex: 1; min-height: 0;
}

/* ── LEFT NAV TABS ── */
.blades-tabs {
  background: rgba(35, 43, 53, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 0;
  display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid rgba(17, 17, 17, 0.5);
}
.blade-tab {
  background: none; border: none; outline: none;
  color: #c0d0e0; padding: 12px 16px; text-align: left;
  font-family: Tahoma, sans-serif; font-size: 12px; font-weight: bold;
  cursor: pointer; border-left: 4px solid transparent;
  transition: background 0.15s;
}
.blade-tab:hover { background: rgba(46, 58, 72, 0.5); color: #fff; }
.blade-tab.active { background: rgba(56, 72, 88, 0.65); color: #fff; }
.tab-forums { border-left-color: #3a82e6 !important; }
.tab-usercp { border-left-color: #e2a500 !important; }
.tab-msn { border-left-color: #2ca85a !important; }
.tab-games { border-left-color: #00d2ff !important; }
.tab-members { border-left-color: #9c27b0 !important; }
.tab-admin { border-left-color: #cc3333 !important; }

/* ── CENTER CONTENT ── */
.blades-content-wrapper {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
}
.blade-panel {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: none;
}
.blade-panel.active { display: flex; flex-direction: column; }
.blade-scrollable { flex: 1; overflow-y: auto; padding: 12px 15px; }

/* ── FORUM: WELCOME BANNER ── */
.welcome-banner-card {
  background: rgba(238, 244, 253, 0.4);
  border: 1px solid rgba(156, 187, 224, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 14px; margin-bottom: 12px;
  font-size: 12px; line-height: 1.5; color: #333;
}

/* ── FORUM: RECENT ACTIVITY ── */
.recent-activity-card {
  border: 1px solid rgba(163, 184, 214, 0.55);
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 12px; overflow: hidden;
}
.widget-header {
  background: linear-gradient(to bottom, rgba(43, 90, 138, 0.65), rgba(28, 75, 121, 0.65));
  backdrop-filter: blur(8px);
  color: #fff; padding: 8px 12px; font-size: 12px;
  font-weight: bold; border-bottom: 1px solid rgba(13, 46, 82, 0.5);
}
.recent-activity-table {
  width: 100%; border-collapse: collapse; font-size: 12px;
}
.recent-activity-table td {
  padding: 7px 10px; border-bottom: 1px solid rgba(221, 229, 239, 0.3);
}
.recent-activity-table tr:nth-child(even) { background: rgba(245, 248, 252, 0.25); }
.recent-activity-table tr:hover { background: rgba(232, 240, 250, 0.45); }
.recent-activity-table a {
  color: #1c4b79; text-decoration: none; font-weight: bold; cursor: pointer;
}
.recent-activity-table a:hover { text-decoration: underline; }

/* ── FORUM: BREADCRUMBS ── */
.forum-breadcrumbs {
  font-size: 11px; color: #555; margin-bottom: 8px;
  padding: 4px 8px; background: rgba(245, 248, 252, 0.35);
  border: 1px solid rgba(209, 215, 224, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.forum-breadcrumbs a {
  color: #1c4b79; text-decoration: none; font-weight: bold; cursor: pointer;
}
.forum-breadcrumbs a:hover { text-decoration: underline; }

/* ── FORUM: CATEGORY TABLE ── */
.forum-cat-container {
  border: 1px solid rgba(163, 184, 214, 0.55);
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.forum-cat-header {
  background: linear-gradient(to right, rgba(28, 75, 121, 0.7), rgba(43, 90, 138, 0.6));
  backdrop-filter: blur(8px);
  color: #fff; padding: 8px 12px; font-weight: bold; font-size: 12px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.forum-classic-table {
  width: 100%; border-collapse: collapse; background: transparent;
}
.forum-classic-table th {
  background: rgba(232, 238, 246, 0.45); color: #1c4b79; font-weight: 700;
  padding: 6px 12px; text-align: left; font-size: 11px;
  border-bottom: 1px solid rgba(163, 184, 214, 0.4);
}
.forum-classic-table td {
  padding: 10px 14px; border-bottom: 1px solid rgba(225, 233, 242, 0.4);
}
.forum-classic-table tr:nth-child(even) td { background: rgba(247, 250, 253, 0.25); }
.forum-classic-table tr:hover td { background: rgba(232, 240, 250, 0.45); }

.forum-row-layout { display: flex; align-items: center; gap: 12px; }
.forum-folder-icon {
  width: 24px; height: 21px; flex-shrink: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e8a93e"><path d="M10 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>') no-repeat center;
  background-size: contain;
}
.forum-title-link {
  color: #1c4b79; font-weight: bold; text-decoration: none; font-size: 13.5px; cursor: pointer;
}
.forum-title-link:hover { text-decoration: underline; }
.forum-desc { color: #555; font-size: 11.5px; margin-top: 3px; }
.vip-badge-tag {
  display: inline-block;
  background: linear-gradient(to bottom, #f0c040, #d4a520);
  color: #442a00; font-size: 9px; padding: 1px 4px;
  border: 1px solid #a67c00; margin-right: 4px; font-weight: bold;
}

/* ── FORUM LOADER ── */
.forum-loader {
  text-align: center; padding: 30px; color: #888; font-size: 11px;
}

/* ── FORUM: POSTS ── */
.forum-post-list { display: flex; flex-direction: column; gap: 8px; }
.forum-post-card {
  border: 1px solid rgba(163, 184, 214, 0.55);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
}
.post-user-info {
  width: 140px; background: rgba(240, 244, 249, 0.45);
  border-right: 1px solid rgba(200, 214, 232, 0.45);
  padding: 10px; text-align: center; font-size: 10px;
  display: flex; flex-direction: column; align-items: center;
}
.post-username {
  font-weight: bold; color: #1c4b79; margin-bottom: 4px;
  cursor: pointer; font-size: 11px;
}
.post-username:hover { text-decoration: underline; }
.post-avatar-frame {
  width: 65px; height: 65px; border: 1px solid rgba(179, 198, 220, 0.5);
  background: rgba(255, 255, 255, 0.4); padding: 2px; margin-bottom: 4px;
}
.post-avatar-frame img { width: 100%; height: 100%; object-fit: cover; }
.post-userbar {
  width: 85px; height: 14px;
  background: linear-gradient(135deg, rgba(28, 75, 121, 0.8), rgba(59, 94, 140, 0.8));
  color: #fff; font-weight: bold; font-size: 7px;
  text-align: center; line-height: 14px;
  border-radius: 1px; margin-bottom: 3px;
}
.post-userbar.admin-userbar { background: linear-gradient(135deg, #c00, #f33); }
.post-userbar.vip-userbar { background: linear-gradient(135deg, #d4a520, #f0c040); color: #442a00; }
.post-userbar.elite-userbar { background: linear-gradient(135deg, #609, #93c); color: #fff; }
.post-userbar.pentester-userbar { background: linear-gradient(135deg, #060, #393); color: #fff; }
.post-userbar.skiddie-userbar { background: linear-gradient(135deg, #555, #888); color: #fff; }
.post-content-container { flex: 1; display: flex; flex-direction: column; background: transparent; }
.post-header-bar {
  background: rgba(234, 240, 247, 0.45); border-bottom: 1px solid rgba(200, 214, 232, 0.4);
  padding: 4px 10px; font-size: 10px; color: #555;
  display: flex; justify-content: space-between;
}
.post-body-content {
  padding: 10px 12px; font-size: 11px; color: #333;
  line-height: 1.5; flex: 1;
}
.post-signature-divider {
  border: none; border-top: 1px dotted #ccc;
  width: 100px; margin: 8px 0 4px 0;
}
.post-signature { font-size: 9px; color: #888; font-style: italic; }
.status-orb {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; border: 1px solid rgba(0,0,0,0.2);
}
.status-orb.online { background: #39b54a; }
.status-orb.away { background: #f0ad4e; }
.status-orb.busy { background: #d9534f; }
.status-orb.offline { background: #999; }

/* ── FORUM INPUT ── */
.forum-input-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(163, 184, 214, 0.55);
  padding: 12px; margin-top: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.forum-input-card h3 { font-size: 12px; color: #1c4b79; margin-bottom: 8px; }
.forum-input-card input[type="text"], .forum-input-card textarea {
  width: 100%; border: 1px solid rgba(142, 170, 200, 0.6); padding: 4px 6px;
  background: rgba(255, 255, 255, 0.5);
  font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 11px; margin-bottom: 8px;
}
.forum-input-card textarea { height: 60px; resize: vertical; }

.vista-btn-action, .vista-btn-classic {
  padding: 3px 12px; font-family: Tahoma, sans-serif; font-size: 11px;
  border-radius: 2px; cursor: pointer;
}
.vista-btn-action {
  background: linear-gradient(to bottom, #5a9fd4, #1c4b79);
  color: #fff; border: 1px solid #0d2e52; font-weight: bold;
}
.vista-btn-action:hover { background: linear-gradient(to bottom, #6ab0e0, #2b5a8a); }
.vista-btn-classic {
  background: linear-gradient(to bottom, #f5f5f5, #d0d0d0);
  color: #333; border: 1px solid #999;
}
.vista-btn-classic:hover { background: linear-gradient(to bottom, #fff, #e0e0e0); }

/* ── AUTH FORMS ── */
.auth-form-container {
  max-width: 340px; margin: 40px auto;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(163, 184, 214, 0.6);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.auth-form-container h2 { font-size: 14px; color: #1c4b79; margin-bottom: 12px; }
.auth-row { margin-bottom: 10px; }
.auth-row label { display: block; font-size: 11px; font-weight: bold; color: #555; margin-bottom: 3px; }
.auth-row input {
  width: 100%; border: 1px solid rgba(142, 170, 200, 0.6); padding: 4px 6px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 11px; font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ── WLM MESSENGER (Blade 2) ── */
.msn-panel-layout {
  display: grid; grid-template-columns: 250px 1fr; height: 100%; gap: 0;
}
.msn-sidebar-widget {
  background: linear-gradient(to bottom, rgba(219, 234, 252, 0.45), rgba(200, 221, 245, 0.35));
  border-right: 1px solid rgba(142, 170, 200, 0.55);
  display: flex; flex-direction: column; overflow: hidden;
}
.msn-profile-card {
  background: rgba(255, 255, 255, 0.35); border-bottom: 1px solid rgba(163, 187, 216, 0.5);
  padding: 8px; display: flex; align-items: center; gap: 8px;
}
.msn-avatar-holder {
  width: 36px; height: 36px; border: 2px solid rgba(90, 139, 200, 0.85);
  border-radius: 3px; background: rgba(255, 255, 255, 0.5); overflow: hidden; flex-shrink: 0;
}
.msn-avatar-holder img { width: 100%; height: 100%; object-fit: cover; }
.msn-info-holder { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.msn-status-line {
  display: flex; justify-content: space-between; align-items: center; gap: 4px;
}
#msn-my-username { font-weight: bold; font-size: 11px; color: #1c4b79; }
#msn-my-status { font-size: 9px; border: 1px solid rgba(0,0,0,0.15); padding: 1px; background: rgba(255,255,255,0.5); }
#msn-my-psm {
  font-size: 9px; color: #555; border: none; background: transparent;
  outline: none; width: 100%; padding: 2px 0;
}
#msn-my-psm:hover { background: rgba(240, 246, 255, 0.45); }
.msn-search-input { padding: 4px 8px; }
.msn-search-input input {
  width: 100%; border: 1px solid rgba(142, 170, 200, 0.55); padding: 3px 6px;
  background: rgba(255,255,255,0.4);
  font-size: 10px; border-radius: 2px;
}
.msn-contacts-scroller {
  flex: 1; overflow-y: auto; background: rgba(255, 255, 255, 0.2); margin: 0 4px 4px;
  border: 1px solid rgba(200, 216, 232, 0.55);
}
.group-header {
  font-size: 10px; font-weight: bold; color: #4a75a7;
  padding: 3px 6px; background: #eef4fb; cursor: pointer;
  border-bottom: 1px solid #d8e4f0;
}
.contact-list-body { display: flex; flex-direction: column; }
.msn-contact {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 8px; cursor: pointer; font-size: 10px;
}
.msn-contact:hover { background: #e3edf8; }
.msn-contact-avatar { width: 18px; height: 18px; border-radius: 2px; }
.msn-contact-details { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.msn-contact-name { font-size: 10px; font-weight: bold; }
.msn-contact-psm {
  font-size: 8px; color: #888;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
}
.msn-conversation-placeholder {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; color: #8eaac8;
  background: #f7fafd;
}
.msn-large-butterfly {
  width: 70px; height: 70px; opacity: 0.4; margin-bottom: 10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M16 16c2-4 7-4 9 0 2 3-1 8-4 10-4-2-7-6-5-10z" fill="%2339b54a"/><path d="M28 20c2-4 7-4 9 0 2 3-1 8-4 10-4-2-7-6-5-10z" fill="%2300aeef"/><path d="M18 22c1.5-3 5-3 6.5 0 1.5 2-1 6-3 7.5-3-1.5-5-4.5-3.5-7.5z" fill="%23ffc709"/></svg>') no-repeat center;
  background-size: contain;
}
.msn-conversation-placeholder h3 { font-size: 14px; color: #1c4b79; margin-bottom: 5px; }
.msn-conversation-placeholder p { font-size: 11px; color: #888; max-width: 280px; line-height: 1.4; }

/* ── WLM CHAT WINDOWS ── */
#msn-chat-overlay-container { position: fixed; bottom: 10px; right: 10px; z-index: 1000; display: flex; gap: 8px; align-items: flex-end; }
.msn-chat-window {
  width: 300px; background: #fff; border: 1px solid #1c4b79;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  display: flex; flex-direction: column;
}
.chat-titlebar {
  background: linear-gradient(to bottom, #3a6ea5, #1c4b79);
  color: #fff; padding: 5px 8px; font-size: 11px; font-weight: bold;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-close-btn {
  background: none; border: none; color: #fff; font-size: 14px;
  cursor: pointer; font-weight: bold;
}
.chat-close-btn:hover { color: #f88; }
.msn-chat-body { display: flex; flex-direction: column; }
.chat-user-banner {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px; background: #e8f0fa; border-bottom: 1px solid #b3c6dc;
  font-size: 10px; font-weight: bold; color: #1c4b79;
}
.chat-user-banner img { width: 20px; height: 20px; border-radius: 2px; }
.msn-chat-log {
  height: 180px; overflow-y: auto; padding: 8px; font-size: 11px;
  border-bottom: 1px solid #d8e4f0;
}
.msn-chat-msg { margin-bottom: 3px; }
.msn-msg-me .msn-msg-header { color: #1c4b79; font-weight: bold; }
.msn-msg-them .msn-msg-header { color: #d35400; font-weight: bold; }
.msn-msg-content { color: #333; }
.msn-nudge-alert {
  text-align: center; color: #e67e22; font-style: italic;
  font-size: 10px; padding: 3px;
}
.chat-toolbar {
  display: flex; gap: 4px; padding: 3px 6px; background: #f5f8fb;
  border-bottom: 1px solid #dde5ef;
}
.chat-tool-btn {
  background: none; border: 1px solid #c8d8e8; font-size: 10px;
  cursor: pointer; padding: 2px 6px; border-radius: 2px;
}
.chat-tool-btn:hover { background: #e3edf8; }
.chat-input-row {
  display: flex; padding: 4px; gap: 4px; background: #f0f4f9;
}
.chat-input-row textarea {
  flex: 1; height: 35px; border: 1px solid #8eaac8;
  resize: none; font-family: 'Segoe UI', sans-serif; font-size: 11px; padding: 3px;
}
.chat-send-btn {
  background: linear-gradient(to bottom, #5a9fd4, #1c4b79);
  color: #fff; border: 1px solid #0d2e52; font-size: 10px;
  padding: 0 10px; cursor: pointer; font-weight: bold;
}
.nudge-shake { animation: shake 0.5s; }
@keyframes shake {
  0%,100% { transform: translate(0); }
  10%,30%,50%,70%,90% { transform: translate(-3px, 1px); }
  20%,40%,60%,80% { transform: translate(3px, -1px); }
}

/* ── VIP STORE ── */
.vip-store-wizard-card {
  display: grid; grid-template-columns: 160px 1fr;
  border: 1px solid #a3b8d6; background: #fff; min-height: 380px;
}
.store-wizard-sidebar {
  background: linear-gradient(to bottom, #1c4b79, #0c2b4c);
  color: #fff; padding: 15px;
}
.store-wizard-sidebar h3 { font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 6px; margin-bottom: 8px; }
.store-wizard-sidebar p { font-size: 10px; color: #b0c8e0; line-height: 1.4; }
.store-wizard-sidebar hr { border: none; border-top: 1px solid rgba(255,255,255,0.2); }
.store-wizard-main { padding: 10px; }
.vip-items-list { display: flex; flex-direction: column; gap: 6px; }
.vip-store-item {
  border: 1px solid #c8d6e8; background: #f7fafd; padding: 8px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: background 0.1s;
}
.vip-store-item:hover { background: #e3edf8; border-color: #1c4b79; }
.vip-item-details { display: flex; flex-direction: column; }
.vip-item-name { font-weight: bold; font-size: 11px; color: #1c4b79; }
.vip-item-desc { font-size: 9px; color: #777; margin-top: 2px; }
.vip-item-cost { font-weight: bold; color: #2e8b57; font-size: 12px; }

/* ── ADMIN PANEL ── */
.admin-applet-split {
  display: grid; grid-template-columns: 130px 1fr;
  border: 1px solid #a3b8d6; background: #fff; min-height: 400px;
}
.applet-sidebar {
  background: #f0f4f9; border-right: 1px solid #c8d6e8; padding: 10px 0;
}
.applet-sidebar h4 { font-size: 11px; color: #1c4b79; padding: 4px 10px; margin-bottom: 6px; border-bottom: 1px solid #c8d6e8; }
.applet-sidebar button, .admin-tab-btn {
  display: block; width: 100%; text-align: left; padding: 6px 10px;
  background: none; border: none; font-size: 10px; cursor: pointer;
  color: #333; font-family: Tahoma, sans-serif;
}
.applet-sidebar button:hover, .admin-tab-btn:hover { background: #dce8f4; }
.applet-sidebar button.active, .admin-tab-btn.active { background: #c8d8ea; font-weight: bold; color: #1c4b79; }
.applet-main { padding: 12px; overflow-y: auto; }
.admin-applet-table {
  width: 100%; border-collapse: collapse; font-size: 10px;
}
.admin-applet-table th {
  background: #e8eef6; border: 1px solid #b3c6dc; padding: 5px 8px;
  text-align: left; font-size: 10px; color: #1c4b79;
}
.admin-applet-table td { border: 1px solid #d8e4f0; padding: 5px 8px; }

/* ── RIGHT SIDEBAR WIDGETS ── */
.blades-widgets-panel {
  background: rgba(25, 35, 48, 0.45); padding: 8px;
  display: flex; flex-direction: column; gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.15); color: #c8d8e8;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.blades-widgets-panel .widget-header {
  background: rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 4px 6px; font-size: 10px;
}
.widget-card {
  background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px; overflow: hidden; font-size: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Clock */
.clock-face {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3); margin: 8px auto;
  position: relative;
}
.clock-hand {
  position: absolute; bottom: 50%; left: 50%;
  transform-origin: bottom center; background: #c8d8e8; border-radius: 1px;
}
.hand-hour { width: 2px; height: 20px; margin-left: -1px; }
.hand-minute { width: 1.5px; height: 28px; margin-left: -0.75px; }
.hand-second { width: 1px; height: 30px; margin-left: -0.5px; background: #e74c3c; }
.clock-pin {
  position: absolute; top: 50%; left: 50%;
  width: 4px; height: 4px; background: #fff; border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* CPU */
.cpu-dial-dial {
  width: 80px; height: 45px; margin: 8px auto;
  position: relative; overflow: hidden;
  border-bottom: 2px solid rgba(255,255,255,0.3);
}
.cpu-dial-hand {
  position: absolute; bottom: 0; left: 50%;
  width: 2px; height: 35px; background: #e74c3c;
  transform-origin: bottom center; transform: rotate(-90deg);
  margin-left: -1px; transition: transform 0.5s;
}
.cpu-label { display: block; text-align: center; font-size: 10px; margin-top: 4px; color: #c8d8e8; }

/* Music */
.music-details { padding: 6px; text-align: center; }
.music-title { display: block; font-size: 10px; font-weight: bold; color: #b8d4f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-duration { font-size: 9px; color: #8899aa; }
.music-bars { display: flex; justify-content: center; gap: 2px; height: 25px; align-items: flex-end; padding: 0 6px; }
.vis-bar { width: 8px; background: #39b54a; transition: height 0.15s; height: 100%; }
.music-buttons { display: flex; justify-content: center; gap: 4px; padding: 6px; }
.music-buttons button {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  color: #c8d8e8; width: 24px; height: 20px; cursor: pointer;
  font-size: 10px; border-radius: 2px;
}
.music-buttons button:hover { background: rgba(255,255,255,0.25); }
.music-buttons .playing { background: rgba(57,181,74,0.4); }

/* ── ALERT DIALOGS ── */
.vista-alert-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); z-index: 2000;
  display: flex; justify-content: center; align-items: center;
}
.vista-alert-box {
  background: #fff; border: 1px solid #1c4b79;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  max-width: 380px; width: 90%; overflow: hidden;
}
.alert-titlebar {
  background: linear-gradient(to bottom, #3a6ea5, #1c4b79);
  color: #fff; padding: 6px 10px; font-size: 11px; font-weight: bold;
}
.alert-content {
  padding: 15px; font-size: 11px; display: flex; align-items: flex-start; gap: 10px;
}
.alert-icon-error { color: #cc0000; font-size: 22px; font-weight: bold; }
.alert-icon-info { color: #1c4b79; font-size: 22px; font-weight: bold; }
.alert-msg { flex: 1; }
.alert-buttons {
  background: #f0f4f9; padding: 8px 15px; text-align: right;
  border-top: 1px solid #d1d7e0; display: flex; justify-content: flex-end; gap: 6px;
}

/* ── FOOTER ── */
.dashboard-footer {
  background: linear-gradient(to bottom, rgba(28, 35, 44, 0.85), rgba(12, 17, 23, 0.95));
  color: #8da4be;
  padding: 10px 14px;
  text-align: center;
  font-size: 11px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(90, 159, 212, 0.35);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.dashboard-footer p {
  margin: 0;
}

/* ── SCROLLBARS ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f0f4f9; }
::-webkit-scrollbar-thumb { background: #99bce8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #1c4b79; }

/* ── WORLD CLOCKS GADGET ── */
.clock-display-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 3px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.clock-label-tz {
  font-weight: bold;
  color: #a0b5cc;
  font-size: 10px;
}
.clock-time-val {
  font-family: 'Consolas', monospace;
  font-size: 11px;
  color: #00ff66;
  text-shadow: 0 0 4px rgba(0, 255, 102, 0.5);
  font-weight: bold;
}

/* ── MINI MINESWEEPER GADGET ── */
.mines-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 6px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
}
.mines-btn-reset {
  background: linear-gradient(to bottom, #fff, #ccc);
  border: 1px solid #777;
  font-size: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mines-btn-reset:hover {
  background: #eee;
}
.mines-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: #777;
  padding: 2px;
  border: 1px solid #555;
}
.mine-cell {
  aspect-ratio: 1;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Consolas', monospace;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
.mine-cell:active {
  border: 1px solid #808080;
  background: #c0c0c0;
}
.mine-cell.revealed {
  border: 1px solid #808080;
  background: #c0c0c0;
}
.mine-cell.mine {
  background: #f33 !important;
  border: 1px solid #808080;
}
.mine-cell.flagged::before {
  content: '🚩';
  font-size: 8px;
}
.cell-1 { color: blue; }
.cell-2 { color: green; }
.cell-3 { color: red; }
.cell-4 { color: darkblue; }
.cell-5 { color: darkred; }
.cell-6 { color: teal; }

/* ── WINDOWS MAIL CLIENT ── */
.win-mail-window {
  position: fixed; top: 12%; left: calc(50% - 310px); width: 620px; height: 440px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(28, 75, 121, 0.7);
  border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 10000; display: flex; flex-direction: column; overflow: hidden;
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
}
.win-mail-titlebar {
  background: linear-gradient(to bottom, rgba(58, 110, 165, 0.95), rgba(28, 75, 121, 0.95));
  color: #fff; padding: 6px 12px; font-weight: bold; font-size: 11px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: move; user-select: none;
}
.win-mail-close-btn {
  background: linear-gradient(to bottom, #d9534f, #c9302c);
  color: #fff; border: 1px solid #7a1515; font-size: 9px;
  width: 18px; height: 16px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-weight: bold;
  border-radius: 2px;
}
.win-mail-close-btn:hover { background: #ec5a55; }
.win-mail-toolbar {
  background: linear-gradient(to bottom, rgba(245, 248, 252, 0.5), rgba(220, 230, 240, 0.4));
  border-bottom: 1px solid rgba(160, 179, 200, 0.5);
  padding: 4px 10px; display: flex; gap: 8px;
}
.win-mail-tool-btn {
  background: transparent; border: 1px solid transparent;
  color: #1c4b79; padding: 4px 8px; font-size: 10px; font-weight: bold;
  cursor: pointer; display: flex; align-items: center; gap: 4px; border-radius: 2px;
}
.win-mail-tool-btn:hover {
  background: rgba(255, 255, 255, 0.4); border-color: rgba(28, 75, 121, 0.3);
}
.win-mail-workspace {
  display: flex; flex: 1; min-height: 0; background: transparent;
}
.win-mail-folders {
  width: 140px; background: rgba(245, 248, 252, 0.4);
  border-right: 1px solid rgba(160, 179, 200, 0.4);
  padding: 8px 6px; display: flex; flex-direction: column; gap: 4px;
}
.win-mail-folder-item {
  padding: 4px 8px; font-size: 10px; font-weight: bold; color: #444;
  cursor: pointer; border-radius: 2px; display: flex; align-items: center; gap: 6px;
}
.win-mail-folder-item:hover, .win-mail-folder-item.active {
  background: rgba(28, 75, 121, 0.15); color: #1c4b79;
}
.win-mail-inbox-pane {
  flex: 1; display: flex; flex-direction: column; min-width: 0; background: transparent;
}
.win-mail-list {
  height: 140px; overflow-y: auto; background: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(160, 179, 200, 0.4);
}
.win-mail-list-table {
  width: 100%; border-collapse: collapse; font-size: 10px; text-align: left;
}
.win-mail-list-table th {
  background: rgba(232, 238, 246, 0.6); color: #1c4b79; font-weight: bold;
  padding: 4px 8px; border-bottom: 1px solid rgba(160, 179, 200, 0.4);
}
.win-mail-list-table td {
  padding: 6px 8px; border-bottom: 1px solid rgba(225, 233, 242, 0.3);
  cursor: pointer;
}
.win-mail-list-table tr:hover { background: rgba(28, 75, 121, 0.08); }
.win-mail-list-table tr.active { background: rgba(28, 75, 121, 0.15); font-weight: bold; }
.win-mail-list-table tr.unread { font-weight: bold; color: #000; }
.win-mail-preview {
  flex: 1; background: rgba(255, 255, 255, 0.7); padding: 12px;
  overflow-y: auto; display: flex; flex-direction: column;
}
.win-mail-preview-header {
  border-bottom: 1px solid #ccc; padding-bottom: 6px; margin-bottom: 10px;
  font-size: 10px; color: #444; line-height: 1.4;
}
.win-mail-preview-body {
  font-size: 11px; color: #333; line-height: 1.5;
}

/* ── CRYPTO PAYMENT DIALOG ── */
.crypto-selection-row {
  display: flex; gap: 8px; margin-bottom: 10px;
}
.crypto-option {
  flex: 1; border: 1.5px solid #b3c6dc; background: rgba(255,255,255,0.5);
  padding: 8px; border-radius: 4px; text-align: center; cursor: pointer;
  transition: all 0.15s; font-weight: bold; font-size: 11px; color: #333;
}
.crypto-option:hover {
  background: rgba(255,255,255,0.85); border-color: #5a8bc8;
}
.crypto-option.active {
  background: #e6f2ff; border-color: #1c4b79; color: #1c4b79;
  box-shadow: 0 0 5px rgba(28,75,121,0.25);
}
.crypto-payment-box {
  background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.1);
  padding: 10px; border-radius: 4px; margin-bottom: 10px; font-size: 10px;
  line-height: 1.4; color: #333;
}
.crypto-address-container {
  display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.7);
  border: 1px solid #ccc; padding: 4px 6px; margin-top: 5px; border-radius: 2px;
}
.crypto-address-text {
  font-family: 'Consolas', monospace; font-size: 10px; flex: 1;
  word-break: break-all; color: #111; user-select: all;
}
.crypto-qr-sim {
  width: 90px; height: 90px; background: #333; margin: 8px auto;
  border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: flex; flex-wrap: wrap; align-content: flex-start;
}
.qr-pixel {
  width: 10%; height: 10%; background: #fff;
}
.qr-pixel.black { background: #000; }
.crypto-progress-bar {
  height: 12px; background: rgba(0,0,0,0.1); border-radius: 6px;
  overflow: hidden; border: 1px solid rgba(0,0,0,0.2); margin-top: 8px;
}
.crypto-progress-fill {
  height: 100%; width: 0%; background: linear-gradient(to right, #5cb85c, #4cae4c);
  transition: width 0.1s linear;
}
.crypto-status-text {
  font-weight: bold; color: #1c4b79; text-align: center; margin-top: 5px; font-size: 10px;
}

/* Simulated Email Toast Alert */
.email-toast-alert {
  position: fixed; bottom: 15px; right: 15px; width: 260px;
  background: linear-gradient(135deg, rgba(24,38,54,0.92) 0%, rgba(8,14,22,0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5); z-index: 20000;
  display: flex; flex-direction: column; overflow: hidden;
  animation: slideInUp 0.3s ease-out; backdrop-filter: blur(15px);
}
.email-toast-header {
  background: rgba(255,255,255,0.08); padding: 4px 8px; font-size: 9px;
  color: #a0b5cc; font-weight: bold; display: flex; justify-content: space-between;
}
.email-toast-body {
  padding: 8px 12px; cursor: pointer; color: #fff; font-size: 11px;
}
.email-toast-body strong { color: #00ff66; display: block; font-size: 10px; margin-bottom: 2px; }
@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── VIP PREMIUM DOWNLOADS STYLES ── */
.vip-download-item {
  border: 1.5px solid rgba(28, 75, 121, 0.4);
  background: linear-gradient(135deg, rgba(20, 30, 48, 0.75) 0%, rgba(36, 59, 85, 0.8) 100%);
  padding: 10px 14px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 3px 8px rgba(0,0,0,0.3);
  margin-bottom: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.vip-download-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(90, 159, 212, 0.5), transparent);
}

.vip-download-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  padding-right: 12px;
}

.vip-download-title {
  font-size: 12px;
  color: #fff;
  text-shadow: 0 0 8px rgba(90, 159, 212, 0.6);
  font-weight: bold;
}

.vip-download-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.vip-download-badge-undetected {
  background: rgba(0, 255, 102, 0.15);
  border: 1px solid rgba(0, 255, 102, 0.5);
  color: #00ff66;
  font-size: 8px;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 5px rgba(0,255,102,0.2);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vip-download-badge-undetected::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 4px #00ff66;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.download-progress-bar-container {
  margin-top: 6px;
  width: 100%;
  height: 6px;
  background: rgba(0,0,0,0.3);
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  display: none;
}

.download-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, #00B4DB, #0083B0);
  box-shadow: 0 0 8px rgba(0, 180, 219, 0.6);
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* 🌀 WINDOWS VISTA AERO ANIMATIONS 🌀 */

/* Fade-in for tabs and panels */
@keyframes aeroFadeIn {
  0% { opacity: 0; transform: scale(0.98) translateY(5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.blade-panel.active {
  animation: aeroFadeIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Button hover glowing transition */
.vista-btn-classic, .vista-btn-action, .blade-tab, .admin-tab-btn {
  transition: all 0.25s ease-out;
}
.vista-btn-classic:hover, .vista-btn-action:hover {
  transform: scale(1.02);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.7), 0 0 8px rgba(100, 150, 255, 0.5);
}

/* Window/Modal pop-in animation */
@keyframes vistaWindowPop {
  0% { opacity: 0; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

.vista-window, .vista-dialog-box, .vista-start-menu, .msn-chat-window {
  animation: vistaWindowPop 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  transition: box-shadow 0.3s ease;
}

/* Table row hover smooth transition */
.admin-applet-table tbody tr {
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.admin-applet-table tbody tr:hover {
  transform: translateX(2px);
}

/* Input fields focus glow */
input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(45, 140, 240, 0.7), inset 0 0 4px rgba(255, 255, 255, 0.4);
  outline: none;
  border-color: #5a9fd4;
}

body.theme-aero-default #aurora-bg {
  background: url('vista_aurora.png') no-repeat center center !important;
  background-size: cover !important;
}

body.theme-dreamscene-ultimate #aurora-bg {
  background: url('dreamscene_ultimate.png') no-repeat center center !important;
  background-size: cover !important;
}

body.theme-red-energy #aurora-bg {
  background: url('theme_red_energy.png') no-repeat center center !important;
  background-size: cover !important;
}

body.theme-aero-dark #aurora-bg {
  background: url('theme_aero_dark.png') no-repeat center center !important;
  background-size: cover !important;
}

.wmp-win-btn {
  width: 15px;
  height: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 8px;
  line-height: 10px;
  text-align: center;
  cursor: pointer;
  border-radius: 1px;
}
.wmp-win-btn:hover {
  background: rgba(255,255,255,0.25);
}

@keyframes dreamsceneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.vista-sidebar {
  background: rgba(10, 20, 35, 0.5) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1), -5px 0 25px rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px !important;
  overflow-y: auto;
}

.vista-sidebar .widget-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  border-radius: 4px !important;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.vista-sidebar .widget-header {
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.01)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-weight: bold;
  font-size: 11px;
  color: #c5d8eb !important;
  padding: 6px 10px !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

/* Winamp specific styling overrides */
.winamp-body {
  border-color: #222 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 0 10px rgba(0,255,0,0.1);
}
.winamp-btn {
  font-family: monospace;
  font-weight: bold;
  transition: all 0.15s ease;
}
.winamp-btn:hover {
  background: #333 !important;
  color: #00ff00 !important;
}
.winamp-btn:active {
  background: #111 !important;
}
.winamp-bar {
  transition: height 0.12s ease-out;
}
#winamp-volume::-webkit-slider-runnable-track {
  background: #333;
}
#winamp-volume::-webkit-slider-thumb {
  background: #00ff00;
  border: 1px solid #000;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* ── AERO GLASS GLOSSY ORB ICONS (2007 STYLE) ── */
.aero-tab-icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  vertical-align: middle;
  box-shadow: 0 1px 2px rgba(0,0,0,0.6), inset 0 -2px 2px rgba(0,0,0,0.4), inset 0 2px 2px rgba(255,255,255,0.8);
  border: 0.5px solid rgba(0,0,0,0.2);
}
.aero-tab-icon::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 3px;
  width: 13px;
  height: 6px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 100%);
  border-radius: 6px 6px 3px 3px;
}
.aero-tab-icon::after {
  position: absolute;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 10px;
  font-weight: bold;
  color: #ffffff;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.6);
}
.icon-forums {
  background: radial-gradient(circle at 4px 4px, #4290e9 0%, #1e528a 100%);
}
.icon-forums::after { content: 'F'; }

.icon-usercp {
  background: radial-gradient(circle at 4px 4px, #70cf70 0%, #3e8d3e 100%);
}
.icon-usercp::after { content: 'U'; }

.icon-msn {
  background: radial-gradient(circle at 4px 4px, #fdbf68 0%, #cc7210 100%);
}
.icon-msn::after { content: 'C'; }

.icon-games {
  background: radial-gradient(circle at 4px 4px, #6fe2f3 0%, #2093a7 100%);
}
.icon-games::after { content: 'G'; }

.icon-members {
  background: radial-gradient(circle at 4px 4px, #b27bf5 0%, #662db1 100%);
}
.icon-members::after { content: 'M'; }

.icon-admin {
  background: radial-gradient(circle at 4px 4px, #f16d6a 0%, #ab2925 100%);
}
.icon-admin::after { content: 'A'; }

/* ── GAMES EXPLORER (HUB & SINGLE VIEW) ── */
.game-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.game-card-tile {
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(163, 184, 214, 0.55);
  border-radius: 6px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  user-select: none;
}
.game-card-tile:hover {
  background: rgba(255, 255, 255, 0.42);
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 180, 255, 0.3);
}
.game-tile-icon-frame {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.8);
}
.game-tile-title {
  font-size: 13.5px;
  font-weight: bold;
  color: #1c4b79;
  margin-bottom: 4px;
}
.game-tile-genre {
  display: inline-block;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0,0,0,0.1);
}
.game-tile-desc {
  font-size: 11px;
  color: #444;
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.game-play-btn {
  background: linear-gradient(to bottom, #5a9fd4, #1c4b79);
  color: #fff;
  border: 1px solid #0d2e52;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.15s;
}
.game-card-tile:hover .game-play-btn {
  background: linear-gradient(to bottom, #6ab0e0, #2b5a8a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 3px 6px rgba(0,0,0,0.3);
}

.game-single-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(238, 244, 253, 0.45);
  border: 1px solid rgba(156, 187, 224, 0.6);
  padding: 8px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.game-arena-card {
  max-width: 580px;
  margin: 10px auto;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(163, 184, 214, 0.7);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── SOUND TOGGLE PILL ── */
.sound-toggle-pill {
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(210,230,250,0.5) 50%, rgba(180,210,240,0.6) 100%);
  border: 1px solid rgba(28, 75, 121, 0.5);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: bold;
  color: #1c4b79;
  cursor: pointer;
  box-shadow: inset 0 1px 1px #fff, 0 1px 3px rgba(0,0,0,0.15);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sound-toggle-pill:hover {
  background: linear-gradient(180deg, #ffffff 0%, #d8ecfd 100%);
  box-shadow: 0 0 6px rgba(0, 180, 255, 0.5);
  color: #0369a1;
}

/* ── IE ADDRESS STRIP SEARCH BOX & RESULTS ── */
.ie-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #7ba7c9;
  border-radius: 2px;
  padding: 1px 3px;
  margin-left: 8px;
  width: 250px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}
.ie-search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 11px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #333;
  padding: 2px 4px;
}
.ie-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: #1c4b79;
  padding: 0 4px;
}
.search-results-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  max-height: 380px;
  overflow-y: auto;
  background: rgba(245, 249, 255, 0.96);
  border: 2px solid #38bdf8;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 99999;
  margin-top: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
.search-section-header {
  background: linear-gradient(180deg, #2b5a8a, #1c4b79);
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  text-transform: uppercase;
}
.search-item {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(163, 184, 214, 0.4);
  cursor: pointer;
  transition: background 0.12s;
}
.search-item:hover {
  background: rgba(186, 230, 253, 0.6);
}
.search-item-title {
  font-size: 11.5px;
  font-weight: bold;
  color: #0c4a6e;
}
.search-item-sub {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

/* ── SHOUTBOX WIDGET ── */
.shoutbox-widget-card {
  background: rgba(255, 255, 255, 0.28);
  border: 1.5px solid rgba(163, 184, 214, 0.65);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.shoutbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, #3a689b 0%, #1c4b79 100%);
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  border-bottom: 1px solid #14375a;
}
.shoutbox-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shoutbox-live-pip {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulsePip 1.5s infinite;
}
@keyframes pulsePip {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
.shoutbox-badge {
  font-size: 9px;
  background: rgba(255,255,255,0.2);
  padding: 1px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
}
.shoutbox-tool-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 3px;
  padding: 2px 6px;
  cursor: pointer;
  font-size: 11px;
}
.shoutbox-tool-btn:hover {
  background: rgba(255,255,255,0.4);
}
.shoutbox-messages-stream {
  height: 180px;
  max-height: 180px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(240, 246, 255, 0.45);
}
.shoutbox-messages-stream::-webkit-scrollbar {
  width: 14px;
}
.shoutbox-messages-stream::-webkit-scrollbar-track {
  background: #eef3f8;
  border-left: 1px solid #c4d7ea;
}
.shoutbox-messages-stream::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #cde3f8 0%, #8db8e0 50%, #689ecf 100%);
  border: 1px solid #487299;
  border-radius: 2px;
}
.shoutbox-messages-stream::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #dcf0ff 0%, #a4cbed 50%, #7eb2dd 100%);
}
.shout-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(200, 220, 240, 0.7);
  word-break: break-word;
}
.shout-item.my-shout {
  background: rgba(235, 245, 255, 0.85);
  border-color: rgba(140, 190, 240, 0.85);
}
.shout-avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  object-fit: cover !important;
  border-radius: 3px;
  border: 1px solid #7f9db9;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  background: #fff;
}
.shout-bubble {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shout-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.shout-author {
  font-weight: bold;
  color: #1c4b79;
  cursor: pointer;
  text-decoration: none;
}
.shout-author:hover {
  text-decoration: underline;
}
.shout-time {
  font-size: 9.5px;
  color: #64748b;
  margin-left: auto;
  white-space: nowrap;
}
.shout-text {
  color: #1e293b;
  font-size: 11.5px;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.shout-text img {
  max-width: 120px;
  max-height: 90px;
  object-fit: contain;
  vertical-align: middle;
}
.msn-rendered-emo {
  font-size: 14px;
  vertical-align: middle;
  display: inline-block;
  margin: 0 1px;
}
.shoutbox-bottom-bar {
  padding: 6px 10px;
  background: rgba(230, 240, 252, 0.85);
  border-top: 1px solid rgba(163, 184, 214, 0.5);
}
.shoutbox-input-group {
  display: flex;
  gap: 6px;
}
.shoutbox-input-group input {
  flex: 1;
  border: 1px solid #7ba7c9;
  padding: 5px 8px;
  font-size: 11.5px;
  border-radius: 2px;
  outline: none;
  background: #ffffff;
}
.shoutbox-send-btn {
  background: linear-gradient(180deg, #5a9fd4, #1c4b79);
  color: #fff;
  border: 1px solid #0d2e52;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 3px;
  cursor: pointer;
}
.shoutbox-emoticons-tray {
  display: flex;
  gap: 8px;
  padding-top: 6px;
  font-size: 16px;
  user-select: none;
}
.msn-emo {
  cursor: pointer;
  transition: transform 0.1s;
}
.msn-emo:hover {
  transform: scale(1.3);
}

/* ── DOWNLOADS EXPLORER ── */
.downloads-explorer-header {
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(163, 184, 214, 0.65);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.downloads-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.downloads-folder-icon {
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23f59e0b' d='M4 10h16l4 4h20v24H4z'/%3E%3Cpath fill='%23fbbf24' d='M4 16h40v22H4z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.downloads-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dl-filter-btn {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #7ba7c9;
  border-radius: 12px;
  padding: 3px 12px;
  font-size: 11px;
  color: #1c4b79;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.dl-filter-btn.active, .dl-filter-btn:hover {
  background: linear-gradient(180deg, #4299e1, #1c4b79);
  color: #fff;
  border-color: #0c4a6e;
}
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.download-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(163, 184, 214, 0.6);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.15s;
}
.download-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(0, 180, 255, 0.25);
}
.dl-card-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.dl-file-icon {
  font-size: 28px;
  line-height: 1;
}
.dl-card-title {
  font-size: 13px;
  font-weight: bold;
  color: #1c4b79;
}
.dl-card-category {
  font-size: 9.5px;
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 1px 6px;
  border-radius: 8px;
  margin-top: 2px;
  font-weight: bold;
}
.dl-card-desc {
  font-size: 11px;
  color: #444;
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.dl-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(163, 184, 214, 0.4);
  font-size: 10.5px;
  color: #64748b;
}
.dl-btn {
  background: linear-gradient(180deg, #4ade80, #16a34a);
  color: #fff;
  border: 1px solid #15803d;
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.15);
}
.dl-btn:hover {
  background: linear-gradient(180deg, #86efac, #22c55e);
}

/* ── VISTA WINDOW MODALS & FILE DOWNLOAD DIALOG ── */
.vista-window-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.download-dialog-box {
  width: 440px;
  background: #f0f0f0;
  border: 1px solid #0055ea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.5), 0 0 1px 1px rgba(255,255,255,0.6);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
.download-animation-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 24px;
  background: #ffffff;
  border-bottom: 1px solid #d4d4d4;
}
.anim-icon {
  font-size: 32px;
}
.anim-packet-path {
  position: relative;
  width: 140px;
  height: 24px;
  display: flex;
  align-items: center;
}
.anim-packet {
  font-size: 20px;
  animation: packetFly 1.6s infinite linear;
}
@keyframes packetFly {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(110px); opacity: 0; }
}
.download-meta-table {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}
.dl-meta-row {
  display: flex;
  gap: 10px;
}
.dl-label {
  width: 110px;
  color: #555;
  font-weight: 500;
}
.dl-val {
  flex: 1;
  color: #111;
  font-weight: bold;
}
.vista-progress-wrapper {
  margin: 10px 20px 16px 20px;
  height: 18px;
  background: #e2e8f0;
  border: 1px solid #94a3b8;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
.vista-progress-bar {
  height: 100%;
  background: linear-gradient(180deg, #86efac 0%, #22c55e 50%, #15803d 100%);
  background-size: 30px 30px;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.3) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.3) 75%, transparent 75%, transparent);
  animation: progressStripes 1s linear infinite;
  transition: width 0.2s ease;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
@keyframes progressStripes {
  0% { background-position: 0 0; }
  100% { background-position: 30px 0; }
}
.download-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 20px;
  background: #f0f0f0;
  border-top: 1px solid #dcdcdc;
}
.vista-btn-dialog {
  background: linear-gradient(180deg, #ffffff 0%, #e1e1e1 50%, #cecece 100%);
  border: 1px solid #707070;
  border-radius: 3px;
  padding: 4px 18px;
  font-size: 11px;
  color: #111;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff;
}
.vista-btn-dialog:hover {
  background: linear-gradient(180deg, #eaf6fd 0%, #bee6fd 50%, #a7d9f5 100%);
  border-color: #3c7fb1;
}
.vista-btn-dialog.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── WINDOWS AVATAR PICKER MODAL ── */
.avatar-picker-dialog {
  width: 720px;
  max-width: 95vw;
  background: #f0f4f8;
  border: 1.5px solid #0284c7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,0.6);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
.avatar-picker-content {
  padding: 14px 18px;
}
.avatar-picker-tabs {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid #cbd5e1;
  padding-bottom: 4px;
}
.avatar-tab {
  background: none;
  border: none;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: bold;
  color: #475569;
  cursor: pointer;
  border-radius: 3px 3px 0 0;
}
.avatar-tab.active, .avatar-tab:hover {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
}
.avatar-picker-body {
  display: flex;
  gap: 16px;
  max-height: 380px;
}
.avatar-picker-preview-col {
  width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 14px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}
.avatar-preview-frame {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  border: 3px solid #0284c7;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 132, 199, 0.35);
  margin-bottom: 10px;
  background: #000;
}
.avatar-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-preview-name {
  font-size: 13px;
  font-weight: bold;
  color: #0f172a;
  text-align: center;
}
.avatar-preview-os {
  font-size: 10px;
  color: #0284c7;
  font-weight: bold;
  margin-top: 2px;
}
.avatar-grid-scroll {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  padding: 10px;
}
.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
}
.avatar-grid-item {
  width: 68px;
  height: 68px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.avatar-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-grid-item:hover {
  border-color: #38bdf8;
  transform: scale(1.06);
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.4);
}
.avatar-grid-item.selected {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px #38bdf8, 0 4px 12px rgba(2, 132, 199, 0.5);
  transform: scale(1.06);
}
.avatar-picker-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

/* ── BBCODE TOOLBAR & FORMATTING ── */
.bbcode-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: rgba(230, 240, 252, 0.8);
  border: 1px solid #94b2d1;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 4px 6px;
}
.bbcode-btn {
  background: linear-gradient(180deg, #ffffff 0%, #e2edf8 100%);
  border: 1px solid #7ba7c9;
  border-radius: 3px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: bold;
  color: #1c4b79;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff;
}
.bbcode-btn:hover {
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  border-color: #0284c7;
}
.bbcode-quote {
  border-left: 3px solid #0284c7;
  background: rgba(224, 242, 254, 0.4);
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 0 4px 4px 0;
  font-style: italic;
}
.bbcode-quote-author {
  font-style: normal;
  font-weight: bold;
  font-size: 10.5px;
  color: #0369a1;
  margin-bottom: 4px;
}
.bbcode-code {
  background: #0f172a;
  color: #38bdf8;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 11px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #334155;
  overflow-x: auto;
  margin: 8px 0;
}
.bbcode-img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin: 6px 0;
}

/* ── LEADERBOARD & REPUTATION ── */
.game-leaderboard-card {
  background: rgba(255, 255, 255, 0.32);
  border: 1.5px solid rgba(163, 184, 214, 0.65);
  border-radius: 6px;
  max-width: 580px;
  margin: 14px auto 0 auto;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.leaderboard-header {
  background: linear-gradient(180deg, #f59e0b, #b45309);
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.leaderboard-table th {
  background: rgba(220, 235, 250, 0.6);
  padding: 6px 8px;
  color: #1c4b79;
  font-weight: bold;
  border-bottom: 1px solid rgba(163, 184, 214, 0.6);
  text-align: left;
}
.leaderboard-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(163, 184, 214, 0.3);
  color: #222;
}
.leaderboard-table tr:hover {
  background: rgba(255, 255, 255, 0.4);
}
.rep-btn {
  background: linear-gradient(180deg, #ecfdf5, #a7f3d0);
  border: 1px solid #10b981;
  color: #065f46;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.rep-btn:hover {
  background: linear-gradient(180deg, #a7f3d0, #34d399);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}
.rep-btn-disabled {
  background: rgba(0,0,0,0.05);
  border: 1px solid #ccc;
  color: #888;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
}
.post-rep-pill {
  font-size: 10px;
  font-weight: bold;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 1px 6px;
  margin-top: 3px;
}

/* ── SCREEN SHAKE EFFECT (NUDGE) ── */
.nudge-shake {
  animation: screenShake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes screenShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}



