:root {
  --primary-color: #F59E0B;
  --secondary-color: #FBBF24;
  --background-dark: #0A0A1A;
  --text-color: #E0E0FF;
  --glass-bg: rgba(5, 5, 5, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

body {
  font-family: 'Outfit', 'Space Mono', monospace;
  background: var(--background-dark);
  color: var(--text-color);
  overflow: hidden;
  perspective: 1000px;
  cursor: none;
}

/* Hidden scrollbar */
::-webkit-scrollbar { width: 0px; background: transparent; }
* { scrollbar-width: none; }

/* B&W + grain background */
#background {
  filter: grayscale(100%) contrast(1.15) brightness(0.85);
}


.custom-cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--primary-color, #00CED1);
  box-shadow: 0 0 10px var(--primary-color, #00CED1), 0 0 20px var(--primary-color, #00CED1);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
  background: rgba(255,255,255,0.05);
}


body.home-theme {
  --primary-gradient: from-amber-400;
  --secondary-gradient: to-yellow-300;
  --primary-color: #F59E0B;
  --secondary-color: #FBBF24;
  --cursor-hue: 45deg;
}

body.hacker-theme {
  --primary-gradient: from-green-500;
  --secondary-gradient: to-teal-600;
  --primary-color: #22C55E; 
  --secondary-color: #2DD4BF;
  --cursor-hue: 120deg; 
}

body.rain-theme {
  --primary-gradient: from-blue-800;
  --secondary-gradient: to-blue-600;
  --primary-color: #1E3A8A; 
  --secondary-color: #2563EB;
  --cursor-hue: 240deg; 
}

body.anime-theme {
  --primary-gradient: from-red-600;
  --secondary-gradient: to-red-400;
  --primary-color: #DC2626; 
  --secondary-color: #F87171;
  --cursor-hue: 0deg; 
}

body.car-theme {
  --primary-gradient: from-yellow-500;
  --secondary-gradient: to-yellow-300;
  --primary-color: #EAB308; 
  --secondary-color: #FACC15;
  --cursor-hue: 60deg; 
}


.video-background {
  transform: scale(1.02);
}


#hacker-overlay {
  mix-blend-mode: screen;
  opacity: 0.7;
}

#snow-overlay {
  z-index: 15;
  opacity: 0.8;
}


.glitch-overlay {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  z-index: 20;
  mix-blend-mode: color-dodge;
}


#profile-block, #skills-block {
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out, background 0.3s ease, border-opacity 0.3s ease, backdrop-filter 0.3s ease, opacity 0.3s ease, border-color 0.3s ease; /* Flüssigere Transition */
  width: 900px;
  max-width: 96vw;
}


#profile-block.profile-appear {
  animation: slideInFade 1s ease-out forwards;
}

@keyframes slideInFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


.border-theme {
  border-color: #ffffff;
}


.profile-container {
  position: relative;
  transform-style: preserve-3d;
}

.profile-container::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 10px 10px,
    #ffffff 15%,
    transparent 25%
  );
  animation: orbit 3s linear infinite;
  z-index: -1;
  filter: blur(2px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.profile-container.fast-orbit::after {
  animation: fast-orbit 0.5s linear forwards;
}


.social-links {
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 8px 12px;
  backdrop-filter: blur(5px);
}

.social-icon {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.social-icon:hover,
.social-icon:active {
  transform: scale(1.4) rotateY(15deg);
}

.social-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    var(--primary-color), 
    var(--secondary-color)
  );
  transform-origin: bottom right;
  animation: shine 3s linear infinite;
  opacity: 0;
  transition: opacity 0.5s;
}

.social-icon:hover::before,
.social-icon:active::before {
  opacity: 0.3;
}

@keyframes iconPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.7) rotate(-8deg); }
  60%  { transform: scale(1.4) rotate(6deg); }
  80%  { transform: scale(1.55) rotate(-3deg); }
  100% { transform: scale(1); }
}

.social-icon.popping {
  animation: iconPop 0.5s ease forwards;
}


.animated-border {
  position: relative;
}

.animated-border::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid transparent;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    var(--primary-color) 0.8,
    var(--secondary-color) 0.8,
    var(--primary-color) 0.8
  );
  animation: border-spin 2s linear infinite;
  z-index: -1;
}


.led-border {
  position: relative;
  border: 2px solid transparent;
}

