/* 自定义 iOS 风格开关 */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  margin: 0 10px;
  vertical-align: middle;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.ios-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .ios-slider {
  background-color: #4cd964;
}

input:checked + .ios-slider:before {
  transform: translateX(22px);
}

/* 添加焦点样式 */
input:focus + .ios-slider {
  box-shadow: 0 0 1px #4cd964;
}

/* 禁用状态 */
input:disabled + .ios-slider {
  background-color: #e6e6e6;
  cursor: not-allowed;
}

/* 标签样式 */
.ios-label {
  vertical-align: middle;
  font-size: 16px;
  margin-right: 5px;
}

.glassbg {
  background-color: hsla(0, 0%, 60%, 0.0);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1.3rem;
  opacity: 1;
  transition: 0.24s ease;

  

}
 
 @font-face {
    font-family: "Nunito";
    src:  url("../fonts/Nunito-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
  }
body {
 font-family:-apple-system,Nunito,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;
 

}
 #bg-wrap{
position: absolute;
width: 100%;
height: 100%;
 }


/* 根据主题自动应用 */
@media (prefers-color-scheme: dark) {
  .tag:not(.is-light) {
    background-color: #363636;
    color: #f5f5f5;
  }
}

[data-theme="dark"] .tag:not(.is-light),
.theme-dark .tag:not(.is-light) {
  background-color: #363636;
  color: #f5f5f5;
}

 