/* ==========================================================================
   THANGIT.COM — Optimized Modern Design System & Clean CSS
   Clean Architecture • Roboto Typography • 100% Client-Side High Performance
   ========================================================================== */

/* ==========================================================================
   1. ROOT VARIABLES & GLOBAL RESETS
   ========================================================================== */
:root {
  --bg-base: #06080d;
  --bg-card: rgba(17, 26, 46, 0.85);
  --bg-card-hover: #162038;
  --bg-input: #0a0f1d;
  --bg-glass: rgba(17, 26, 46, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 240, 255, 0.35);
  --border-active: #00f0ff;
  --border-color: rgba(255, 255, 255, 0.08);

  --text-main: #f8fafc;
  --text-title: #ffffff;
  --text-body: #94a3b8;
  --text-dim: #64748b;
  --text-secondary: #94a3b8;

  --neon-cyan: #00f0ff;
  --neon-green: #00ff9d;
  --neon-amber: #ffb800;
  --neon-rose: #ef4444;
  --neon-purple: #a855f7;

  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --radius-card: 14px;
  --radius-btn: 9px;
  --radius-pill: 9999px;

  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-cyan: 0 0 14px rgba(0, 240, 255, 0.2);
  --transition-fast: 0.2s ease;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  font-size: 15px;
}

html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, strong, b, div {
  font-family: var(--font-sans);
}

/* FontAwesome Icon Fallback Protection */
.fab, .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal;
}

.fas, .fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
}

body {
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(rgba(0, 240, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 8, 13, 0.2), var(--bg-base) 90%);
  background-size: 28px 28px, 100% 100%;
  color: var(--text-body);
  min-height: 100vh;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top)) 14px max(50px, env(safe-area-inset-bottom));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

/* App Container & Background Ambient Glows */
.app-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto !important;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  will-change: transform;
}

.glow-bg {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 240, 255, 0.45) 0%, rgba(112, 0, 255, 0.15) 70%, transparent 100%);
}

.glow-2 {
  bottom: 5%;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 0, 123, 0.25) 0%, rgba(0, 240, 255, 0.1) 70%, transparent 100%);
}

/* Tab Panels Animation */
.home-tab-content {
  animation: fadeInCard 0.25s ease-out;
}

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInTool {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   2. TOP STATUS BAR & PROFILE HEADER
   ========================================================================== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px;
  min-height: 40px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  user-select: none;
  cursor: default;
}

.badge-status:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  transform: scale(1.02) translateY(-1px);
}

.badge-status-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.badge-status-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin: 0;
  line-height: 1;
}

.badge-status-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.35);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

#nav-brand-home {
  cursor: pointer;
}

#nav-brand-home:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  user-select: none;
}

.top-nav-btn i {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}

.top-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.top-nav-btn:hover i {
  color: var(--neon-cyan);
}

.top-nav-btn.active {
  background: rgba(0, 240, 255, 0.15) !important;
  border-color: var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3) !important;
}

.top-nav-btn.active i {
  color: var(--neon-cyan) !important;
}

#nav-btn-cv {
  min-width: 110px;
  height: 40px;
  padding: 0 18px;
  font-size: 0.82rem;
  gap: 7px;
}

#nav-btn-cv i {
  font-size: 0.88rem;
}

@media (max-width: 390px) {
  .top-nav-btn {
    height: 36px;
    padding: 0 9px;
    font-size: 0.71rem;
    gap: 4px;
  }
  .top-nav-btn i {
    font-size: 0.76rem;
  }
  #nav-btn-cv {
    min-width: 96px;
    height: 36px;
    padding: 0 12px;
    font-size: 0.76rem;
  }
}

@media (max-width: 350px) {
  .top-nav-btn {
    height: 34px;
    padding: 0 7px;
    font-size: 0.66rem;
    gap: 3px;
  }
  #nav-btn-cv {
    min-width: 86px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
  }
  .badge-status {
    padding: 0 8px 0 6px;
    gap: 5px;
  }
  .badge-status-title {
    font-size: 0.84rem;
  }
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  transform: scale(1.05) translateY(-1px);
}