.led-border::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-color) 20%,
    var(--secondary-color) 40%,
    transparent 60%
  );
  background-size: 400%;
  animation: led-glow 4s ease-in-out infinite;
  z-index: -1;
}


#home-theme, #hacker-theme, #rain-theme, #anime-theme, #car-theme, #results-theme {
  background-image: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
  touch-action: manipulation;
}


.name-gradient {
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

#profile-name {
  font-family: 'Unbounded', 'Orbitron', sans-serif !important;
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.3);
}


#profile-bio {
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-weight: 300;
  letter-spacing: 0.5px;
}


.profilschein {
  background-image: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
}


.social-border {
  border-color: #ffffff;
}


.profile-border {
  border-color: #ffffff;
}


.visitor-icon {
  stroke: var(--primary-color);
}


.visitor-count {
  color: #ffffff;
}


.volume-icon {
  stroke: var(--primary-color);
}

.volume-icon:hover,
.volume-icon:active {
  stroke: var(--secondary-color);
}


.volume-slider {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.volume-slider::-webkit-slider-thumb {
  border-color: #ffffff;
}


.transparency-icon {
  stroke: var(--primary-color);
}

.transparency-icon:hover,
.transparency-icon:active {
  stroke: var(--secondary-color);
}


.transparency-slider {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.transparency-slider::-webkit-slider-thumb {
  border-color: #ffffff;
}


.skill-title {
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}


.skill-bar {
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}


.cursor-trail {
  background: radial-gradient(circle, var(--primary-color) 20%, var(--secondary-color) 80%);
  opacity: 0.8;
  border-radius: 50%;
  pointer-events: none;
  position: fixed;
  z-index: 10000;
}


.controls {
  position: fixed;
  bottom: calc(50% - 280px - 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.theme-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: bold;
}

.theme-button:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
}


.top-controls {
  position: fixed;
  bottom: calc(50% - 280px - 60px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 6px 10px;
  display: flex;
  gap: 12px;
  z-index: 25;
}


.volume-control, .transparency-control {
  z-index: 25;
  background: none;
  padding: 0;
}


.volume-slider, .transparency-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  width: 80px;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  touch-action: manipulation;
}

.volume-slider::-webkit-slider-thumb, .transparency-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  cursor: grab;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.volume-slider::-webkit-slider-thumb:hover, .transparency-slider::-webkit-slider-thumb:hover,
.volume-slider::-webkit-slider-thumb:active, .transparency-slider::-webkit-slider-thumb:active {
  background: #E0E0FF;
}


.badge-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  touch-action: manipulation;
  width: 22px;
  height: 22px;
}

.badge-container img {
  image-rendering: pixelated;
}


.badge {
  width: 22px;
  height: 22px;
  backface-visibility: hidden;
}

.badge-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.badge-container:hover,
.badge-container:active {
  transform: rotateY(180deg);
}


.badge-group {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}


@media (max-width: 768px) {

  #profile-block, #skills-block {
    width: 85vw;
    max-width: calc(100vw - 12px);
    padding: 15px;
    left: 50%;
    transform: translateX(-50%);
  }


  .profile-picture {
    width: 80px;
    height: 80px;
  }


  #profile-name {
    font-size: 18px;
  }

  #profile-bio {
    font-size: 12px;
  }


  .badge-group {
    gap: 4px;
    padding: 6px 8px;
  }

  .badge {
    width: 16px;
    height: 16px;
  }


  .social-links {
    gap: 8px;
    padding: 6px 8px;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }


  .visitor-counter {
    font-size: 10px;
    padding: 6px 10px;
    align-self: center !important;
  }

  .visitor-icon {
    width: 14px;
    height: 14px;
  }


  .skills-title {
    font-size: 16px;
  }

  .skill-icon {
    width: 16px;
    height: 16px;
  }


  .controls {
    bottom: calc(50% - 200px - 10px);
    padding: 4px 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  .theme-button {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }


  .top-controls {
    bottom: calc(50% - 200px - 60px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 8px;
    gap: 10px;
  }

  .volume-slider, .transparency-slider {
    width: 60px;
  }

  .volume-icon, .transparency-icon {
    width: 16px;
    height: 16px;
  }


  #results-button-container {
    top: calc(50% + 200px - 20px);
    left: 50%;
    transform: translateX(-50%);
  }

  #results-theme {
    font-size: 10px;
    padding: 6px 10px;
  }

  #results-hint {
    font-size: 8px;
    width: 140px;
  }


  #start-text {
    font-size: 18px;
  }
}


