* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}
body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  min-height: 100vh;
  transition: all 0.3s ease;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 600 1200' preserveAspectRatio='none'%3E%3C!-- 多条上升趋势K线 --%3E%3Cpath d='M0 1100 Q80 1080, 120 1020 T200 900 T300 750 T400 550 T500 350 T600 180' stroke='%234FC3F7' stroke-width='3' fill='none' opacity='0.15'/%3E%3Cpath d='M0 1120 Q80 1100, 120 1040 T200 920 T300 770 T400 570 T500 370 T600 200' stroke='%231a73e8' stroke-width='2' fill='none' opacity='0.1'/%3E%3Cpath d='M0 1080 Q80 1060, 120 1000 T200 880 T300 730 T400 530 T500 330 T600 160' stroke='%23fff' stroke-width='1' fill='none' opacity='0.08'/%3E%3C!-- 红色上涨蜡烛图（更多） --%3E%3Crect x='480' y='180' width='14' height='55' fill='%23e43223' opacity='0.35'/%3E%3Cline x1='487' y1='150' x2='487' y2='260' stroke='%23e43223' stroke-width='2' opacity='0.4'/%3E%3Crect x='440' y='220' width='14' height='45' fill='%23e43223' opacity='0.32'/%3E%3Cline x1='447' y1='190' x2='447' y2='290' stroke='%23e43223' stroke-width='2' opacity='0.38'/%3E%3Crect x='400' y='280' width='14' height='50' fill='%23e43223' opacity='0.32'/%3E%3Cline x1='407' y1='250' x2='407' y2='355' stroke='%23e43223' stroke-width='2' opacity='0.38'/%3E%3Crect x='360' y='350' width='14' height='48' fill='%23e43223' opacity='0.3'/%3E%3Cline x1='367' y1='320' x2='367' y2='420' stroke='%23e43223' stroke-width='2' opacity='0.35'/%3E%3Crect x='320' y='420' width='14' height='52' fill='%23e43223' opacity='0.32'/%3E%3Cline x1='327' y1='390' x2='327' y2='495' stroke='%23e43223' stroke-width='2' opacity='0.38'/%3E%3Crect x='280' y='500' width='14' height='58' fill='%23e43223' opacity='0.3'/%3E%3Cline x1='287' y1='470' x2='287' y2='580' stroke='%23e43223' stroke-width='2' opacity='0.35'/%3E%3Crect x='240' y='580' width='14' height='50' fill='%23e43223' opacity='0.32'/%3E%3Cline x1='247' y1='550' x2='247' y2='655' stroke='%23e43223' stroke-width='2' opacity='0.38'/%3E%3C!-- 绿色下跌蜡烛图（较少） --%3E%3Crect x='200' y='650' width='14' height='40' fill='%231a73e8' opacity='0.3'/%3E%3Cline x1='207' y1='630' x2='207' y2='710' stroke='%231a73e8' stroke-width='2' opacity='0.35'/%3E%3Crect x='160' y='720' width='14' height='35' fill='%231a73e8' opacity='0.28'/%3E%3Cline x1='167' y1='700' x2='167' y2='775' stroke='%231a73e8' stroke-width='2' opacity='0.32'/%3E%3C!-- 继续红色上涨蜡烛 --%3E%3Crect x='120' y='780' width='14' height='55' fill='%23e43223' opacity='0.3'/%3E%3Cline x1='127' y1='750' x2='127' y2='855' stroke='%23e43223' stroke-width='2' opacity='0.35'/%3E%3Crect x='80' y='860' width='14' height='48' fill='%23e43223' opacity='0.28'/%3E%3Cline x1='87' y1='830' x2='87' y2='930' stroke='%23e43223' stroke-width='2' opacity='0.32'/%3E%3Crect x='40' y='940' width='14' height='52' fill='%23e43223' opacity='0.25'/%3E%3Cline x1='47' y1='910' x2='47' y2='1010' stroke='%23e43223' stroke-width='2' opacity='0.3'/%3E%3C!-- 数字小键盘水晶键帽 --%3E%3Crect x='30' y='1050' width='35' height='28' rx='4' fill='%23fff' opacity='0.08'/%3E%3Crect x='70' y='1050' width='35' height='28' rx='4' fill='%23fff' opacity='0.06'/%3E%3Crect x='110' y='1050' width='35' height='28' rx='4' fill='%234FC3F7' opacity='0.08'/%3E%3Crect x='30' y='1083' width='35' height='28' rx='4' fill='%23fff' opacity='0.07'/%3E%3Crect x='70' y='1083' width='35' height='28' rx='4' fill='%23fff' opacity='0.05'/%3E%3Crect x='110' y='1083' width='35' height='28' rx='4' fill='%234FC3F7' opacity='0.07'/%3E%3Crect x='30' y='1116' width='35' height='28' rx='4' fill='%23fff' opacity='0.06'/%3E%3Crect x='70' y='1116' width='35' height='28' rx='4' fill='%23fff' opacity='0.04'/%3E%3Crect x='110' y='1116' width='35' height='28' rx='4' fill='%234FC3F7' opacity='0.06'/%3E%3Crect x='30' y='1149' width='78' height='28' rx='4' fill='%23fff' opacity='0.07'/%3E%3Crect x='113' y='1149' width='32' height='28' rx='4' fill='%234FC3F7' opacity='0.08'/%3E%3C!-- 右侧独立数字键盘 --%3E%3Crect x='520' y='850' width='30' height='25' rx='3' fill='%23fff' opacity='0.06'/%3E%3Crect x='520' y='880' width='30' height='25' rx='3' fill='%23fff' opacity='0.05'/%3E%3Crect x='520' y='910' width='30' height='25' rx='3' fill='%23fff' opacity='0.04'/%3E%3Crect x='520' y='940' width='30' height='25' rx='3' fill='%234FC3F7' opacity='0.07'/%3E%3Crect x='520' y='1000' width='30' height='70' rx='3' fill='%234FC3F7' opacity='0.08'/%3E%3C!-- 科技网格 --%3E%3Cline x1='0' y1='300' x2='600' y2='300' stroke='%231a73e8' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='0' y1='600' x2='600' y2='600' stroke='%231a73e8' stroke-width='0.5' opacity='0.08'/%3E%3Cline x1='0' y1='900' x2='600' y2='900' stroke='%231a73e8' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='150' y1='0' x2='150' y2='1200' stroke='%231a73e8' stroke-width='0.5' opacity='0.04'/%3E%3Cline x1='300' y1='0' x2='300' y2='1200' stroke='%231a73e8' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='450' y1='0' x2='450' y2='1200' stroke='%231a73e8' stroke-width='0.5' opacity='0.04'/%3E%3C!-- 光晕效果 --%3E%3Cellipse cx='300' cy='600' rx='200' ry='300' fill='%231a73e8' opacity='0.02'/%3E%3Cellipse cx='150' cy='300' rx='100' ry='100' fill='%234FC3F7' opacity='0.02'/%3E%3Cellipse cx='450' cy='900' rx='80' ry='120' fill='%23e43223' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  background-size: cover;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.detection-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}