/* Profile Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
}

.cv-profile-section {
  padding: 4px 0 14px;
  margin-bottom: 2px;
}

.avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f0ff, #7000ff, #ff007b);
  animation: rotateRing 6s linear infinite;
}

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

.avatar-img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 3px solid #090d16;
  background: #090d16;
}

.avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #18181b;
  border: 2px solid var(--neon-cyan);
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  width: 100%;
}

.profile-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  color: #38bdf8;
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.profile-handle {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin: 2px 0 0;
  line-height: 1.3;
}

.profile-bio {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.4;
  width: 100%;
  max-width: 360px;
  margin: 4px auto 0;
  text-align: center;
  display: block;
}

/* 4 Squircle Social Buttons */
.social-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 16px auto 0;
}

.social-icon-btn {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.social-icon-btn i {
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.social-icon-btn.telegram i { color: #2AABEE; }
.social-icon-btn.discord i { color: #5865F2; }
.social-icon-btn.github i { color: #FFFFFF; }

.zalo-text-badge {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0068FF;
  letter-spacing: 0.04em;
  font-family: var(--font-sans) !important;
  transition: transform 0.2s ease;
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.06);
  background: rgba(30, 38, 52, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.social-icon-btn:hover i,
.social-icon-btn:hover .zalo-text-badge {
  transform: scale(1.1);
}

.social-icon-btn.zalo:hover { border-color: rgba(0, 104, 255, 0.7); box-shadow: 0 8px 24px rgba(0, 104, 255, 0.35); }
.social-icon-btn.telegram:hover { border-color: rgba(42, 171, 238, 0.7); box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35); }
.social-icon-btn.discord:hover { border-color: rgba(88, 101, 242, 0.7); box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35); }
.social-icon-btn.github:hover { border-color: rgba(255, 255, 255, 0.7); box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3); }
.social-icon-btn:active { transform: scale(0.94); }

/* ==========================================================================
   3. PRIMARY TOOLS BAR & UNIFIED SUB-TABS
   ========================================================================== */

/* Unified Sub-Tabs Layout Containers */
.tool-switcher-wrap,
.tools-subtabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 2px 0 10px;
  width: 100%;
}

.tool-switcher-wrap::-webkit-scrollbar,
.tools-subtabs::-webkit-scrollbar { 
  display: none; 
}

#tools-subnav.tools-subtabs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 5px;
  padding: 2px 0 10px;
  width: 100%;
  box-sizing: border-box;
}

#tools-subnav .subtab-btn,
#tools-subnav .tool-switcher-btn {
  width: 100%;
  min-width: 0;
  padding: 8px 3px;
  font-size: 0.74rem;
  font-weight: 700;
  gap: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

#tools-subnav .subtab-btn span,
#tools-subnav .tool-switcher-btn span {
  display: inline-block;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  letter-spacing: -0.2px;
}

@media (max-width: 480px) {
  #tools-subnav.tools-subtabs {
    gap: 4px;
  }
  #tools-subnav .subtab-btn,
  #tools-subnav .tool-switcher-btn {
    padding: 7px 2px;
    font-size: 0.70rem;
    gap: 2px;
  }
  #tools-subnav .subtab-btn span,
  #tools-subnav .tool-switcher-btn span {
    letter-spacing: -0.3px;
  }
}

@media (max-width: 375px) {
  #tools-subnav.tools-subtabs {
    gap: 3px;
  }
  #tools-subnav .subtab-btn,
  #tools-subnav .tool-switcher-btn {
    padding: 6px 1px;
    font-size: 0.65rem;
    gap: 1px;
  }
  #tools-subnav .subtab-btn span,
  #tools-subnav .tool-switcher-btn span {
    letter-spacing: -0.4px;
  }
}



.category-tabs-container {
  display: flex !important;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 10px;
  width: 100%;
}

.category-tabs-container::-webkit-scrollbar { 
  display: none; 
}

.category-tabs-container .tool-switcher-btn,
.category-tabs-container .subtab-btn,
.category-tabs-container .category-tab {
  flex: 1;
  min-width: max-content;
}

/* Unified Sub-Tab Buttons */
.tool-switcher-btn,
.subtab-btn,
.category-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 8px;
  background: rgba(13, 18, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-width: 0;
  outline: none;
}

.tool-switcher-btn span,
.subtab-btn span,
.category-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-switcher-btn:hover,
.subtab-btn:hover,
.category-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--border-hover);
}

