:root {
  --bg: #071521;
  --panel: #0d2638;
  --cyan: #00eeff;
  --text: #edf8ff;
  --muted: #b9cad4;
}

body.light-mode {
  --bg: #f2f7fb;
  --panel: #ffffff;
  --cyan: #007f91;
  --text: #163247;
  --muted: #526b7c;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4%;
  background: rgba(5, 17, 41, 0.96);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.logo-photo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0, 238, 255, 0.35);
  object-fit: cover;
  object-position: center 30%;
}

.navbar {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 18px);
  min-width: 0;
}

.navbar a {
  position: relative;
  flex: 0 0 auto;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.navbar a[href="dashboard.html"] {
  color: var(--cyan);
}

body.light-mode .navbar a {
  color: var(--text);
}

body.light-mode .navbar a[href="dashboard.html"] {
  color: var(--cyan);
}

.portfolio-theme-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.portfolio-theme-toggle i {
  color: var(--cyan);
  font-size: 1rem;
}

.theme-menu {
  position: relative;
  flex: 0 0 auto;
  margin-left: 34px;
}

.portfolio-theme-toggle {
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.portfolio-theme-toggle:hover,
.theme-menu.open .portfolio-theme-toggle {
  background: rgba(0, 238, 255, 0.1);
  box-shadow: 0 0 18px rgba(0, 238, 255, 0.16);
}

.portfolio-theme-toggle:active {
  transform: scale(0.96);
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  width: 170px;
  padding: 6px;
  border: 1px solid rgba(0, 238, 255, 0.25);
  border-radius: 14px;
  background: rgba(7, 21, 33, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32), 0 0 24px rgba(0, 238, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(14px);
}

.theme-menu.open .theme-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.theme-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-option > i:first-child {
  width: 18px;
  color: var(--cyan);
  font-size: 1.1rem;
  text-align: center;
}

.theme-option:hover,
.theme-option:focus-visible,
.theme-option.selected {
  outline: none;
  background: rgba(0, 238, 255, 0.12);
  color: var(--cyan);
}

.theme-option:hover {
  transform: translateX(2px);
}

.theme-check {
  margin-left: auto;
  color: var(--cyan);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-option.selected .theme-check {
  opacity: 1;
  transform: scale(1);
}

.accent-picker {
  margin: 6px 4px 2px;
  padding: 9px 7px 4px;
  border-top: 1px solid rgba(185, 202, 212, 0.18);
}

.accent-title {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accent-options {
  display: flex;
  gap: 8px;
}

.accent-swatch {
  width: 21px;
  height: 21px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.accent-swatch:hover,
.accent-swatch:focus-visible,
.accent-swatch.selected {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px currentColor;
  transform: scale(1.1);
}

.accent-swatch[data-accent="cyan"] { background: #00eeff; color: #00eeff; }
.accent-swatch[data-accent="violet"] { background: #a78bfa; color: #a78bfa; }
.accent-swatch[data-accent="emerald"] { background: #34d399; color: #34d399; }
.accent-swatch[data-accent="amber"] { background: #fbbf24; color: #fbbf24; }
.accent-swatch[data-accent="rose"] { background: #fb7185; color: #fb7185; }

body.light-mode .theme-dropdown {
  border-color: rgba(0, 127, 145, 0.25);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 38px rgba(21, 57, 78, 0.18), 0 0 24px rgba(0, 127, 145, 0.08);
}

body.light-mode .theme-option:hover,
body.light-mode .theme-option:focus-visible,
body.light-mode .theme-option.selected {
  background: rgba(0, 127, 145, 0.1);
}

@media (max-width: 600px) {
  .theme-label {
    display: none;
  }

  .portfolio-theme-toggle {
    width: 38px;
    justify-content: center;
    padding: 8px;
  }

  .theme-dropdown {
    right: -4px;
  }
}

.navbar a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: #f00;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navbar a:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 238, 255, 0.55);
}

.navbar a:hover::after {
  transform: scaleX(1);
}

/* Keep the full navigation, including Dashboard, clear of the theme control. */
@media (max-width: 1400px) and (min-width: 981px) {
  .header {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .theme-menu {
    order: 2;
    margin-left: auto;
  }

  .theme-menu .theme-dropdown {
    top: calc(100% + 64px);
  }

  .navbar {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    gap: 6px;
    padding-top: 4px;
    overflow: visible;
  }

  .navbar a {
    font-size: 11px;
    min-width: max-content;
  }
}

section {
  max-width: 1250px;
  margin: auto;
  padding: 90px 7%;
}

.home {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 82vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 48%, rgba(0, 238, 255, 0.12), transparent 38%),
    radial-gradient(ellipse at 14% 5%, rgba(42, 125, 205, 0.14), transparent 34%),
    var(--bg);
}

.home::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.home::after {
  top: 20%;
  right: 8%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 18px 5px rgba(0, 238, 255, 0.36),
    110px 120px 0 -3px rgba(0, 238, 255, 0.7),
    -72px 240px 0 -4px rgba(0, 238, 255, 0.5);
}

.home-content {
  position: relative;
  z-index: 1;
  max-width: min(62%, 700px);
}

.home-feature-photo {
  position: absolute;
  top: 50%;
  right: 3%;
  z-index: -1;
  display: block;
  width: min(35vw, 430px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 238, 255, 0.28);
  border-radius: 50%;
  background: #02080d;
  object-fit: contain;
  transform: translateY(-50%);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(0, 238, 255, 0.22));
  pointer-events: none;
}

.home-content > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 238, 255, 0.27);
  border-radius: 999px;
  background: rgba(0, 238, 255, 0.07);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-content > p:first-child::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  content: "";
}

.home-content h1 {
  background: linear-gradient(105deg, var(--text) 18%, var(--cyan) 92%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-content h3 {
  min-height: 1.35em;
}

h1 {
  margin: 8px 0;
  font-size: clamp(44px, 7vw, 76px);
}

.home h3 {
  margin: 8px 0;
  font-size: clamp(23px, 3vw, 34px);
}

.home h3 span,
.accent {
  color: var(--cyan);
}

.typed-profession {
  text-shadow: 0 0 24px rgba(0, 238, 255, 0.2);
}

.typed-profession {
  display: inline;
  color: var(--cyan);
}

.typed-cursor {
  color: var(--cyan);
  font-weight: 400;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0;
}

.social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  font-size: 21px;
  text-decoration: none;
}

.social-links .social-facebook {
  --social-color: #1877f2;
  border-color: #1877f2;
  background-color: #1877f2;
}

.social-links .social-facebook i {
  color: #fff !important;
}

.social-links .social-whatsapp {
  --social-color: #25d366;
  border-color: #25d366;
  background-color: #25d366;
}

.social-links .social-whatsapp i {
  color: #fff !important;
}

.social-links .social-tiktok {
  --social-color: #25f4ee;
  border-color: #25f4ee;
  background-color: #000;
}

.social-links .social-tiktok i {
  color: #fff !important;
  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
}

.social-links .social-x {
  --social-color: #1da1f2;
  border-color: #1da1f2;
  background-color: #1da1f2;
}

.social-links .social-x i {
  color: #fff !important;
}

.social-links .social-linkedin {
  --social-color: #0a66c2;
  border-color: #0a66c2;
  background-color: #0a66c2;
}

.social-links .social-linkedin i {
  color: #fff !important;
}

.social-links .social-instagram {
  --social-color: #e1306c;
  border-color: #e1306c;
  background: linear-gradient(45deg, #ffdc80 0%, #fcaf45 20%, #f77737 38%, #e1306c 62%, #833ab4 82%, #405de6 100%);
}

.social-links .social-instagram i {
  display: inline-block;
  background: linear-gradient(45deg, #ffdc80 0%, #fcaf45 20%, #f77737 38%, #e1306c 62%, #833ab4 82%, #405de6 100%);
  background-clip: text;
  color: transparent !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.45);
}

.social-links .social-email {
  --social-color: #ea4335;
  border-color: #ea4335;
  background-color: #ea4335;
}

.social-links .social-email i {
  color: #fff !important;
}

.social-links .social-phone {
  --social-color: #7bc96f;
  border-color: #7bc96f;
  background-color: #7bc96f;
}

.social-links .social-phone i {
  color: #fff !important;
}

.social-links .social-github {
  --social-color: #f0f6fc;
  border-color: #f0f6fc;
  background-color: rgba(240, 246, 252, 0.14);
}

.social-links .social-github i {
  color: #24292f !important;
}

.social-links a.social-facebook:hover i {
  color: #fff !important;
}

.social-links a.social-whatsapp:hover i {
  color: #fff !important;
}

.social-links a.social-tiktok:hover i {
  color: #fff !important;
}

.social-links a.social-linkedin:hover i {
  color: #fff !important;
}

.social-links a.social-instagram:hover i {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.social-links a.social-email:hover i {
  color: #fff !important;
}

.social-links a.social-phone:hover i {
  color: #fff !important;
}

.social-links a.social-github:hover i {
  color: #24292f !important;
}

.social-links a:hover {
  box-shadow: 0 0 12px var(--social-color);
}

.social-links a:hover i {
  box-shadow: none;
  filter: drop-shadow(0 0 5px var(--social-color));
}

.social-links a.social-facebook:hover {
  background-color: rgba(24, 119, 242, 0.32);
}

.social-links a.social-whatsapp:hover {
  background-color: rgba(37, 211, 102, 0.32);
}

.social-links a.social-tiktok:hover {
  background-color: #000;
}

.social-links a.social-x:hover {
  background-color: rgba(29, 161, 242, 0.32);
}

.social-links a.social-x:hover i {
  color: #fff !important;
}

.social-links a.social-linkedin:hover {
  background-color: rgba(10, 102, 194, 0.34);
}

.social-links a.social-instagram:hover {
  background-color: rgba(225, 48, 108, 0.3);
}

.social-links a.social-email:hover {
  background-color: rgba(234, 67, 53, 0.3);
}

.social-links a.social-phone:hover {
  background-color: rgba(123, 201, 111, 0.3);
}

.social-links a.social-github:hover {
  background-color: rgba(240, 246, 252, 0.24);
}

.social-links a:hover {
  box-shadow: none;
}

.social-links a:hover i {
  filter: none;
}

.social-links a.social-facebook:hover {
  background-color: #1877f2;
}

.social-links a.social-whatsapp:hover {
  background-color: #25d366;
}

.social-links a.social-tiktok:hover {
  background-color: #000;
}

.social-links a.social-x:hover {
  background-color: #1da1f2;
}

.social-links a.social-linkedin:hover {
  background-color: #0a66c2;
}

.social-links a.social-instagram:hover {
  background: linear-gradient(45deg, #ffdc80 0%, #fcaf45 20%, #f77737 38%, #e1306c 62%, #833ab4 82%, #405de6 100%);
}

.social-links a.social-email:hover {
  background-color: #ea4335;
}

.social-links a.social-phone:hover {
  background-color: #7bc96f;
}

.social-links a.social-github:hover {
  background-color: rgba(240, 246, 252, 0.14);
}

.social-links a,
.social-links a:hover,
.social-links a:focus-visible {
  filter: brightness(0.78);
}

/* Interactive social-link states */
.social-links a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  outline: none;
  transform: translateY(0) scale(1);
  box-shadow: 0 4px 14px rgba(0, 238, 255, 0.2);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease, filter 280ms ease, border-color 280ms ease;
}

.social-links a::before {
  position: absolute;
  inset: -70%;
  z-index: -1;
  content: "";
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-75%) rotate(18deg);
  transition: transform 600ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  filter: brightness(1.08) saturate(1.18);
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--social-color) 20%, transparent),
    0 10px 26px color-mix(in srgb, var(--social-color) 60%, transparent);
}

.social-links a:hover::before,
.social-links a:focus-visible::before {
  transform: translateX(75%) rotate(18deg);
}

.social-links a:hover i,
.social-links a:focus-visible i {
  animation: social-icon-bounce 700ms ease both;
}

.social-links a:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--social-color) 28%, transparent),
    0 10px 26px color-mix(in srgb, var(--social-color) 60%, transparent);
}

.social-links a:active {
  transform: translateY(-1px) scale(0.92);
  filter: brightness(1.2) saturate(1.25);
  transition-duration: 100ms;
}

@keyframes social-icon-bounce {
  0% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.22) rotate(-8deg); }
  100% { transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .social-links a,
  .social-links a::before,
  .social-links a:hover i,
  .social-links a:focus-visible i {
    animation: none;
    transition: none;
  }
}

.btn {
  display: inline-block;
  margin: 5px 8px 5px 0;
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--cyan);
  color: #06202a;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn.alt {
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  background: #081b29;
  color: var(--cyan);
  box-shadow: 0 8px 24px rgba(0, 238, 255, 0.35);
}

.btn.alt:hover,
.btn.alt:focus-visible {
  border-color: var(--cyan);
}

.section-title {
  margin-bottom: 45px;
  text-align: center;
  font-size: 44px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.grid > .card:hover,
.about-copy:hover,
.taekwondo-hero:hover,
.cards > .card:hover {
  transform: translateY(-5px);
  outline: 1px solid rgba(0, 238, 255, 0.25);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.card h3 {
  color: var(--cyan);
  font-size: 23px;
}

.skill {
  margin: 15px 0;
}

.skill-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.skill-heading .skill-icon {
  flex: 0 0 26px;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.skill-heading .skill-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.skill-heading .skill-percentage {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.technical-skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.technical-skill-item .skill-icon {
  flex: 0 0 26px;
  color: var(--cyan);
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 20px;
  background: #19384b;
}

.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--skill-color, var(--cyan));
  animation: skill-fill 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) var(--skill-delay, 0ms) both;
}

@keyframes skill-fill {
  to {
    width: var(--skill-level);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bar span {
    width: var(--skill-level);
    animation: none;
  }
}

.project {
  overflow: hidden;
}

.project img {
  width: 100%;
  height: 190px;
  margin-bottom: 12px;
  border-radius: 12px;
  object-fit: cover;
}

.project .project-photo {
  object-position: center;
}

.tag {
  display: inline-block;
  margin: 3px;
  padding: 4px 9px;
  border: 1px solid #3e7080;
  border-radius: 20px;
  color: #cdeaf1;
  font-size: 13px;
}

.timeline {
  padding-left: 25px;
  border-left: 2px solid var(--cyan);
}

.timeline .card {
  margin-bottom: 18px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact input,
.contact textarea {
  width: 100%;
  margin: 7px 0;
  padding: 14px;
  border: 1px solid #31586b;
  border-radius: 10px;
  background: #0a1e2d;
  color: white;
}

.contact textarea {
  min-height: 150px;
}

footer {
  padding: 35px;
  background: #051129;
  color: var(--muted);
  text-align: center;
}

body.light-mode .header,
body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.97);
}

body.light-mode .header {
  box-shadow: 0 4px 22px rgba(21, 57, 78, 0.12);
}

body.light-mode .home {
  background:
    radial-gradient(ellipse at 82% 48%, rgba(0, 127, 145, 0.1), transparent 38%),
    radial-gradient(ellipse at 14% 5%, rgba(42, 125, 205, 0.08), transparent 34%),
    var(--bg);
}

body.light-mode .home-content h1 {
  background-image: linear-gradient(105deg, #163247 18%, #007f91 92%);
}

body.light-mode .home-feature-photo {
  border-color: rgba(0, 127, 145, 0.6);
  background: #02080d;
  mix-blend-mode: normal;
  filter:
    drop-shadow(0 14px 28px rgba(18, 50, 71, 0.28))
    drop-shadow(0 0 18px rgba(0, 127, 145, 0.2));
}

body.light-mode .card {
  box-shadow: 0 4px 22px rgba(21, 57, 78, 0.1);
}

body.light-mode .bar {
  background: #d9e6ee;
}

body.light-mode .tag {
  border-color: #a7c4d1;
  color: #294b5e;
}

body.light-mode .social-links .social-github {
  --social-color: #24292f;
  border-color: #24292f;
  background-color: rgba(36, 41, 47, 0.12);
}

body.light-mode .social-links .social-github i,
body.light-mode .social-links a.social-github:hover i {
  color: #24292f !important;
}

body.light-mode .contact input,
body.light-mode .contact textarea {
  border-color: #b8ccd8;
  background: #ffffff;
  color: var(--text);
}

body.light-mode .contact input::placeholder,
body.light-mode .contact textarea::placeholder {
  color: #60788a;
}

body.light-mode footer {
  background: #e1edf4;
}

.social-links .social-instagram,
.social-links .social-github {
  filter: brightness(1);
}

.social-links .social-instagram i {
  color: #fff !important;
  background: none;
  -webkit-text-fill-color: #fff;
}

.social-links .social-github {
  border-color: #24292f;
  background-color: #24292f;
}

.social-links .social-github i,
.social-links a.social-github:hover i {
  color: #fff !important;
}

body.light-mode .social-links .social-github {
  border-color: #24292f;
  background-color: #24292f;
}

body.light-mode .social-links .social-github i,
body.light-mode .social-links a.social-github:hover i {
  color: #fff !important;
}

body.light-mode .footer {
  background: #e1edf4;
  color: var(--text);
}

body.light-mode .footer-col h3,
body.light-mode .layer {
  color: var(--text);
}

body.light-mode .footer-col p {
  color: var(--muted);
}

body.light-mode .badge,
body.light-mode .record {
  border-color: rgba(22, 50, 71, 0.16);
  background: rgba(22, 50, 71, 0.05);
}

.playground-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  padding: 1.35rem 1.5rem;
}

.playground-intro h3 {
  margin: 0.25rem 0 0.45rem;
}

.playground-intro p {
  margin: 0;
  color: var(--muted);
}

.playground-intro > i {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 3rem;
}

.playground {
  overflow: hidden;
  padding: 1rem;
  background: #06111b;
  border-color: rgba(0, 238, 255, 0.18);
}

.playground-editors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.code-editor {
  display: block;
  min-width: 0;
}

.code-editor > span,
.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #b9cad4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.code-editor > span {
  justify-content: flex-start;
  padding: 0.6rem 0.75rem;
  border: 1px solid #213b4c;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #0d2638;
}

.code-editor > span i {
  color: var(--cyan);
  font-size: 1.05rem;
}

.code-editor textarea {
  display: block;
  width: 100%;
  min-height: 245px;
  resize: vertical;
  padding: 0.85rem;
  border: 1px solid #213b4c;
  border-radius: 0 0 10px 10px;
  outline: none;
  background: #071521;
  color: #d9f7ff;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  tab-size: 2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.code-editor textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cyan) 18%, transparent);
}

.code-editor .CodeMirror {
  min-height: 245px;
  height: 245px;
  border: 1px solid #213b4c;
  border-radius: 0 0 10px 10px;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
}

.code-editor .CodeMirror-focused {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cyan) 18%, transparent);
}