@keyframes led-glow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 400% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fast-orbit {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes glitch {
  0% {
    clip: rect(35px, 9999px, 14px, 0);
  }
  5% {
    clip: rect(88px, 9999px, 40px, 0);
  }
  10% {
    clip: rect(60px, 9999px, 50px, 0);
  }
  15% {
    clip: rect(55px, 9999px, 53px, 0);
  }
  20% {
    clip: rect(89px, 9999px, 65px, 0);
  }
  25% {
    clip: rect(52px, 9999px, 43px, 0);
  }
  30% {
    clip: rect(28px, 9999px, 15px, 0);
  }
  35% {
    clip: rect(40px, 9999px, 60px, 0);
  }
  40% {
    clip: rect(80px, 9999px, 45px, 0);
  }
  45% {
    clip: rect(90px, 9999px, 55px, 0);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(39px, 9999px, 15px, 0);
  }
  5% {
    clip: rect(29px, 9999px, 10px, 0);
  }
  10% {
    clip: rect(50px, 9999px, 20px, 0);
  }
  15% {
    clip: rect(35px, 9999px, 25px, 0);
  }
  20% {
    clip: rect(45px, 9999px, 30px, 0);
  }
  25% {
    clip: rect(55px, 9999px, 40px, 0);
  }
  30% {
    clip: rect(60px, 9999px, 45px, 0);
  }
  35% {
    clip: rect(65px, 9999px, 50px, 0);
  }
  40% {
    clip: rect(70px, 9999px, 55px, 0);
  }
  45% {
    clip: rect(75px, 9999px, 60px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(25px, 9999px, 10px, 0);
  }
  5% {
    clip: rect(35px, 9999px, 20px, 0);
  }
  10% {
    clip: rect(40px, 9999px, 25px, 0);
  }
  15% {
    clip: rect(50px, 9999px, 30px, 0);
  }
  20% {
    clip: rect(55px, 9999px, 35px, 0);
  }
  25% {
    clip: rect(60px, 9999px, 40px, 0);
  }
  30% {
    clip: rect(65px, 9999px, 45px, 0);
  }
}

/* ===== SILENTSETT PROFILE STYLES ===== */

/* CRT monitor turn-on effect */
@keyframes turnOn {
  0%   { opacity: 0; transform: scaleY(0.01); filter: brightness(30) contrast(2); }
  5%   { opacity: 1; transform: scaleY(0.12); filter: brightness(15) contrast(1.8); }
  20%  { transform: scaleY(1.04); filter: brightness(3) contrast(1.3); }
  50%  { transform: scaleY(0.98); filter: brightness(1.4) contrast(1.1); }
  80%  { transform: scaleY(1.01); filter: brightness(1.1) contrast(1.02); }
  100% { opacity: 1; transform: scaleY(1); filter: brightness(1) contrast(1); }
}

/* Float animation — applied to profile avatar container */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

.profile-container {
  animation: float 4s ease-in-out infinite;
}

/* Aurora pulse on the orbital ring */
@keyframes aurora {
  0%, 100% { opacity: 0.7; filter: blur(1px); }
  50%       { opacity: 1;   filter: blur(2px) brightness(1.4); }
}

.profile-container::after {
  animation: orbit 3s linear infinite, aurora 3s ease-in-out infinite !important;
}

/* Audio equalizer bars */
@keyframes equalize {
  0%, 100% { height: 3px; }
  20%       { height: 11px; }
  40%       { height: 5px; }
  60%       { height: 14px; }
  80%       { height: 7px; }
}

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  padding: 0 2px;
}

.eq-bar {
  width: 3px;
  min-height: 3px;
  background: #ffffff;
  border-radius: 2px;
  animation: equalize 0.9s ease-in-out infinite;
  box-shadow: none;
}

.eq-bar:nth-child(1) { animation-delay: 0s;     }
.eq-bar:nth-child(2) { animation-delay: 0.15s;   }
.eq-bar:nth-child(3) { animation-delay: 0.30s;   }
.eq-bar:nth-child(4) { animation-delay: 0.20s;   }
.eq-bar:nth-child(5) { animation-delay: 0.08s;   }

/* Film grain noise overlay */
.noise-overlay {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 6;
  opacity: 0.12;
  filter: url(#noise);
  animation: noiseScroll 0.5s steps(1) infinite;
}

@keyframes noiseScroll {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-5%, -5%); }
  50%  { transform: translate(5%, 0); }
  75%  { transform: translate(0, 5%); }
  100% { transform: translate(-5%, 5%); }
}

