/* ============================================================
   ACCOUNT HACKER — AAA UI STYLESHEET
   happystoner5420 Games
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width:100%; height:100%; overflow:hidden; background:#05060a; color:#e8eef7;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; user-select: none; cursor: default; }

/* ===== Background FX ===== */
#bgfx { position:fixed; inset:0; z-index:0; }
.scanlines { position:fixed; inset:0; z-index:1; pointer-events:none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.vignette { position:fixed; inset:0; z-index:2; pointer-events:none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.85) 100%); }

/* ===== Screens ===== */
.screen { position:fixed; inset:0; z-index:5; display:none; }
.screen.active { display:flex; }
#mainMenu, #howToScreen, #creditsScreen { flex-direction:column; align-items:center; justify-content:center; padding:40px; }

/* ===== Title ===== */
.logo-wrap { text-align:center; margin-bottom:40px; }
.game-title { font-size: clamp(48px, 8vw, 110px); font-weight:900; letter-spacing:6px;
  background: linear-gradient(180deg, #fff 0%, #7ee8ff 45%, #2b6bff 100%);
  -webkit-background-clip: text; background-clip:text; color:transparent;
  text-shadow: 0 0 40px rgba(46,140,255,0.4); filter: drop-shadow(0 8px 24px rgba(0,80,180,0.5)); }
.game-title span { color:#ff3366; -webkit-text-fill-color:#ff3366; background:none;
  text-shadow:0 0 30px rgba(255,40,90,0.7); }
.subtitle { color:#8aa5c2; letter-spacing:8px; margin-top:8px; font-size:14px; }

/* ===== Menu Buttons ===== */
.menu { display:flex; flex-direction:column; gap:14px; min-width:340px; }
.menu-btn { position:relative; padding:16px 22px; font-size:16px; letter-spacing:3px; font-weight:700;
  color:#dff1ff; background: linear-gradient(180deg, rgba(40,80,140,0.55), rgba(10,20,40,0.75));
  border:1px solid rgba(120,180,255,0.4); border-radius:10px; cursor:pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,40,120,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.18s cubic-bezier(.2,.7,.3,1.4); }
.menu-btn span { display:inline-block; margin-right:10px; color:#7ee8ff; }
.menu-btn:hover { transform: translateY(-2px) scale(1.02); border-color:#7ee8ff;
  box-shadow:0 14px 40px rgba(0,120,220,0.6), inset 0 1px 0 rgba(255,255,255,0.25); }
.menu-btn:active { transform:translateY(1px) scale(0.99); }
.menu-btn.danger { border-color:rgba(255,80,100,0.6); }
.menu-btn.danger span { color:#ff6680; }
.menu-btn.danger:hover { border-color:#ff3366; box-shadow:0 14px 40px rgba(220,30,70,0.55); }

.menu-footer { position:absolute; bottom:20px; color:#5a708a; font-size:12px; letter-spacing:2px; }

/* ===== Glass Panels ===== */
.panel.glass { background: linear-gradient(160deg, rgba(20,30,50,0.7), rgba(8,12,22,0.85));
  border:1px solid rgba(120,180,255,0.25); border-radius:16px; padding:28px 32px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  max-width: 720px; width:100%; }
.panel h2 { font-size:28px; letter-spacing:4px; margin-bottom:18px; color:#7ee8ff;
  text-shadow:0 0 18px rgba(50,150,255,0.5); }
.howto-list { list-style:none; padding:0; margin-bottom:22px; }
.howto-list li { padding:10px 0; border-bottom:1px dashed rgba(120,180,255,0.15); line-height:1.55; color:#cdd9e8; }
.howto-list li b { color:#fff; }
.howto-list li i { color:#ff89a8; font-style:normal; }

/* ===== Credits ===== */
.credits .cred-row { display:flex; justify-content:space-between; padding:10px 0;
  border-bottom:1px solid rgba(120,180,255,0.12); color:#a8bcd2; }
.credits .cred-row b { color:#fff; }
.cred-tag { margin-top:18px; color:#5a708a; font-size:12px; letter-spacing:2px; text-align:center; }

/* ===== Desktop ===== */
#desktop { background: radial-gradient(ellipse at top, #0c1834 0%, #04070f 100%); flex-direction:column; }
.taskbar { display:flex; justify-content:space-between; align-items:center;
  padding:8px 18px; background: rgba(8,12,22,0.85); border-bottom:1px solid rgba(120,180,255,0.2);
  backdrop-filter: blur(16px); z-index: 100; position: relative; }
.tb-left, .tb-right { display:flex; gap:18px; align-items:center; }
.tb-logo { font-weight:900; letter-spacing:4px; color:#7ee8ff; }
.tb-clock { color:#a8bcd2; font-variant-numeric: tabular-nums; }
.tb-stat { color:#cdd9e8; font-size:13px; letter-spacing:1px; }
.tb-stat b { color:#fff; }
.tb-btn { padding:6px 14px; background:rgba(40,80,140,0.5); border:1px solid rgba(120,180,255,0.4);
  color:#dff1ff; border-radius:6px; cursor:pointer; font-weight:700; letter-spacing:2px; }
.tb-btn:hover { background:rgba(60,120,200,0.6); }

.desktop-grid { padding:30px; display:grid; grid-template-columns: repeat(auto-fill, 110px); gap:24px; align-content:flex-start; flex:1; }
.desk-icon { display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer;
  padding:10px; border-radius:10px; transition: all 0.15s; }
.desk-icon:hover { background: rgba(120,180,255,0.12); transform: scale(1.05); }
.desk-icon span { font-size:12px; color:#dff1ff; text-shadow:0 1px 3px #000; text-align:center; letter-spacing:1px; }
.icon { width:64px; height:64px; border-radius:14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2); }
.icon.term { background: linear-gradient(160deg,#0c2a14,#04140a); border:1px solid #2cff7a;
  position:relative; }
.icon.term::after { content:">_"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#2cff7a; font-weight:900; font-size:24px; text-shadow:0 0 10px #2cff7a; }
.icon.sb { background: linear-gradient(160deg,#1877f2,#0a4099); position:relative; }
.icon.sb::after { content:"S"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:900; font-size:38px; font-style:italic; }
.icon.xa { background: linear-gradient(160deg,#000,#222); position:relative; border:1px solid #555; }
.icon.xa::after { content:"𝕏"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:900; font-size:38px; }
.icon.msg { background: linear-gradient(160deg,#22c55e,#0e7a3a); position:relative; }
.icon.msg::after { content:"💬"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:30px; }
.icon.help { background: linear-gradient(160deg,#a855f7,#4c1d95); position:relative; }
.icon.help::after { content:"?"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:900; font-size:38px; }

/* ===== Windows ===== */
#windowHost { position:absolute; inset:0; pointer-events:none; }
.win { position:absolute; pointer-events:auto; min-width:520px; min-height:420px;
  background: linear-gradient(180deg, rgba(20,28,48,0.96), rgba(10,14,26,0.98));
  border:1px solid rgba(120,180,255,0.3); border-radius:12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7); display:flex; flex-direction:column; overflow:hidden;
  resize: both; }
.win-title { display:flex; justify-content:space-between; align-items:center;
  padding:8px 14px; background:rgba(8,12,22,0.95); border-bottom:1px solid rgba(120,180,255,0.2); cursor:move; }
.win-title h3 { font-size:13px; letter-spacing:3px; color:#cdd9e8; }
.win-controls button { width:24px; height:24px; border:none; border-radius:50%; margin-left:6px; cursor:pointer;
  font-weight:900; color:#000; }
.win-min { background:#ffbd2e; }
.win-max { background:#28c93f; }
.win-close { background:#ff5f56; }
.win-body { flex:1; overflow:auto; }

/* ===== TERMINAL ===== */
.term-body { background:#040a06; color:#3cff7a; font-family: "Consolas","Courier New",monospace; padding:14px;
  font-size:13px; height:100%; }
.term-body .glow { text-shadow:0 0 8px #3cff7a; }
.term-line { white-space:pre-wrap; }
.term-prompt { color:#3cff7a; }
.term-input { background:transparent; border:none; outline:none; color:#3cff7a; font-family:inherit; font-size:13px; width:80%; }
.target-list { display:grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap:10px; margin-top:10px; }
.target-card { padding:10px; border:1px solid #1a4a2a; background:#071a0e; cursor:pointer; border-radius:6px; transition:all .15s; }
.target-card:hover { background:#0d2a18; border-color:#3cff7a; }
.target-card.banned { opacity:0.4; cursor:not-allowed; border-color:#5a1a1a; background:#1a0707; color:#ff6680;}
.target-card .tname { color:#7effb0; font-weight:700; }
.target-card .tplat { font-size:11px; color:#5a8a6a; }
.target-card .theat { height:4px; background:#0a1f10; border-radius:2px; margin-top:6px; overflow:hidden; }
.target-card .theat span { display:block; height:100%; background: linear-gradient(90deg,#3cff7a,#ff3366); }

/* ===== HACK MINI-GAME ===== */
.hack-mini { padding:20px; background:#040a06; height:100%; }
.hack-mini h4 { color:#3cff7a; margin-bottom:12px; letter-spacing:2px; }
.hack-grid { display:grid; grid-template-columns: repeat(8, 1fr); gap:6px; max-width:520px; }
.hack-cell { background:#0a1a10; border:1px solid #1a4a2a; aspect-ratio:1; display:flex; align-items:center; justify-content:center;
  font-family:monospace; color:#3cff7a; font-weight:700; cursor:pointer; transition:all .12s; border-radius:4px; }
.hack-cell:hover { background:#1a3a22; border-color:#3cff7a; transform:scale(1.05); }
.hack-cell.locked { background:#3cff7a; color:#000; cursor:default; transform:none; }
.hack-cell.wrong { background:#5a1a1a; color:#ff6680; }
.hack-target { color:#7effb0; margin-bottom:10px; font-family:monospace; }

/* ===== SOCIAL SITES — SOCIALBOOK ===== */
.sb-app { background:#f0f2f5; color:#050505; height:100%; display:flex; flex-direction:column;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.sb-nav { background:#fff; border-bottom:1px solid #dadde1; padding:8px 16px;
  display:flex; align-items:center; justify-content:space-between; box-shadow:0 1px 3px rgba(0,0,0,0.08); }
.sb-logo { font-size:28px; font-weight:900; color:#1877f2; font-style:italic; letter-spacing:-1px; }
.sb-search { flex:1; max-width:320px; margin:0 16px; padding:8px 14px; background:#f0f2f5; border:none; border-radius:50px; font-size:14px; }
.sb-nav-icons { display:flex; gap:8px; }
.sb-nav-icon { width:38px; height:38px; border-radius:50%; background:#e4e6eb; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:18px; }
.sb-me { display:flex; align-items:center; gap:6px; padding:4px 10px; background:#e4e6eb; border-radius:50px; cursor:pointer; }
.sb-me .av { width:28px; height:28px; border-radius:50%; }
.sb-main { flex:1; display:grid; grid-template-columns: 240px 1fr 280px; gap:0; overflow:hidden; }
.sb-side { padding:14px; overflow-y:auto; }
.sb-side-item { display:flex; align-items:center; gap:10px; padding:8px; border-radius:8px; cursor:pointer; }
.sb-side-item:hover { background:#e4e6eb; }
.sb-side-item .av { width:32px; height:32px; border-radius:50%; }
.sb-feed { padding:16px; overflow-y:auto; background:#f0f2f5; }
.sb-composer { background:#fff; border-radius:8px; padding:14px; margin-bottom:14px; box-shadow:0 1px 2px rgba(0,0,0,0.08); }
.sb-composer-top { display:flex; align-items:center; gap:10px; }
.sb-composer-top .av { width:40px; height:40px; border-radius:50%; }
.sb-composer-input { flex:1; padding:10px 14px; background:#f0f2f5; border:none; border-radius:50px; font-size:14px; cursor:text; }
.sb-composer-actions { display:flex; gap:8px; margin-top:10px; border-top:1px solid #ced0d4; padding-top:10px; justify-content:space-around; }
.sb-comp-btn { flex:1; padding:8px; background:transparent; border:none; cursor:pointer; border-radius:6px; font-weight:600; color:#65676b; }
.sb-comp-btn:hover { background:#f0f2f5; }
.sb-comp-btn.primary { background:#1877f2; color:#fff; }
.sb-post { background:#fff; border-radius:8px; padding:14px; margin-bottom:14px; box-shadow:0 1px 2px rgba(0,0,0,0.08); }
.sb-post-head { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.sb-post-head .av { width:40px; height:40px; border-radius:50%; }
.sb-post-head .who { flex:1; }
.sb-post-head .who .n { font-weight:600; color:#050505; }
.sb-post-head .who .t { font-size:12px; color:#65676b; }
.sb-post-text { color:#050505; line-height:1.5; margin-bottom:10px; white-space:pre-wrap; }
.sb-post img.sb-post-img { max-width:100%; border-radius:8px; margin-bottom:10px; }
.sb-post-stats { display:flex; justify-content:space-between; padding:6px 0; color:#65676b; font-size:13px; border-top:1px solid #ced0d4; border-bottom:1px solid #ced0d4; }
.sb-post-actions { display:flex; padding-top:6px; }
.sb-post-actions button { flex:1; padding:8px; background:transparent; border:none; cursor:pointer; border-radius:6px; color:#65676b; font-weight:600; }
.sb-post-actions button:hover { background:#f0f2f5; }
.sb-comments { margin-top:8px; padding-top:8px; border-top:1px solid #ced0d4; }
.sb-comment { display:flex; gap:8px; padding:6px 0; }
.sb-comment .av { width:30px; height:30px; border-radius:50%; flex-shrink:0; }
.sb-comment .bub { background:#f0f2f5; padding:8px 12px; border-radius:16px; max-width:80%; }
.sb-comment .bub .n { font-weight:600; font-size:12px; color:#050505; }
.sb-comment .bub .t { font-size:13px; color:#050505; }

/* ===== X APP ===== */
.x-app { background:#000; color:#e7e9ea; height:100%; display:flex;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.x-side { width:200px; padding:14px; border-right:1px solid #2f3336; }
.x-logo { font-size:32px; font-weight:900; margin-bottom:18px; }
.x-nav-item { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:50px; cursor:pointer; font-size:15px; font-weight:600;}
.x-nav-item:hover { background:#181818; }
.x-post-btn { width:100%; margin-top:14px; padding:12px; background:#1d9bf0; color:#fff; border:none; border-radius:50px; font-weight:700; cursor:pointer; }
.x-main { flex:1; border-right:1px solid #2f3336; overflow-y:auto; }
.x-header { padding:14px 16px; border-bottom:1px solid #2f3336; backdrop-filter: blur(8px); background:rgba(0,0,0,0.65); position:sticky; top:0; z-index:5; }
.x-header h3 { font-weight:800; font-size:20px; }
.x-composer { padding:14px; border-bottom:1px solid #2f3336; display:flex; gap:10px; }
.x-composer .av { width:40px; height:40px; border-radius:50%; flex-shrink:0; }
.x-composer-area { flex:1; }
.x-composer-input { width:100%; min-height:60px; background:transparent; border:none; outline:none; color:#e7e9ea; font-size:18px; resize:none; font-family:inherit; }
.x-composer-actions { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.x-composer-icons { display:flex; gap:14px; color:#1d9bf0; cursor:pointer; }
.x-composer-icons span { cursor:pointer; }
.x-post-submit { padding:8px 18px; background:#1d9bf0; color:#fff; border:none; border-radius:50px; font-weight:700; cursor:pointer; }
.x-post { padding:14px; border-bottom:1px solid #2f3336; display:flex; gap:10px; }
.x-post .av { width:40px; height:40px; border-radius:50%; flex-shrink:0; }
.x-post-body { flex:1; }
.x-post-head { display:flex; gap:6px; align-items:baseline; }
.x-post-head .n { font-weight:700; }
.x-post-head .h { color:#71767b; font-size:14px; }
.x-post-text { margin-top:4px; line-height:1.4; white-space:pre-wrap; }
.x-post img.x-post-img { margin-top:8px; max-width:100%; border-radius:14px; border:1px solid #2f3336; }
.x-post-stats { display:flex; gap:30px; margin-top:10px; color:#71767b; font-size:13px; }
.x-post-stats span { cursor:pointer; }
.x-post-stats span:hover { color:#1d9bf0; }
.x-replies { margin-top:8px; padding-left:14px; border-left:2px solid #2f3336; }
.x-reply { padding:6px 0; }
.x-reply .n { font-weight:700; font-size:13px; }
.x-reply .t { color:#e7e9ea; font-size:14px; }

.x-trends { width:280px; padding:14px; }
.x-trend-box { background:#16181c; border-radius:14px; padding:14px; margin-bottom:14px; }
.x-trend-box h4 { margin-bottom:10px; }
.trend-item { padding:6px 0; font-size:14px; }
.trend-item .top { color:#71767b; font-size:12px; }
.trend-item .name { font-weight:700; }

.sb-nav-icon.is-active, .sb-side-item.is-active { background:#dfe7f4; color:#0f2f6b; }
.x-nav-item.is-active { background:#181818; color:#fff; }
.social-row-click { cursor:pointer; }

.site-refresh {
  border:none; border-radius:999px; padding:8px 14px; cursor:pointer; font-weight:700; font-size:12px;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.site-refresh:hover { transform:translateY(-1px); }
.site-refresh.light { background:#e7f0ff; color:#1877f2; box-shadow:0 1px 2px rgba(0,0,0,0.08); }
.site-refresh.dark { background:#1d9bf0; color:#fff; }
.site-refresh.dirty { box-shadow:0 0 0 2px rgba(255,189,46,0.35); }

.nav-badge, .nav-inline-count, .social-unread-dot, .live-pill {
  display:inline-flex; align-items:center; justify-content:center; font-weight:800;
}
.nav-badge {
  min-width:18px; height:18px; padding:0 5px; margin-left:6px; border-radius:999px;
  background:#ff3366; color:#fff; font-size:10px; vertical-align:middle;
}
.nav-badge.inline { margin-left:8px; }
.nav-inline-count {
  min-width:18px; height:18px; padding:0 6px; border-radius:999px;
  background:#1d9bf0; color:#fff; font-size:10px;
}
.live-pill {
  padding:6px 10px; border-radius:999px; font-size:11px; letter-spacing:.4px;
}
.live-pill.dark { background:#1d9bf0; color:#fff; }
.social-sticky-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.live-hint {
  border-radius:10px; padding:10px 12px; margin-bottom:12px; font-size:12px; line-height:1.45;
}
.live-hint.light { background:#fffbe8; color:#8a5a00; border:1px solid #f0d36a; }
.live-hint.dark { background:#1a1c20; color:#c9d7ff; border:1px solid #2f3336; }

.social-section-title {
  font-size:18px; font-weight:800; margin-bottom:12px;
}
.social-section-title.light { color:#1c1e21; }
.social-section-title.dark { color:#e7e9ea; }

.social-card {
  border-radius:12px; padding:14px; margin-bottom:12px; display:flex; flex-direction:column; gap:12px;
}
.social-card.light { background:#fff; box-shadow:0 1px 2px rgba(0,0,0,0.08); }
.social-card.dark { background:#16181c; border:1px solid #2f3336; }
.social-card-main { display:flex; align-items:center; gap:12px; }
.social-card-main .av { width:42px; height:42px; border-radius:50%; flex-shrink:0; }
.social-card-title { font-weight:800; }
.social-card-sub { font-size:12px; color:#71767b; line-height:1.45; }
.social-card-actions { display:flex; gap:8px; flex-wrap:wrap; }
.social-inline-btn {
  border:none; border-radius:999px; padding:8px 14px; cursor:pointer; font-weight:700; font-size:12px;
}
.social-inline-btn.light { background:#e7f0ff; color:#1877f2; }
.social-inline-btn.dark { background:#1d9bf0; color:#fff; }
.social-empty {
  border-radius:12px; padding:22px; text-align:center; font-size:13px;
}
.social-empty.light { background:#fff; color:#65676b; box-shadow:0 1px 2px rgba(0,0,0,0.08); }
.social-empty.dark { background:#16181c; color:#9aa0a6; border:1px solid #2f3336; }

.social-comment-box {
  display:flex; gap:8px; margin-top:10px;
}
.social-comment-input {
  flex:1; border-radius:999px; padding:10px 14px; font:inherit; outline:none;
}
.social-comment-input.light { border:none; background:#f0f2f5; color:#050505; }
.social-comment-input.dark { border:1px solid #2f3336; background:#0f1113; color:#e7e9ea; }
.social-comment-send {
  border:none; border-radius:999px; padding:8px 14px; cursor:pointer; font-weight:700;
}
.social-comment-send.light { background:#1877f2; color:#fff; }
.social-comment-send.dark { background:#1d9bf0; color:#fff; }

.social-shared-block {
  border-radius:10px; padding:10px 12px; margin:8px 0 10px;
}
.social-shared-block.light { background:#f6f7f9; border:1px solid #dadde1; }
.social-shared-block.dark { background:#111315; border:1px solid #2f3336; }
.social-shared-copy { margin-top:4px; line-height:1.45; white-space:pre-wrap; }

.social-inbox {
  display:grid; grid-template-columns: 280px 1fr; gap:14px; min-height:520px;
}
.social-thread-list, .social-chat {
  border-radius:14px; overflow:hidden;
}
.social-thread-list.light, .social-chat.light { background:#fff; box-shadow:0 1px 2px rgba(0,0,0,0.08); }
.social-thread-list.dark, .social-chat.dark { background:#111315; border:1px solid #2f3336; }
.social-thread-row {
  display:flex; align-items:center; gap:10px; padding:12px; cursor:pointer; position:relative;
  border-bottom:1px solid rgba(127,127,127,0.12);
}
.social-thread-row:last-child { border-bottom:none; }
.social-thread-row.light:hover, .social-thread-row.light.is-active { background:#eef3fb; }
.social-thread-row.dark:hover, .social-thread-row.dark.is-active { background:#17191d; }
.social-thread-row .av { width:40px; height:40px; border-radius:50%; flex-shrink:0; }
.social-thread-copy { flex:1; min-width:0; }
.social-thread-top {
  display:flex; justify-content:space-between; gap:10px; font-size:12px; margin-bottom:4px;
}
.social-thread-top span:first-child { font-weight:800; font-size:13px; }
.social-thread-top span:last-child { color:#71767b; }
.social-thread-preview {
  color:#71767b; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.social-unread-dot {
  width:10px; height:10px; border-radius:50%; background:#1d9bf0; margin-left:8px;
}
.social-chat-head {
  display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-bottom:1px solid rgba(127,127,127,0.16);
}
.social-chat-title { font-weight:800; font-size:15px; }
.social-chat-sub { font-size:12px; color:#71767b; margin-top:2px; }
.social-chat-log {
  height:390px; overflow:auto; padding:16px; display:flex; flex-direction:column; gap:12px;
}
.social-chat-compose {
  display:flex; gap:8px; padding:14px 16px; border-top:1px solid rgba(127,127,127,0.16);
}
.social-chat-input {
  flex:1; border-radius:999px; padding:11px 14px; font:inherit; outline:none;
}
.social-chat-input.light { border:none; background:#f0f2f5; color:#050505; }
.social-chat-input.dark { border:1px solid #2f3336; background:#0f1113; color:#e7e9ea; }
.social-chat-send {
  border:none; border-radius:999px; padding:10px 16px; cursor:pointer; font-weight:800;
}
.social-chat-send.light { background:#1877f2; color:#fff; }
.social-chat-send.dark { background:#1d9bf0; color:#fff; }
.social-bubble-row {
  display:flex; gap:8px; align-items:flex-end;
}
.social-bubble-row.mine { justify-content:flex-end; }
.social-bubble-row .av { width:30px; height:30px; border-radius:50%; flex-shrink:0; }
.social-bubble-wrap { max-width:78%; }
.social-bubble-wrap.mine { display:flex; flex-direction:column; align-items:flex-end; }
.social-bubble-name { font-size:11px; margin-bottom:4px; color:#71767b; }
.social-bubble {
  border-radius:18px; padding:10px 12px; line-height:1.45; white-space:pre-wrap; word-break:break-word;
}
.social-bubble.light { background:#f0f2f5; color:#050505; }
.social-bubble.light.mine { background:#1877f2; color:#fff; }
.social-bubble.dark { background:#1a1d21; color:#e7e9ea; border:1px solid #2f3336; }
.social-bubble.dark.mine { background:#1d9bf0; color:#fff; border-color:#1d9bf0; }
.social-bubble-time { font-size:11px; color:#71767b; margin-top:4px; }

.social-market-grid {
  display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:12px;
}
.social-market-card {
  background:#fff; border-radius:12px; padding:14px; box-shadow:0 1px 2px rgba(0,0,0,0.08); display:flex; flex-direction:column; gap:8px;
}
.social-market-title { font-weight:800; color:#1c1e21; }
.social-market-price { color:#1877f2; font-weight:900; font-size:18px; }
.social-market-copy { color:#65676b; font-size:13px; line-height:1.45; min-height:38px; }

.social-follow-row {
  display:flex; align-items:center; gap:8px; padding:6px 0;
}
.social-follow-btn {
  background:#fff; color:#000; border:none; padding:6px 12px; border-radius:50px; font-weight:700; cursor:pointer;
}

.social-profile-av { width:58px !important; height:58px !important; }
.social-bio-input {
  width:100%; min-height:90px; border-radius:12px; padding:12px; resize:vertical; font:inherit;
}
.social-bio-input.light { border:none; background:#f0f2f5; color:#050505; }
.social-bio-input.dark { border:1px solid #2f3336; background:#0f1113; color:#e7e9ea; }

.social-msg-shell { height:100%; display:flex; flex-direction:column; }
.social-msg-shell.light { background:#f0f2f5; padding:16px; }
.social-msg-shell.dark { background:#000; padding:16px; color:#e7e9ea; }
.social-msg-top {
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px;
}

/* ===== Profile pic generator (CSS gradients used as fallback) ===== */
.av { background-size: cover; background-position:center; }

/* ===== Overlays ===== */
.overlay { position:fixed; inset:0; background: rgba(0,0,0,0.85); z-index:200; display:none;
  align-items:center; justify-content:center; backdrop-filter: blur(10px); }
.overlay.active { display:flex; }
.pause-panel { display:flex; flex-direction:column; gap:12px; min-width:340px; }
.go-title { color:#ff3366; text-shadow:0 0 30px #ff3366; }
.go-sub { color:#cdd9e8; margin-bottom:18px; }
.go-stats { color:#7ee8ff; margin-bottom:18px; line-height:1.7; }
.loading-panel { min-width:420px; max-width:560px; }
.loading-copy { color:#cdd9e8; line-height:1.55; margin-bottom:16px; }
.loading-meta {
  display:flex; justify-content:space-between; align-items:center; gap:18px;
  color:#8aa5c2; font-size:12px; letter-spacing:1.2px; margin-bottom:12px;
}
.loading-bar {
  height:14px; border-radius:999px; overflow:hidden; background:rgba(4,10,22,0.8);
  border:1px solid rgba(120,180,255,0.18); box-shadow:inset 0 0 18px rgba(0,0,0,0.55);
}
.loading-bar span {
  display:block; height:100%; width:0;
  background:linear-gradient(90deg, #2cff7a 0%, #7ee8ff 50%, #2b6bff 100%);
  box-shadow:0 0 16px rgba(46,140,255,0.45); transition:width .18s ease;
}
.loading-percent {
  margin-top:12px; color:#7ee8ff; font-weight:800; letter-spacing:3px; text-align:right;
}

/* ===== Toast ===== */
#toastHost { position:fixed; top:60px; right:20px; z-index:300; display:flex; flex-direction:column; gap:8px; }
.toast { padding:12px 18px; border-radius:8px; background:rgba(20,30,50,0.95); border:1px solid rgba(120,180,255,0.4);
  color:#fff; box-shadow:0 8px 30px rgba(0,0,0,0.6); animation: tIn .3s ease, tOut .3s ease 3.7s forwards;
  max-width:340px; font-size:13px; }
.toast.warn { border-color:#ffbd2e; color:#ffd479; }
.toast.danger { border-color:#ff3366; color:#ff89a8; }
.toast.good { border-color:#2cff7a; color:#7effb0; }
@keyframes tIn { from{transform:translateX(120%); opacity:0;} to{transform:translateX(0); opacity:1;} }
@keyframes tOut { to{transform:translateX(120%); opacity:0;} }

/* ===== Mod messages ===== */
.mod-msg { background: linear-gradient(180deg,#3a0a14,#1a0508); border:1px solid #ff3366; border-radius:8px; padding:14px;
  margin-bottom:14px; color:#ffb3c5; }
.mod-msg .from { font-weight:900; color:#ff3366; letter-spacing:2px; margin-bottom:6px; }

/* ===== Heat bar ===== */
.heat-bar { position:fixed; bottom:14px; left:14px; z-index:50; background:rgba(8,12,22,0.9); padding:8px 14px;
  border:1px solid rgba(255,80,100,0.4); border-radius:8px; color:#ff89a8; font-size:12px; letter-spacing:2px; min-width:240px; }
.heat-bar .bar { height:6px; background:#1a0508; border-radius:3px; margin-top:6px; overflow:hidden; }
.heat-bar .bar span { display:block; height:100%; background: linear-gradient(90deg,#2cff7a,#ffbd2e,#ff3366); width:0; transition: width .4s; }

/* ===== Scrollbars ===== */
::-webkit-scrollbar { width:8px; height:8px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(120,180,255,0.3); border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:rgba(120,180,255,0.5); }