.tool-switcher-btn.active,
.subtab-btn.active,
.category-tab.active {
  background: rgba(0, 240, 255, 0.12) !important;
  border-color: var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
  box-shadow: var(--shadow-cyan) !important;
}

@media (max-width: 380px) {
  .tool-switcher-btn,
  .subtab-btn,
  .category-tab {
    font-size: 0.68rem;
    padding: 7px 2px;
    gap: 2px;
  }
}

/* ==========================================================================
   4. TOOLS TAB (4-IN-1 NETWORK PRO MODULES)
   ========================================================================== */
.tool-panel {
  display: none;
  animation: fadeInTool 0.25s ease-out;
}

.tool-panel.active {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tool-card {
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.tool-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.tool-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.tool-tag-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--neon-cyan);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Tool Form Elements */
.tool-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tool-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tool-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

.subnet-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.subnet-ip-field,
.subnet-mask-field {
  min-width: 0;
  width: 100%;
}

.subnet-ip-field .tool-label,
.subnet-mask-field .tool-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.76rem;
}

#subnet-cidr,
#subnet-prefix,
.subnet-cidr-select {
  width: 100%;
  font-size: 0.8rem;
  padding: 0 24px 0 8px;
  height: 40px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(0,240,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  box-sizing: border-box;
}

.subnet-ip-field .tool-input {
  height: 40px;
  font-size: 0.82rem;
  padding: 0 8px;
  box-sizing: border-box;
}

.tool-select option {
  background: #0a0f1d;
  color: #fff;
}

@media (max-width: 480px) {
  .subnet-input-row {
    gap: 6px;
  }
  .subnet-ip-field .tool-label,
  .subnet-mask-field .tool-label {
    font-size: 0.74rem;
  }
  .subnet-ip-field .tool-input,
  #subnet-cidr,
  #subnet-prefix,
  .subnet-cidr-select {
    height: 38px;
    font-size: 0.78rem;
    padding-left: 6px;
    padding-right: 22px;
  }
}

/* Wi-Fi Compact 2-Row Form */
.wifi-form-compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wifi-row-ssid {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}

.wifi-hidden-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 4px;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  transition: color 0.15s ease;
}

.wifi-hidden-check:hover {
  color: var(--neon-cyan);
}

.wifi-hidden-check input[type="checkbox"] {
  accent-color: var(--neon-cyan);
  cursor: pointer;
  width: 14px;
  height: 14px;
  margin: 0;
}

.wifi-row-security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.wifi-form-compact .tool-label {
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.wifi-row-security select.tool-select {
  cursor: pointer;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .wifi-row-ssid,
  .wifi-row-security {
    gap: 8px;
  }
  .wifi-hidden-check {
    padding: 0 2px;
    font-size: 0.72rem;
    height: 38px;
  }
  .wifi-form-compact .tool-input,
  .wifi-form-compact .tool-select {
    padding: 9px 8px;
    font-size: 0.82rem;
    height: 38px;
  }
}

.tool-card input[type="text"],
.tool-card input[type="number"],
.tool-card input[type="password"],
.tool-card select,
.tool-input, .tool-select {
  width: 100%;
  background: #0a0f1d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-btn);
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.tool-card input[type="text"]:focus,
.tool-card input[type="number"]:focus,
.tool-card input[type="password"]:focus,
.tool-card select:focus,
.tool-input:focus, .tool-select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
  background: #0d1528;
}

.tool-input:disabled, .tool-select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.tool-input::placeholder,
.port-search-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
}

.tool-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.tool-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tool-chip:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--neon-cyan);
}

.tool-chip.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  font-weight: 700;
}

#port-filter-chips {
  display: flex !important;
  gap: 6px !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100%;
}

#port-filter-chips .tool-chip {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  box-sizing: border-box;
  outline: none;
}

@media (max-width: 400px) {
  #port-filter-chips .tool-chip {
    font-size: 0.68rem;
    padding: 5px 2px;
  }
}

/* Tool Key-Value Results Table */
.tool-result-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.tool-result-row {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.tool-res-cell-label {
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-body);
  width: 38%;
  border-radius: 8px 0 0 8px;
}

.tool-res-cell-val {
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-align: right;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.copy-mini-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 0.78rem;
  transition: color 0.15s;
}