.detection-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: 1000;
  text-shadow: 0 2px 10px rgba(26, 115, 232, 0.3);
}
.detection-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}
.progress-container {
  margin: 20px 0;
}
.progress-bar {
  height: 16px;
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.progress {
  height: 100%;
  background: linear-gradient(90deg, #1a73e8, #e43223);
  width: 0%;
  transition: width 0.5s ease;
}
.status-text {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, #e81a1a, #d5766e);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(232, 26, 26, 0.4);
}
.btn:hover {
  background: #e81a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 26, 26, 0.5);
}
.btn:disabled {
  background-color: #9e9e9e;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.main-page {
  display: none;
  height: 100vh;
  background: transparent;
}
.sidebar {
  width: 220px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  height: 100%;
  position: fixed;
  padding: 20px 0;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 0 12px 12px 0;
}
.sidebar-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}
.sidebar-title {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 500;
}
.sidebar-menu {
  list-style: none;
}
.menu-item {
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  color: #e0e0e0;
}
.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.menu-item.active {
  background-color: rgba(26, 115, 232, 0.3);
  color: #fff;
  border-left: 3px solid #1a73e8;
}
.content-area {
  margin-left: 220px;
  padding: 25px;
  width: calc(100% - 220px);
  background: transparent;
}
.content-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.keyboard-section {
  display: block;
}
.keyboard-layout {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin: 0 auto;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}
.keyboard-row {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  gap: 12px;
}
.key {
  width: 100px;
  min-width: 100px;
  height: 70px;
  min-height: 70px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  font-size: 14px;
  text-align: center;
  color: #333;
}
.key[span="2"] {
  min-width: 210px;
  width: 210px;
}
.key[height="2"] {
  min-height: 152px;
  height: 152px;
  position: relative;
}
/* .keyboard-row:nth-child(4) {
  margin-bottom: 0;
} */
/* .keyboard-row:nth-child(4) .key {
  margin-top: -82px;
} */
/* .keyboard-row:nth-child(4) .key:nth-child(4) {
  opacity: 0;
  pointer-events: none;
} */
.keyboard-row:nth-child(6) .key {
  margin-top: -82px;
}
.keyboard-row:nth-child(6) .key:nth-child(4) {
  opacity: 0;
  pointer-events: none;
}
.keyboard-row:nth-child(5) .key[height="2"] {
  order: 4;
}
.key:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.key-name {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 15px;
  white-space: pre-line;
  color: #fff;
}
.key[data-key="Key1"] .key-name,
.key[data-key="Key2"] .key-name,
.key[data-key="Key3"] .key-name,
.key[data-key="Key4"] .key-name,
.key[data-key="Key5"] .key-name,
.key[data-key="Key6"] .key-name,
.key[data-key="Key7"] .key-name,
.key[data-key="Key8"] .key-name,
.key[data-key="Key9"] .key-name,
.key[data-key="Key10"] .key-name,
.key[data-key="Key11"] .key-name {
  color: #000;
}
.key-remark {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 5px;
  word-break: break-all;
  height: 0;
  opacity: 0;
}
.keyboard-row.highlighted .key {
  background: rgba(26, 115, 232, 0.15);
  border-color: #1a73e8;
  color: #1a73e8;
}
.keyboard-row.dimmed .key {
  background-color: #f1f3f4;
  border-color: #dadce0;
  color: #9aa0a6;
  opacity: 0.6;
  cursor: not-allowed;
}
.mapping-controls {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}
.control-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}
.select-preset {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: #fff;
  font-size: 14px;
  transition: all 0.2s;
}
.select-preset:focus {
  border-color: #1a73e8;
  outline: 0;
  background-color: #fff;
}
.action-buttons {
  display: flex;
  gap: 12px;
}
.btn-save {
  background-color: #e43223;
  box-shadow: 0 2px 4px rgba(52, 168, 83, 0.2);
}
.btn-save:hover {
  background-color: #1567d3;
}
.btn-reset {
  background-color: #ea4335;
  box-shadow: 0 2px 4px rgba(234, 67, 53, 0.2);
}
.btn-reset:hover {
  background-color: #d33426;
}
.trading-section {
  display: none;
}
.trading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.trading-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
}
.trading-card-title {
  font-weight: 500;
  margin-bottom: 10px;
  color: #1a73e8;
}
.trading-option {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #e0e0e0;
}
.lighting-section {
  display: none;
}
.lighting-controls {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}
.lighting-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}
.lighting-select {
  width: 200px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #000;
  backdrop-filter: blur(10px);
}
.reset-section {
  display: none;
}
.reset-warning {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 25px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  text-align: center;
}
.reset-icon {
  font-size: 48px;
  color: #ea4335;
  margin-bottom: 15px;
}
.reset-text {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px;
  border-radius: 16px;
  width: 1000px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
}
.modal-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #000;
  font-weight: 500;
}
.modal-body {
  margin-bottom: 25px;
  color: #fff;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
#fullConfigList {
  max-height: 400px;
  overflow-y: auto;
}
.config-table {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
}
.config-table td,
.config-table th {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
  color: #fff;
}
.config-table th {
  background-color: #f2f2f2;
  font-weight: 700;
}
.group-row th {
  background-color: #ccc;
  font-size: 1.1rem;
}
.key-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  background-color: #f8f9fa;
  transition: all 0.2s;
  position: absolute;
  top: -10px;
  left: 0;
  height: 0;
  padding: 0;
}
.key-input:focus {
  border-color: #1a73e8;
  outline: 0;
  background-color: #fff;
}
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .content-area {
    margin-left: 0;
    width: 100%;
  }
  .key {
    width: 80px;
    height: 60px;
    font-size: 13px;
  }
  .key-name {
    font-size: 14px;
  }
  .key-remark {
    font-size: 11px;
  }
  .trading-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .key {
    width: 70px;
    height: 50px;
    font-size: 12px;
  }
  .key-name {
    font-size: 13px;
  }
  .key-remark {
    font-size: 10px;
  }
  .trading-grid {
    grid-template-columns: 1fr;
  }
}
.config-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.config-table td,
.config-table th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.config-table th {
  background-color: #f2f2f2;
  font-weight: 700;
}
.group-row th {
  background-color: #ccc;
  font-size: 1.1rem;
}
.lighting-option {
  margin-bottom: 20px;
}
.lighting-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
.lighting-select,
.lighting-slider {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.lighting-slider {
  margin-bottom: 5px;
}
.action-buttons {
  margin-top: 20px;
}
.stock-keyboard-select-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.stock-keyboard-select-dialog {
  background: #fff;
  border-radius: 8px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.stock-keyboard-select-dialog-header {
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
}
.stock-keyboard-select-dialog-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.stock-keyboard-select-dialog-body {
  padding: 24px;
}
.stock-keyboard-select-dialog-body p {
  margin: 0 0 16px 0;
  color: #333;
}
.stock-keyboard-dialog-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
.stock-keyboard-select-dialog-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.stock-keyboard-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.stock-keyboard-btn-primary {
  background-color: #007bff;
  color: #fff;
}
.stock-keyboard-btn-secondary {
  background-color: #6c757d;
  color: #fff;
}
.stock-keyboard-btn:hover {
  opacity: 0.9;
}
.tr-selected {
  background-color: #007bff;
  color: #fff;
}
.key-input2 {
  width: 300px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  height: 40px;
  margin-top: 10px;
}
.key-input2:focus {
  border-color: #1a73e8;
  outline: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}
.global-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}
.global-loading-content {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}
.global-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #e81a1a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.global-loading-text {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}
.appIcons {
  display: flex;
  justify-content: center;
  width: 800px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
}
.appIcons > div {
  flex: 1;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  transition: all 0.3s;
}
.appIcons > div:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}
.appIcons img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ========== 性能模式按钮 ========== */
.perf-btn {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  min-width: 110px;
  text-align: center;
}
.perf-btn:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}
.perf-btn.active {
  background: rgba(26,115,232,0.35);
  border-color: rgba(26,115,232,0.5);
  color: #fff;
  box-shadow: 0 2px 12px rgba(26,115,232,0.3);
}