.code-editor .CodeMirror-gutters {
  border-right: 1px solid #213b4c;
  background: #0a1e2d;
}

.playground-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.playground-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.playground-button {
  margin: 0;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--cyan);
  font-size: 0.8rem;
}

.playground-button i {
  margin-right: 0.2rem;
  vertical-align: -1px;
}

.playground-status {
  color: #8fa9b7;
  font-size: 0.76rem;
}

.playground-preview-wrap {
  overflow: hidden;
  border: 1px solid #213b4c;
  border-radius: 12px;
  background: #071521;
}

.preview-heading {
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #213b4c;
  background: #0d2638;
}

.preview-heading > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.preview-heading i {
  color: var(--cyan);
  font-size: 1rem;
}

.sandbox-badge {
  border: 1px solid rgba(111, 232, 171, 0.35);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  color: #6fe8ab;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.playground-preview-wrap iframe {
  display: block;
  width: 100%;
  height: 330px;
  border: 0;
  background: #fff;
}

body.light-mode .playground {
  background: #102435;
}

.achievement-grid,
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.achievement-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
}

.achievement-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--cyan) 12%, transparent);
  color: var(--cyan);
  font-size: 1.55rem;
}

.achievement-card h3,
.feedback-intro h3 {
  margin: 0.25rem 0 0.45rem;
}