.copy-mini-btn:hover { 
  color: var(--neon-cyan); 
}

/* Action Buttons */
.tool-btn-action {
  width: 100%;
  background: linear-gradient(135deg, #00f0ff, #00a2ff);
  color: #04070d;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.3);
  transition: all 0.2s ease;
}

.tool-btn-action:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.tool-btn-action:active { 
  transform: scale(0.98); 
}

/* Distinct Accent for Reverse DNS (PTR) Submit Button */
.tool-btn-rdns {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(112, 0, 255, 0.22)) !important;
  border: 1px solid rgba(0, 240, 255, 0.45) !important;
  color: var(--neon-cyan) !important;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.12) !important;
  backdrop-filter: blur(8px);
}

.tool-btn-rdns:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(112, 0, 255, 0.35)) !important;
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.3) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.tool-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.tool-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Port Directory Search & Cards */
.port-search-box {
  position: relative;
}

.port-search-input {
  width: 100%;
  background: #0a0f1d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.port-search-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
  background: #0d1528;
}

.port-list-scroll,
#port-items-container,
#port-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 240, 0.2) transparent;
}

.port-list-scroll::-webkit-scrollbar,
#port-items-container::-webkit-scrollbar,
#port-list::-webkit-scrollbar {
  width: 4px;
}

.port-list-scroll::-webkit-scrollbar-thumb,
#port-items-container::-webkit-scrollbar-thumb,
#port-list::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 240, 0.2);
  border-radius: 4px;
}

.port-list-scroll::-webkit-scrollbar-thumb:hover,
#port-items-container::-webkit-scrollbar-thumb:hover,
#port-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 240, 0.4);
}

.port-item-card,
.port-item {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0 10px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.15s, border-color 0.15s;
}

.port-item-card:hover,
.port-item:hover {
  background: #162035;
  border-color: rgba(0, 240, 255, 0.25);
}

.port-num-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  min-width: 66px;
  max-width: 76px;
  flex-shrink: 0;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
}

.port-num-badge .port-proto {
  font-size: 0.62rem;
  opacity: 0.75;
  font-weight: 600;
}

.port-desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.port-desc strong {
  color: #fff;
  font-weight: 600;
}

.port-item .copy-mini-btn,
.port-item-card .copy-mini-btn {
  font-size: 0.75rem;
  opacity: 0.6;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: opacity 0.15s, color 0.15s;
}

.port-item .copy-mini-btn:hover,
.port-item-card .copy-mini-btn:hover {
  opacity: 1;
  color: var(--neon-cyan);
}

/* IP WAN Display & Wi-Fi Checkbox */
.pwd-display-card {
  background: #090e18;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wan-ip-display-card {
  overflow: hidden;
}

.wan-ip-info-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.pwd-text-output {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--neon-green);
  word-break: break-all;
  user-select: all;
}

#wan-ip-val.pwd-text-output {
  font-size: clamp(0.85rem, 3.8vw, 1.15rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  display: block;
  max-width: 100%;
}

.wan-ip-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 3px;
  overflow: hidden;
}

.wan-isp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neon-cyan);
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwd-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #cbd5e1;
  cursor: pointer;
}

.pwd-check-label input[type="checkbox"] {
  accent-color: var(--neon-cyan);
  width: 16px;
  height: 16px;
}

/* Wi-Fi QR Code Canvas & Buttons */
.wifi-qr-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 0 auto;
  width: 200px;
  height: 200px;
}

#wifi-qr-canvas {
  width: 172px !important;
  height: 172px !important;
  display: block;
}

.wifi-action-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.wifi-download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.wifi-download-row button {
  white-space: nowrap;
  font-size: 0.82rem;
  padding: 10px 8px;
  min-width: 0;
}

.wifi-btn-print {
  width: 100%;
  font-size: 0.82rem;
  padding: 9px 12px;
}

@media (max-width: 480px) {
  .wifi-download-row button {
    font-size: 0.76rem;
    padding: 9px 4px;
    gap: 5px;
  }
  .wifi-btn-print {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
}

/* Wi-Fi Image Preview Modal (iOS & Mobile Fallback) */
.wifi-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
}

.wifi-modal-content {
  position: relative;
  background: #0d1322;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 16px;
  padding: 20px 16px 14px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.15);
}

