
/* EXP Tube white + turquoise/green social-game theme */
:root {
  --exp-white: #ffffff;
  --exp-ink: #08242c;
  --exp-muted: #52707a;
  --exp-blue: #1768aa;
  --exp-green: #39df37;
  --exp-turq: #16c8d2;
  --exp-pink: #ff4f87;
  --panel: rgba(255,255,255,0.88);
  --panel-border: rgba(17, 184, 190, 0.25);
  --text: #08242c;
  --muted: rgba(8,36,44,0.68);
  --btn: rgba(22,200,210,0.10);
  --btn-border: rgba(22,200,210,0.28);
}
html, body {
  background: #ffffff !important;
  color: var(--exp-ink) !important;
}
.hq-shell {
  background:
    radial-gradient(circle at 20% 0%, rgba(57,223,55,0.16), transparent 30%),
    radial-gradient(circle at 80% 5%, rgba(22,200,210,0.18), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eefcff 100%) !important;
}
.hq-frame { padding-top: 74px; }
.hq-stage {
  border: 2px solid rgba(22,200,210,0.28) !important;
  box-shadow: 0 20px 60px rgba(20, 150, 160, 0.18) !important;
  background: linear-gradient(180deg, #ffffff, #effbff) !important;
}
.hq-bg-layer--image {
  filter: saturate(1.05) contrast(1.02) brightness(1) !important;
}
.hq-bg-layer--shade {
  background:
    linear-gradient(to top, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.12) 42%, rgba(255,255,255,0.02) 100%) !important;
}
.hq-ground {
  bottom: 50px !important;
  height: 20px !important;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(22,200,210,0.06) 35%, rgba(57,223,55,0.07)) !important;
  border-top: 1px solid rgba(22,200,210,0.30) !important;
  box-shadow: none !important;
}
.player { bottom: 72px; }
.hq-topbar { top: 70px !important; left: 220px !important; }
.hq-topbar-title,
.hq-topbar-sub { color: var(--exp-ink) !important; text-shadow: 0 2px 12px rgba(255,255,255,0.8) !important; }
.hq-topbar-title { font-size: 30px; }
.hq-back-link,
.chat-history-btn,
.chat-hint,
.conn-status,
.player-stat-card,
.bottom-status-bar,
.hq-floating-btn,
.hq-floating-window,
.hq-panel,
.hq-account-card,
.exp-video-panel {
  color: var(--exp-ink) !important;
  background: rgba(255,255,255,0.86) !important;
  border-color: rgba(22,200,210,0.24) !important;
  box-shadow: 0 14px 38px rgba(10,120,145,0.14) !important;
  backdrop-filter: blur(14px);
}
.hq-panel h1,
.hq-copy,
.hq-account-status,
.hq-account-eyebrow,
.hq-signed-in-pill,
.hq-field span,
.hq-auth-message,
.hq-video-panel__title,
.exp-video-panel__title,
.exp-video-panel__eyebrow { color: var(--exp-ink) !important; }
.exp-hud__bar,
.hp-hud__bar { background: rgba(8,36,44,0.12) !important; }
.exp-hud__fill { background: linear-gradient(90deg, var(--exp-green), var(--exp-turq)) !important; }
.hp-hud__fill { background: linear-gradient(90deg, var(--exp-pink), var(--exp-turq)) !important; }
.hq-primary-btn,
.hq-google-btn,
.hq-secondary-btn,
.hq-ghost-btn,
.hq-shop-buy,
.chat-send-btn,
.touch-btn,
.exp-video-panel__toggle,
.exp-video-controls button {
  border: 2px solid rgba(57,223,55,0.72) !important;
  background: linear-gradient(135deg, #ffffff, rgba(22,200,210,0.16)) !important;
  color: var(--exp-ink) !important;
  box-shadow: 0 10px 24px rgba(22,200,210,0.12) !important;
}
.hq-primary-btn,
.hq-shop-buy,
.chat-send-btn {
  background: linear-gradient(135deg, var(--exp-green), var(--exp-turq)) !important;
  color: #031517 !important;
}
.hq-field input,
.chat-input {
  color: var(--exp-ink) !important;
  background: rgba(255,255,255,0.95) !important;
  border-color: rgba(22,200,210,0.26) !important;
}
.player-name { color: #08242c !important; text-shadow: 0 2px 8px rgba(255,255,255,0.92), 0 1px 0 #fff !important; }
.player-bubble { background: #ffffff !important; color: var(--exp-ink) !important; border: 1px solid rgba(22,200,210,0.22); }
.player-bubble::after { border-top-color: #ffffff !important; }
.exp-social-nav {
  position: fixed;
  z-index: 400;
  top: 10px;
  left: 14px;
  right: 14px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}
.exp-social-brand,
.exp-social-links { pointer-events: auto; }
.exp-social-brand {
  display: inline-flex;
  align-items: center;
  min-width: 178px;
  height: 58px;
  padding: 4px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(22,200,210,0.22);
  box-shadow: 0 12px 30px rgba(22,200,210,0.13);
  backdrop-filter: blur(12px);
}
.exp-social-brand img { max-height: 50px; max-width: 164px; object-fit: contain; display: block; }
.exp-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(22,200,210,0.22);
  box-shadow: 0 12px 30px rgba(22,200,210,0.13);
  backdrop-filter: blur(14px);
}
.exp-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(22,200,210,0.18);
  background: #ffffff;
  color: var(--exp-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
  white-space: nowrap;
}
.exp-social-link--accent {
  background: linear-gradient(135deg, var(--exp-green), var(--exp-turq));
  color: #031517;
  border-color: rgba(57,223,55,0.68);
}
.exp-social-link--button { font: inherit; }
.exp-video-wall-card {
  border: 3px solid rgba(255,255,255,0.86) !important;
  box-shadow: 0 18px 45px rgba(8,36,44,0.18), 0 0 0 2px rgba(22,200,210,0.24) !important;
}
.exp-video-wall-card:hover { box-shadow: 0 24px 60px rgba(22,200,210,0.28), 0 0 0 3px rgba(57,223,55,0.45) !important; }
.exp-video-wall-card.is-active { border-color: var(--exp-green) !important; }
@media (max-width: 900px) {
  .hq-frame { padding-top: 70px; }
  .exp-social-nav { left: 8px; right: 8px; top: 8px; }
  .exp-social-brand { min-width: 120px; height: 50px; }
  .exp-social-brand img { max-width: 112px; max-height: 44px; }
  .exp-social-links { gap: 5px; padding: 6px; overflow-x: auto; max-width: calc(100vw - 142px); }
  .exp-social-link { min-height: 34px; padding: 0 10px; font-size: 12px; }
}


/* Auto-start / no-overlap polish */
.hq-overlay:not(.hq-overlay--visible) {
  display: none !important;
}
.exp-account-modal-open .hq-overlay.hq-overlay--visible {
  display: grid !important;
}
.hq-economy-dock {
  top: 82px !important;
  right: 18px !important;
  z-index: 395 !important;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(360px, calc(100vw - 36px));
}
.hq-economy-btn {
  background: #08242c !important;
  color: #ffffff !important;
  border: 1px solid rgba(22,200,210,0.28) !important;
  box-shadow: 0 12px 26px rgba(8,36,44,0.18) !important;
}
.exp-social-nav {
  z-index: 410 !important;
}
.exp-social-links {
  max-width: calc(100vw - 230px);
  overflow-x: auto;
  scrollbar-width: none;
}
.exp-social-links::-webkit-scrollbar { display: none; }
@media (max-width: 980px) {
  .hq-economy-dock {
    top: 74px !important;
    right: 10px !important;
    gap: 6px !important;
  }
  .hq-economy-btn {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
  .exp-social-links {
    max-width: calc(100vw - 140px);
  }
}


/* Direct EXP/HP/MP bottom HUD styling */
.bottom-bars-hud {
  color: var(--exp-ink);
}
.bottom-status-bar--exp .bottom-status-bar__track {
  border-color: var(--exp-blue);
}
.bottom-status-bar--exp .bottom-status-bar__fill {
  background: var(--exp-green);
}
.bottom-status-bar--hp .bottom-status-bar__fill {
  background: #b10000;
}
.bottom-status-bar--mp .bottom-status-bar__fill {
  background: #1646d9;
}
.player-stat-card {
  color: var(--exp-ink);
  background: rgba(255,255,255,0.86);
  border-color: rgba(22,200,210,0.24);
}
.player-stat-card__meta { color: rgba(8,36,44,0.72); }