/* Vignette overlay */
.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.88) 100%);
}

/* Refined controls bar styling */
.controls {
  background: rgba(5, 5, 5, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

/* Bio separator refined */
.bio-separator {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent) !important;
}

/* Visitor counter refined */
.visitor-counter {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: 'Space Grotesk', monospace;
  font-size: 13px !important;
  margin-top: 6px;
  align-self: flex-start;
}

/* Social links refined */
.social-links {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Badge box refined */
.badge-group {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Skills title font */
.skills-title {
  font-family: 'Unbounded', 'Orbitron', sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
}

/* Skill name labels */
.skill-name span {
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ===== BIO ROW ===== */
.bio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== PNL BUTTON GROUP ===== */
.pnl-btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.bio-row {
  align-items: flex-start !important;
}

.pnl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 0;
  width: 120px;
  border-radius: 8px;
  font-family: 'Unbounded', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
  touch-action: manipulation;
}

.pnl-btn.pnl-wins {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
}

.pnl-btn.pnl-wins:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.pnl-btn.pnl-losses {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.15);
  color: #aaaaaa;
}

.pnl-btn.pnl-losses:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

.pnl-btn.pnl-funded {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.15);
  color: #cccccc;
}

.pnl-btn.pnl-funded:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

/* ===== PNL GALLERY BLOCK ===== */
#pnl-block,
#pnl-losses-block,
#pnl-funded-block {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1300px;
  max-width: 97vw;
  background: rgba(5, 5, 5, 0.25);
  padding: 22px;
  border-radius: 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}

#pnl-block {
  border: 1px solid rgba(0, 220, 100, 0.4);
  box-shadow: 0 0 20px rgba(0, 220, 100, 0.08);
}

#pnl-losses-block {
  border: 1px solid rgba(220, 40, 40, 0.5);
  box-shadow: 0 0 20px rgba(220, 40, 40, 0.1);
}

.pnl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pnl-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #00dc64;
  text-shadow: 0 0 14px rgba(0, 220, 100, 0.5);
}

.pnl-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  touch-action: manipulation;
}

.pnl-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Gallery */
.pnl-gallery {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pnl-slide-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

.pnl-slides {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pnl-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72vh;
  position: relative;
}

.pnl-slide img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  cursor: zoom-in;
  transition: opacity 0.2s;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pnl-slide img:hover {
  opacity: 0.85;
}

/* Placeholder shown when image is missing */
.pnl-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
  border: 1px dashed rgba(0, 220, 100, 0.25);
  border-radius: 10px;
  color: rgba(0, 220, 100, 0.45);
  font-family: 'Space Grotesk', monospace;
  font-size: 14px;
  gap: 6px;
  text-align: center;
}

.pnl-placeholder span {
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 1px;
}

/* Nav arrows */
.pnl-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  touch-action: manipulation;
}

.pnl-nav:hover {
  background: rgba(0, 220, 100, 0.12);
  border-color: rgba(0, 220, 100, 0.4);
  color: #00dc64;
}

.pnl-nav.losses:hover {
  background: rgba(220, 40, 40, 0.12);
  border-color: rgba(220, 40, 40, 0.4);
  color: #ff4444;
}

.pnl-nav.funded:hover {
  background: rgba(255, 185, 0, 0.12);
  border-color: rgba(255, 185, 0, 0.4);
  color: #ffb900;
}

.pnl-title.losses {
  color: #aaaaaa;
  color: #ff4444;
  text-shadow: 0 0 14px rgba(220, 40, 40, 0.5);
}

.pnl-title.funded {
  color: #cccccc;
  color: #ffb900;
  text-shadow: 0 0 14px rgba(255, 185, 0, 0.5);
}

.pnl-placeholder.losses {
  border-color: rgba(220, 40, 40, 0.25);
  color: rgba(220, 40, 40, 0.45);
}

.pnl-placeholder.funded {
  border-color: rgba(255, 185, 0, 0.25);
  color: rgba(255, 185, 0, 0.45);
}

.pnl-date.funded { color: rgba(255,255,255,0.4); }

#pnl-funded-block {
  border: 1px solid rgba(255, 185, 0, 0.45);
  box-shadow: 0 0 20px rgba(255, 185, 0, 0.08);
}

/* Slide counter */
.pnl-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  letter-spacing: 1px;
}