.wifi-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.wifi-modal-close:hover {
  color: #fff;
}

.wifi-modal-img-wrap {
  max-height: 65vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  width: 100%;
}

.wifi-modal-img-wrap img {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #fff;
}

.wifi-modal-hint {
  margin-top: 12px;
  margin-bottom: 2px;
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-align: center;
  font-weight: 500;
}

/* Cloudflare DNS Results List */
.dns-results-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.dns-item-row {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Open Port Checker UI */
.port-form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.port-field-host {
  flex: 7;
  min-width: 0;
}

.port-field-port {
  flex: 3;
  min-width: 95px;
}

.port-quick-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px 0 10px;
}

.port-quick-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 500;
}

.port-quick-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  padding: 2px 1px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.port-quick-list::-webkit-scrollbar {
  display: none;
}

.port-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.72rem;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
  flex-shrink: 0;
}

.port-chip-btn:hover,
.port-chip-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-1px);
}

.port-check-result-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  animation: fadeIn 0.25s ease;
}

.port-status-banner {
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.port-status-banner.loading {
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

.port-status-banner.open {
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.4);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.16);
}

.port-status-banner.closed {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.16);
}

.port-status-banner.warning {
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.15);
}

.port-status-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
}

.port-status-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.port-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.port-meta-item {
  background: rgba(0, 0, 0, 0.38);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.port-meta-item.full-width {
  grid-column: 1 / -1;
}

.port-meta-key {
  color: var(--text-dim);
  font-size: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.port-meta-val {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
  max-width: 100%;
}

@media (max-width: 360px) {
  .port-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* Reverse DNS Results UI */
.rdns-result-card {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rdns-host-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--neon-cyan);
  word-break: break-all;
  gap: 8px;
}

/* Speedtest Pro (Cloudflare Edge Engine) - Compact UI */
.speedtest-pro-card {
  padding: 14px 12px;
  gap: 10px;
}

.speed-gauge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 2px;
}

.speed-gauge-circle {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, #00f0ff 0deg, #00ff9d 180deg, #0d1829 180deg, #0d1829 360deg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.speed-gauge-circle.testing {
  animation: pulseGauge 1.8s infinite alternate ease-in-out;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

@keyframes pulseGauge {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px #00f0ff); }
  100% { transform: scale(1.03); filter: drop-shadow(0 0 18px #00ff9d); }
}

.speed-gauge-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #090d16;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6px;
}

.speed-val-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -1px;
}

.speed-val-unit {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.speed-status-text {
  font-size: 0.62rem;
  color: var(--text-dim);
  margin-top: 3px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speed-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 2px;
}

.speed-metric-box {
  background: rgba(20, 27, 43, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.st-m-label, .metric-lbl {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-dim);
}

.st-m-val, .metric-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.st-m-val small, .metric-val small {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-dim);
}

.st-m-sub, .metric-sub {
  font-size: 0.58rem;
  color: #64748b;
}

.highlight-down {
  color: var(--neon-cyan);
}

.highlight-up {
  color: var(--neon-green);
}

.speed-rating-banner {
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: var(--radius-btn);
  padding: 7px 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: fadeInTool 0.3s ease;
}

@media (max-width: 420px) {
  .speed-rating-banner {
    font-size: 0.72rem;
    padding: 6px 6px;
  }
}

/* Speedtest Server Switcher (Dark Neon Pills) */
.speed-server-switch-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  width: 100%;
}

.speed-server-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  background: rgba(13, 18, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.speed-server-btn-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flag-icon-vn {
  width: 17px;
  height: 11px;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  vertical-align: middle;
}

.speed-server-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
  color: #fff;
}

.speed-server-btn.active {
  background: rgba(0, 240, 255, 0.12) !important;
  border-color: var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25) !important;
}

@media (max-width: 380px) {
  .speed-server-btn {
    font-size: 0.68rem;
    padding: 7px 4px;
  }
  .flag-icon-vn {
    width: 15px;
    height: 10px;
  }
}

/* ==========================================================================
   5. CV TAB (PROFILE & GIT REPOSITORIES)
   ========================================================================== */
#tab-cv {
  display: none;
  flex-direction: column;
  gap: 14px;
}