.achievement-card p,
.feedback-intro p {
  margin: 0;
  color: var(--muted);
}

.feedback-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  padding: 1.35rem 1.5rem;
}

.feedback-intro > i {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 3rem;
  opacity: 0.85;
}

.feedback-card {
  overflow: hidden;
}

.feedback-photo {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-direction: column;
  border-bottom: 1px dashed color-mix(in srgb, var(--cyan) 35%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 14%, var(--panel)), var(--panel));
  color: var(--muted);
  font-size: 0.82rem;
}

.feedback-photo img {
  display: block;
  width: 150px;
  height: 150px;
  padding: 5px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--cyan) 14%, transparent), 0 8px 20px rgba(0, 0, 0, 0.18);
  object-fit: contain;
  object-position: center;
}

.feedback-photo i {
  color: var(--cyan);
  font-size: 2rem;
}

.feedback-copy {
  padding: 1.25rem;
}

.feedback-label {
  color: var(--cyan);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-card blockquote {
  margin: 0.7rem 0;
  color: var(--text);
  font-size: 1rem;
  font-style: italic;
}

.feedback-author {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .playground-editors {
    grid-template-columns: 1fr;
  }

  .playground-toolbar,
  .playground-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .playground-status {
    align-self: flex-start;
  }

  .achievement-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .feedback-intro {
    align-items: flex-start;
  }
}

/* Portfolio assistant */
.portfolio-chatbot {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 500;
  font-family: Arial, Helvetica, sans-serif;
}

.chatbot-launcher {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--panel);
  color: var(--cyan);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 238, 255, 0.2);
  cursor: pointer;
  font-size: 1.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.chatbot-launcher:hover,