.pnl-dot {
  opacity: 0.3;
}

.pnl-date {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.pnl-date.wins { color: rgba(255,255,255,0.5); }

.pnl-date.losses { color: rgba(255,255,255,0.35); }

/* ===== LIGHTBOX ===== */
#pnl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pnl-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

#pnl-lightbox-img {
  position: relative;
  z-index: 101;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

#pnl-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 102;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#pnl-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== MUSIC PLAYER ===== */
.music-player {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(5, 5, 5, 0.25);
  border: none;
  border-radius: 50px;
  padding: 10px 14px 10px 12px;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  width: 540px;
  max-width: calc(100vw - 32px);
  box-shadow: none;
}

/* Vinyl disc */
.player-disc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: url('assets/cover.png') center/cover no-repeat;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}

.player-disc.spinning {
  animation: discSpin 3s linear infinite;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.9), 0 0 12px rgba(220,38,38,0.3);
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.player-disc-center {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2a2a, #0d0d0d);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Track info */
.player-track-info {
  flex: 1;
  min-width: 0;
}

.player-track-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-track-artist {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 2px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Progress bar */
.player-progress-wrap {
  margin-top: 7px;
}

.player-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

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

/* Time display */
.player-time {
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  flex-shrink: 0;
  letter-spacing: 0.5px;
  min-width: 30px;
  text-align: right;
}

/* Action buttons (volume + play) */
.player-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.player-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}

.player-action-btn svg {
  width: 18px;
  height: 18px;
}

/* Override volume icon default styles inside player */
.music-player #volume-icon {
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.65);
}

#play-pause-icon {
  fill: rgba(255, 255, 255, 0.85);
}