/* 1. Center-Aligned Profile Header Card */
#pane-profile,
.cv-profile-card {
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: fadeInCard 0.35s ease backwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

/* Avatar Centered on Top - 120px x 120px with neon gradient ring */
.cv-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f0ff, #7000ff, #ff007b);
  animation: rotateRing 6s linear infinite;
}

.cv-avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 3px solid #090d16;
  background: #090d16;
  display: block;
}

/* Centered Name & Verified Badge */
.cv-profile-name {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  text-align: center;
}

.cv-profile-name .verified-badge {
  display: inline-flex;
  align-items: center;
  color: #00f0ff;
}

/* Centered Role Badge */
.cv-role-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.cv-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
}

/* Contact Details: 2 columns x 2 rows grid */
.cv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  width: 100%;
  max-width: 420px;
  margin: 2px auto 0 auto;
  box-sizing: border-box;
}

.cv-contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #cbd5e1;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.15s ease;
}

.cv-contact-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.cv-contact-item i {
  color: var(--neon-cyan);
  font-size: 0.88rem;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.cv-contact-link:hover {
  color: var(--neon-cyan);
}

/* Centered Social Buttons (Temporarily hidden) */
.cv-social-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  flex-wrap: wrap;
}

.cv-social-btn {
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cv-social-btn i {
  font-size: 1.05rem;
}

.cv-social-btn.telegram i { color: #2AABEE; }
.cv-social-btn.discord i { color: #5865F2; }
.cv-social-btn.github i { color: #FFFFFF; }

.cv-social-btn .zalo-text-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0068FF;
}

.cv-social-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* CV Download CTA Button — Cyber / Dark Tech / AIOps Style (Closing CTA at bottom of Profile) */
.cv-download-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.cv-download-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(112, 0, 255, 0.18) 100%);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: var(--radius-card);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 240, 255, 0.12), inset 0 0 12px rgba(0, 240, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.cv-download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: 0.6s ease;
  pointer-events: none;
}

.cv-download-btn:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.26) 0%, rgba(112, 0, 255, 0.32) 100%);
  border-color: var(--neon-cyan);
  color: #00f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.35), 0 0 18px rgba(0, 240, 255, 0.25), inset 0 0 14px rgba(0, 240, 255, 0.15);
}

.cv-download-btn:hover::before {
  left: 140%;
}

.cv-download-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 240, 255, 0.2);
}

@media (max-width: 480px) {
  .cv-download-box {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .cv-download-btn {
    font-size: 0.88rem;
    padding: 12px 16px;
  }
}

/* 2 Core Skills Tags - Single Row Equal Width */
.cv-skills-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
  box-sizing: border-box;
}

.cv-skills-tags .cv-chip {
  flex: 1;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: var(--radius-pill);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--neon-cyan);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.cv-skills-tags .cv-chip:hover {
  background: rgba(0, 240, 255, 0.16);
  border-color: rgba(0, 240, 255, 0.45);
  transform: translateY(-1px);
}

/* 2. Flattened Profile Summary Card */
.cv-summary-card {
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: fadeInCard 0.35s ease backwards;
}

.cv-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cv-projects-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mobile Responsive: below 640px */
@media (max-width: 640px) {
  #pane-profile,
  .cv-profile-card {
    padding: 24px 16px;
    gap: 14px;
  }

  .cv-profile-name {
    font-size: 1.35rem;
  }
}

@media (max-width: 420px) {
  .cv-contact-grid {
    gap: 7px 10px;
  }
  .cv-contact-item {
    font-size: 0.80rem;
    gap: 6px;
  }
  .cv-contact-item i {
    font-size: 0.82rem;
    width: 13px;
  }
  .cv-skills-tags {
    gap: 8px;
  }
  .cv-skills-tags .cv-chip {
    font-size: 0.69rem;
    padding: 6px 4px;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 360px) {
  .cv-contact-grid {
    gap: 6px 8px;
  }
  .cv-contact-item {
    font-size: 0.74rem;
    gap: 5px;
  }
  .cv-skills-tags {
    gap: 6px;
  }
  .cv-skills-tags .cv-chip {
    font-size: 0.64rem;
    padding: 5px 2px;
  }
}

/* Timeline Experience */
.cv-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 14px;
  border-left: 2px solid rgba(0, 240, 255, 0.25);
  margin-left: 6px;
  margin-top: 6px;
}

