/* 语音朗读浮动按钮 */
#a11y-speech-wrap {
    position: fixed;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 9998;
    opacity: 0.35;
    transition: right .25s, opacity .25s;
}
#a11y-speech-wrap:hover,
#a11y-speech-wrap.reading {
    right: 0;
    opacity: 1;
}
#a11y-speech {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #4a6cf7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 12px rgba(74,108,247,.35);
    transition: all .2s;
}
#a11y-speech:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(74,108,247,.5);
}
#a11y-speech.active {
    background: #3555d4;
    animation: a11y-pulse 1.5s infinite;
}
@keyframes a11y-pulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(74,108,247,.35); }
    50% { box-shadow: 0 2px 24px rgba(74,108,247,.6); }
}
.a11y-icon {
    display: block;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
.speech-shortcut-hint {
    font-size: 11px;
    color: #4a6cf7;
    background: rgba(255,255,255,.95);
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    pointer-events: none;
}
@media (max-width: 768px) {
    .speech-shortcut-hint { display: none }
}