/* Mobile */
@media (max-width: 540px) {
  .music-player {
    width: calc(100vw - 24px);
    padding: 8px 10px;
    gap: 8px;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
  }

  .player-disc {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .player-track-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .player-track-title {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .player-track-artist {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .player-progress-wrap {
    display: none;
  }

  .player-time {
    display: none;
  }

  .player-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .player-action-btn svg,
  .music-player #volume-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 768px) {
  /* Cards */
  #profile-block, #skills-block {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 140px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  /* Kill the orbit ring on mobile — causes white blob glitch */
  .profile-container::after {
    display: none !important;
  }

  /* Stop float animation on mobile */
  .profile-container {
    animation: none !important;
  }

  /* Profile header: column layout, centered */
  .profile-header {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .profile-container {
    width: 90px !important;
    height: 90px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  .profile-picture {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .profile-info {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* Bio and PNL buttons stack vertically */
  .bio-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #profile-bio {
    text-align: center !important;
    width: 100% !important;
  }

  /* PNL buttons wrap in a row */
  .pnl-btn-group {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .pnl-btn {
    flex: 1 !important;
    min-width: 85px !important;
    max-width: 130px !important;
    font-size: 9px !important;
    padding: 5px 6px !important;
    white-space: nowrap !important;
  }

  /* PNL gallery blocks */
  #pnl-block,
  #pnl-losses-block,
  #pnl-funded-block {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 140px) !important;
    overflow-y: auto !important;
    padding: 14px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .pnl-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
    height: 72vh;
  }

  .pnl-slide img {
    height: 200px !important;
    width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
}

/* ===== TRADING STATS STRIP ===== */
/* ===== TRADING STATS BUTTON (profile overview) ===== */
.stats-overview-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  margin: 2px 0 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.25s;
}
.stats-overview-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.stats-overview-btn:active {
  transform: scale(0.97);
  transition: transform 0.1s cubic-bezier(0.16,1,0.3,1);
}

/* ===== TRADING STATS MODAL ===== */
#stats-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
#stats-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}
#stats-modal-inner {
  position: relative;
  z-index: 101;
  background: rgba(8,8,12,0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px 30px;
  width: 560px;
  max-width: 96vw;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.stats-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stats-modal-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.stats-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.2s;
}
.stats-modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }
.stats-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.sm-stat {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s cubic-bezier(0.16,1,0.3,1), border-color 0.2s, background 0.2s;
}
.sm-stat:hover { background: rgba(255,255,255,0.07); }
.sm-stat:active { transform: scale(0.97); }
.sm-stat.green { border-color: rgba(255,255,255,0.2); }
.sm-stat.red   { border-color: rgba(255,255,255,0.1); }
.sm-stat.gold  { border-color: rgba(255,255,255,0.15); }
.sm-stat.pos   { border-color: rgba(255,255,255,0.2); }
.sm-stat.neg   { border-color: rgba(255,255,255,0.1); }
.sm-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.sm-stat.green .sm-val { color: #ffffff; }
.sm-stat.red   .sm-val { color: #aaaaaa; }
.sm-stat.gold  .sm-val { color: #cccccc; }
.sm-stat.pos   .sm-val { color: #ffffff; }
.sm-stat.neg   .sm-val { color: #aaaaaa; }
.sm-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* ===== GALLERY STATS BAR (inside PNL wins block) ===== */
.gallery-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 220, 100, 0.06);
  border: 1px solid rgba(0, 220, 100, 0.18);
  border-radius: 10px;
  font-family: 'JetBrains Mono', 'Space Grotesk', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  flex-wrap: wrap;
}

.gsb-item { display: flex; align-items: center; gap: 5px; }

.gsb-val {
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.gsb-val.pos { color: #ffffff; }

.gsb-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

@media (max-width: 768px) {
  .gallery-stats-bar {
    font-size: 10px;
    gap: 8px;
    padding: 6px 10px;
  }
  .gsb-val { font-size: 12px; }
}
/* ===== PROFILE ACTION BUTTONS ===== */
.profile-action-btns {
  display: flex;
  gap: 8px;
  margin: 2px 0 6px;
}
.profile-action-btn {
  flex: 1;
  padding: 10px 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: rgba(255,255,255,0.7);
  font-family: 'Unbounded', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}
.profile-action-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.profile-action-btn:active { transform: scale(0.97); }

/* ===== FUNDED ACCOUNTS MODAL ===== */
#funded-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#funded-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}
#funded-modal-inner {
  position: relative;
  z-index: 101;
  background: rgba(8,8,12,0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px 30px;
  width: 680px;
  max-width: 96vw;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.funded-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.funded-modal-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #fff;
}
.funded-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s;
  flex-shrink: 0;
}
.funded-modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ── Hero funding strip ── */
.funded-hero {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  gap: 0;
}
.fh-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.fh-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.fh-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.fh-val.pos { color: #fff; }
.fh-val.neg { color: #888; }
.fh-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* Overall stats strip */
.funded-overall {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.funded-overall-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}
.funded-overall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.fo-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.fo-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.fo-val.pos { color: #fff; }
.fo-val.neg { color: #888; }
.fo-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  text-align: center;
}

/* Section labels */
.funded-section-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  margin-bottom: 10px;
}
.archive-label { margin-top: 20px; color: rgba(255,255,255,0.12); }

/* Account list */
.funded-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }

/* Account card — glassmorphism */
.funded-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 16px 18px;
  transition: border-color 0.2s, background 0.2s;
}
.funded-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}
.funded-card.blown {
  opacity: 0.45;
  border-color: rgba(255,255,255,0.04);
}

.fc-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.fc-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fc-blown-tag {
  font-size: 7px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 2px 5px;
}
.fc-balance {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.fc-balance-init {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
}

/* Stats row */
.fc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.fc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,0.025);
  border-radius: 10px;
  padding: 8px 4px;
}
.fc-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.fc-val.pos { color: #fff; }
.fc-val.neg { color: #888; }
.fc-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  text-align: center;
}

/* Sessions */
.fc-sessions {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fc-session {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.fc-session:hover { background: rgba(255,255,255,0.04); }
.fc-session-date {
  color: rgba(255,255,255,0.3);
  min-width: 82px;
  flex-shrink: 0;
  font-size: 10px;
}
.fc-session-trades {
  color: rgba(255,255,255,0.18);
  font-size: 10px;
  flex: 1;
}
.fc-session-pnl { font-weight: 700; white-space: nowrap; }
.fc-session-pnl.pos { color: rgba(255,255,255,0.85); }
.fc-session-pnl.neg { color: rgba(255,255,255,0.35); }
.fc-session-empty {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  padding: 4px 0;
}

.funded-empty {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  text-align: center;
  padding: 24px 0;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  #funded-modal-inner { padding: 20px 16px; border-radius: 18px; }
  .funded-hero { padding: 14px 12px; }
  .fh-val { font-size: 16px; }
  .funded-overall-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-stats { grid-template-columns: repeat(2, 1fr); }
  .fc-header { flex-direction: column; gap: 2px; }
  .fc-session { font-size: 10px; }
  .fc-session-date { min-width: 70px; }
}