.cv-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cv-timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.cv-timeline-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
}

.cv-timeline-company {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.cv-timeline-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--neon-green);
  background: rgba(0, 255, 157, 0.1);
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 157, 0.2);
}

.cv-timeline-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-cyan);
}

.cv-timeline-desc {
  font-size: 0.76rem;
  color: var(--text-body);
  line-height: 1.45;
  margin: 0;
  padding-left: 14px;
}

.cv-timeline-desc li {
  margin-bottom: 3px;
}

/* Education List */
.cv-edu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.cv-edu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a0f1d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 10px;
}

.cv-edu-school {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.cv-edu-major {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.cv-edu-year {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.cv-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-cv-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00f0ff, #0099ff);
  color: #04070d;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.3);
  transition: all 0.2s ease;
}

.btn-cv-primary:hover {
  filter: brightness(1.1);
}

.btn-cv-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(22, 28, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-cv-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* CV Git Repository Cards (Ultra-compact horizontal single-row cards) */
.git-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  animation: fadeInCard 0.35s ease backwards;
}

.git-compact-card {
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.git-compact-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 240, 255, 0.14);
}

.git-compact-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.git-compact-icon {
  font-size: 1.15rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.git-compact-name {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.git-compact-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.git-compact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.git-compact-btn.git-btn-code {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.git-compact-btn.git-btn-code:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.git-compact-btn.git-btn-live {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.28);
}

.git-compact-btn.git-btn-live:hover {
  background: rgba(0, 240, 255, 0.2);
  color: #fff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
  transform: translateY(-1px);
}

@media (max-width: 380px) {
  .git-compact-card {
    padding: 8px 8px;
    gap: 6px;
  }
  .git-compact-name {
    font-size: 0.8rem;
  }
  .git-compact-btn {
    padding: 5px 6px;
    font-size: 0.68rem;
    gap: 3px;
  }
}

/* ==========================================================================
   6. AFFILIATE TAB (TECH PRODUCTS GRID)
   ========================================================================== */
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: fadeInCard 0.35s ease backwards;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 240, 255, 0.9);
  color: #04070d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 10px;
  text-align: center;
}

.product-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f1f5f9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.product-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--neon-amber);
  margin-top: 2px;
}

.btn-aff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #00f0ff, #0099ff);
  color: #04070d;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-aff:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(0, 240, 255, 0.45);
}

/* Subtle Admin Utility in Affiliate Pane */
.aff-admin-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0 8px;
}

.aff-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.aff-admin-link:hover {
  opacity: 1;
  color: var(--neon-cyan);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.06);
}

/* ==========================================================================
   7. CLEAN ECOSYSTEM FOOTER
   ========================================================================== */
.ecosystem-footer {
  margin-top: 24px;
  padding: 16px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-copyright-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.footer-copyright-row strong {
  color: var(--text-body);
}

/* ==========================================================================
   8. PULL-TO-REFRESH & GLOBAL TOAST FEEDBACK
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Pull-to-Refresh Indicator */
.ptr-indicator {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.ptr-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 18, 29, 0.94);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 240, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  user-select: none;
}

.ptr-icon-box {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ptr-arrow {
  color: var(--neon-cyan);
  font-size: 0.8rem;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.ptr-spinner {
  display: none;
  color: var(--neon-cyan);
  font-size: 0.82rem;
}

.ptr-text {
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

/* Threshold reached, ready to release */
.ptr-indicator.ptr-ready .ptr-pill {
  border-color: var(--neon-green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 157, 0.45);
}

.ptr-indicator.ptr-ready .ptr-arrow {
  transform: rotate(180deg);
  color: var(--neon-green);
}

.ptr-indicator.ptr-ready .ptr-text {
  color: var(--neon-green);
}

/* Refreshing (active fetch) */
.ptr-indicator.ptr-refreshing .ptr-arrow {
  display: none;
}

.ptr-indicator.ptr-refreshing .ptr-spinner {
  display: inline-block;
}

.ptr-indicator.ptr-refreshing .ptr-pill {
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 240, 255, 0.5);
}

.ptr-indicator.ptr-refreshing .ptr-text {
  color: var(--neon-cyan);
}
