.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: inherit;
    padding: 0 8px;
    transition: transform 0.3s ease;
}

.theme-btn:hover {
    transform: rotate(15deg);
}


.accessibility-floating {
    position: fixed;
    top: 160px;
    right: 50px;
    z-index: 9999;
}



.accessibility-main-button {
    background-color: #007bff;
    /* 蓝色圆背景 */
    color: #fff;
    /* 小人图标白色 */
    border: none;
    border-radius: 50%;
    /* 圆形 */
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.accessibility-main-button:hover {
    transform: none;
    /* 取消倾斜 */
    background-color: #0056b3;
    /* 悬浮深蓝 */
}

.accessibility-menu {
    display: none;
    /* 默认隐藏 */
    position: absolute;
    top: 100%;
    /* 紧贴按钮下方 */
    right: 0;
    /* 靠右对齐 */
    flex-direction: column;
    /* 纵向排列 */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.accessibility-menu a,
.accessibility-menu button {
    display: block;
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
}

.accessibility-menu a:hover,
.accessibility-menu button:hover {
    background-color: #f0f0f0;
}

.accessibility-item {
    list-style: none;
}


/* 字体限制 */
.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* 去动画模式 */
.reduce-motion * {
    transition: none !important;
    animation: none !important;
}



/* 表单screen read accessibilite only */
.form-inscription-group {
  position: relative;
}


/* 真正的无占位屏幕阅读器隐藏 !important优先级标记*/
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 返回顶部按钮样式 */
#backtotop {
    position: fixed;
    bottom: 20px;
    right: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #c98643;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0.7;
}

#backtotop:hover {
    opacity: 1;
}