.chatbot-launcher:focus-visible {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 30px rgba(0, 238, 255, 0.32);
  outline: none;
}

.chatbot-launcher-pulse {
  position: absolute;
  top: 2px;
  right: 3px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: #55e391;
}

.chatbot-window {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  width: min(390px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 110px));
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 238, 255, 0.38);
  border-radius: 20px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.48), 0 0 32px rgba(0, 238, 255, 0.12);
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot-window[hidden] {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: linear-gradient(135deg, rgba(0, 238, 255, 0.18), rgba(0, 238, 255, 0.04));
  border-bottom: 1px solid rgba(185, 202, 212, 0.18);
}

.chatbot-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chatbot-heading > div {
  display: grid;
  gap: 1px;
}

.chatbot-heading strong {
  font-size: 0.98rem;
}

.chatbot-heading span:not(.chatbot-avatar) {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatbot-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: rgba(0, 238, 255, 0.12);
  color: var(--cyan);
  font-size: 1.2rem;
}

.chatbot-close {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.35rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.chatbot-close:hover,
.chatbot-close:focus-visible {
  background: rgba(0, 238, 255, 0.12);
  color: var(--cyan);
  outline: none;
}

.chatbot-clear {
  display: grid;
  width: 32px;
  height: 32px;
  margin-left: auto;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.chatbot-clear:hover,
.chatbot-clear:focus-visible { background: rgba(0, 238, 255, 0.12); color: var(--cyan); outline: none; }

.chatbot-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 16px;
  scroll-behavior: smooth;
}

.chatbot-message {
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid rgba(185, 202, 212, 0.16);
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chatbot-message-assistant {
  align-self: flex-start;
  border-top-left-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.chatbot-message-user {
  align-self: flex-end;
  border-color: rgba(0, 238, 255, 0.35);
  border-top-right-radius: 4px;
  background: rgba(0, 238, 255, 0.12);
}

.chatbot-message-assistant > span { white-space: pre-wrap; }
.chatbot-code { position: relative; margin: 8px 0 2px; }
.chatbot-code pre { max-width: 100%; margin: 0; padding: 10px 48px 10px 10px; overflow-x: auto; border-radius: 8px; background: rgba(0, 0, 0, 0.35); color: #d7f9ff; font: 0.78rem/1.45 Consolas, monospace; white-space: pre; }
.chatbot-copy,
.chatbot-use-code { position: absolute; top: 6px; padding: 4px 7px; border: 1px solid rgba(0, 238, 255, 0.35); border-radius: 5px; background: rgba(0, 238, 255, 0.12); color: var(--cyan); font-size: 0.68rem; cursor: pointer; }
.chatbot-copy { right: 6px; }
.chatbot-use-code { right: 48px; }

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chatbot-suggestions button {
  padding: 7px 9px;
  border: 1px solid rgba(0, 238, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.chatbot-suggestions button:hover,
.chatbot-suggestions button:focus-visible {
  background: var(--cyan);
  color: #04111c;
  outline: none;
}

.chatbot-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 16px 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.chatbot-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: chatbot-bounce 0.9s infinite ease-in-out;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.3s; }
.chatbot-typing em { margin-left: 4px; font-style: normal; }

@keyframes chatbot-bounce {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(185, 202, 212, 0.18);
}

.chatbot-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
  border: 1px solid rgba(185, 202, 212, 0.24);
  border-radius: 12px;
  outline: none;
  background: rgba(0, 0, 0, 0.16);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
}

.chatbot-form input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 238, 255, 0.1); }
.chatbot-form input::placeholder { color: var(--muted); }

.chatbot-send {
  display: grid;
  width: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--cyan);
  color: #04111c;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.chatbot-send:hover,
.chatbot-send:focus-visible { filter: brightness(1.08); transform: translateY(-1px); outline: none; }
.chatbot-send:disabled { cursor: wait; opacity: 0.55; transform: none; }

.chatbot-error {
  margin: 0;
  padding: 0 14px 12px;
  color: #ff9d9d;
  font-size: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .portfolio-chatbot { right: 12px; bottom: 12px; }
  .chatbot-window { right: -2px; bottom: 68px; width: calc(100vw - 24px); height: min(600px, calc(100vh - 92px)); min-height: 390px; }
  .chatbot-launcher { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-launcher,
  .chatbot-window,
  .chatbot-send { transition: none; }
  .chatbot-typing span { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .grid > .card:hover,
  .about-copy:hover,
  .taekwondo-hero:hover,
  .cards > .card:hover {
    transition: none;
    transform: none;
  }
}

.menu {
  display: none;
  color: var(--cyan);
  font-size: 30px;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: transparent;
  line-height: 1;
}

.taekwondo-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.taekwondo-hero h3 {
  margin: 0.8rem 0;
  font-size: 1.55rem;
}

.badge {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.record {
  min-width: 130px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  text-align: center;
}

.record strong {
  display: block;
  font-size: 2.4rem;
}

.record span {
  opacity: 0.8;
}

.hero-photo img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 28px #00eeff55;
  object-fit: cover;
}

@media (max-width: 980px) {
  .header {
    flex-wrap: wrap;
  }

  .portfolio-theme-toggle {
    margin-left: auto;
  }

  .navbar {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 7% 20px;
    background: #051129;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.2);
    z-index: 110;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .navbar a {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 9px 0;
    font-size: 16px;
    margin-left: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .navbar.open {
    display: flex;
  }

  .menu {
    display: block;
    order: 2;
  }

  .portfolio-theme-toggle {
    order: 1;
  }

  .navbar {
    order: 3;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  section {
    padding: 70px 6%;
  }
}

@media (max-width: 980px) and (min-width: 761px) {
  .home-content {
    max-width: 66%;
  }

  .home-feature-photo {
    right: 1%;
    width: 34vw;
    opacity: 0.88;
  }
}

@media (max-width: 760px) {
  .home {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-top: 105px;
    padding-bottom: 56px;
  }

  .home-content {
    max-width: 100%;
  }

  .home-feature-photo {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    align-self: center;
    width: min(78vw, 360px);
    margin: 24px auto 0;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .taekwondo-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .record {
    width: 100%;
  }
}

.cv-section { padding-top: 18px; padding-bottom: 48px; }
.cv-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 1.6rem; border-color: rgba(0, 238, 255, 0.28); background: linear-gradient(135deg, rgba(0, 238, 255, 0.1), rgba(13, 38, 56, 0.92)); }
body.light-mode .cv-card { background: linear-gradient(135deg, rgba(0, 127, 145, 0.1), rgba(255, 255, 255, 0.94)); }
.cv-card h2 { margin: 0.18rem 0 0.25rem; font-size: clamp(1.35rem, 2.5vw, 1.9rem); }
.cv-card p { margin: 0; color: var(--muted); }
.cv-download { display: inline-flex; align-items: center; gap: 0.45rem; flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) {
  .cv-card { align-items: flex-start; flex-direction: column; }
}

/* Visitor location dashboard styles removed
.visitor-map-section { padding-top: 72px; }
.visitor-map-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.25rem; }
.visitor-map-heading .section-title { margin-bottom: 0.35rem; }
.visitor-map-description { max-width: 680px; margin: 0; color: var(--muted); }
.visitor-map-heading-icon { color: var(--cyan); font-size: 3rem; filter: drop-shadow(0 0 12px rgba(0, 238, 255, 0.35)); }
.visitor-map-dashboard { padding: 0; overflow: hidden; border-color: rgba(0, 238, 255, 0.25); background: linear-gradient(145deg, rgba(13, 38, 56, 0.98), rgba(5, 17, 41, 0.98)); }
body.light-mode .visitor-map-dashboard { background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 249, 0.98)); }
.visitor-map-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(0, 238, 255, 0.16); }
.visitor-stat { min-height: 118px; padding: 1.15rem 1.25rem; background: rgba(3, 15, 27, 0.58); }
body.light-mode .visitor-stat { background: rgba(255, 255, 255, 0.8); }
.visitor-stat > span { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.visitor-stat strong { display: block; margin: 0.25rem 0; color: var(--cyan); font-size: 2rem; line-height: 1.1; }
.visitor-stat small { color: var(--muted); font-size: 0.75rem; }
.visitor-top-list { display: flex; flex-wrap: wrap; gap: 0.42rem; margin-top: 0.55rem; }
.visitor-country-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.55rem; border: 1px solid rgba(0, 238, 255, 0.32); border-radius: 999px; color: var(--text); font-size: 0.74rem; }
.visitor-country-pill b { color: var(--cyan); }
.visitor-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1rem; padding: 1rem; }
.visitor-map-wrap { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(0, 238, 255, 0.25); border-radius: 16px; background: #061321; }
.visitor-map { width: 100%; height: 430px; min-height: 300px; background: #061321; }
.visitor-map .leaflet-tile-pane { filter: brightness(0.58) saturate(0.72) hue-rotate(165deg); }
.visitor-map .leaflet-control-zoom a { border-color: rgba(0, 238, 255, 0.35); background: #0b2637; color: var(--cyan); }
.visitor-map .leaflet-control-attribution { background: rgba(5, 17, 41, 0.8); color: #9bb4c2; }
.visitor-map .leaflet-control-attribution a { color: var(--cyan); }
.visitor-map-overlay { position: absolute; top: 14px; left: 14px; z-index: 400; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.7rem; border: 1px solid rgba(0, 238, 255, 0.3); border-radius: 999px; background: rgba(5, 17, 41, 0.86); color: #d9f9ff; font-size: 0.72rem; backdrop-filter: blur(8px); }
.map-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #f5b942; box-shadow: 0 0 10px #f5b942; }
.visitor-map-has-data .map-status-dot { background: #55e391; box-shadow: 0 0 10px #55e391; }
.visitor-map-notice { display: flex; align-items: flex-start; gap: 0.7rem; align-self: stretch; padding: 1rem; border: 1px solid rgba(245, 185, 66, 0.34); border-radius: 14px; background: rgba(245, 185, 66, 0.07); color: var(--muted); font-size: 0.82rem; }
.visitor-map-notice > i { flex: 0 0 auto; color: #f5b942; font-size: 1.25rem; }
.visitor-map-notice strong { display: block; margin-bottom: 0.35rem; color: var(--text); }
.visitor-map-notice p { margin: 0; }
.visitor-marker { width: 18px; height: 18px; border: 2px solid #e9fdff; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(0, 238, 255, 0.18), 0 0 20px rgba(0, 238, 255, 0.75); }
.visitor-marker-pulse { animation: visitor-marker-pulse 2s infinite ease-out; }
@keyframes visitor-marker-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(0, 238, 255, 0.14), 0 0 14px rgba(0, 238, 255, 0.65); } 50% { box-shadow: 0 0 0 11px rgba(0, 238, 255, 0), 0 0 22px rgba(0, 238, 255, 0.9); } }
.visitor-popup strong { color: #087e90; }
.visitor-popup span { color: #526b7c; }
@media (max-width: 820px) {
  .visitor-map-heading { align-items: flex-start; }
  .visitor-map-layout { grid-template-columns: 1fr; }
  .visitor-map-notice { min-height: auto; }
}
@media (max-width: 600px) {
  .visitor-map-stats { grid-template-columns: 1fr; }
  .visitor-stat { min-height: auto; }
  .visitor-map-heading-icon { display: none; }
  .visitor-map { height: 330px; }
  .visitor-map-layout { padding: 0.7rem; }
}
*/
