
.alphatab-player {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    width: 100%;
    margin: 20px 0;
}

.at-wrap {
    width: 100%;
    height: 600px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.at-content {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
}

/** 侧边栏 **/
.at-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    max-width: 70px;
    width: auto;
    display: flex;
    align-content: stretch;
    z-index: 1001;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    background: #f7f7f7;
}

.at-sidebar:hover {
    max-width: 400px;
    transition: max-width 0.2s;
    overflow-y: auto;
}

.at-viewport {
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 70px;
    right: 0;
    bottom: 0;
    padding-right: 20px;
}

/** 页脚 - 重新设计 **/
.at-controls {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #436d9d 0%, #34495e 100%);
    color: #fff;
    padding: 8px 12px;
    height: 60px;
    align-items: center;
}

.at-controls > div {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    gap: 8px;
}

/* 所有功能按钮统一样式 - 修复居中问题 */
.at-controls .btn {
    color: #fff;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-direction: column;
    position: relative;
    height: 40px;
    min-width: 40px;
    font-size: 14px;
    display: flex;
    align-items: center; /* 水平居中 */
    justify-content: center; /* 垂直居中 */
    text-align: center;
    padding: 4px 6px;
    margin: 0 1px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.at-controls .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.at-controls .btn.disabled {
    cursor: not-allowed;
    opacity: 0.4;
    background: rgba(255, 255, 255, 0.05);
}

.at-controls .btn.disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
}

/* 按钮激活状态样式 */
.at-controls .btn.active {
    background: rgba(52, 152, 219, 0.6);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.at-controls .btn.active:hover {
    background: rgba(52, 152, 219, 0.7);
}

.at-controls .btn i {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    margin-bottom: 2px;
}

.at-controls .btn .btn-label {
    font-size: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* 弹出窗口样式 */
.at-zoom-popup,
.at-layout-popup,
.at-bpm-popup {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #2c3e50;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1003;
    min-width: 120px;
    display: none;
}

.at-zoom-popup.show,
.at-layout-popup.show,
.at-bpm-popup.show {
    display: block;
}

.at-zoom-popup::after,
.at-layout-popup::after,
.at-bpm-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: #2c3e50;
}

.at-zoom-options,
.at-layout-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.at-zoom-option,
.at-layout-option {
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    font-size: 12px;
}

.at-zoom-option:hover,
.at-layout-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.at-zoom-option.active,
.at-layout-option.active {
    background: rgba(52, 152, 219, 0.6);
}

.at-bpm-slider-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.at-bpm-value {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.at-bpm-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.at-bpm-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.at-bpm-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.at-bpm-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* 倒计时可视化 */
.at-countdown-overlay {
    position: absolute;
    top: 0;
    left: 70px;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000;
    display: none;
}

.at-countdown-dots {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.at-countdown-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e74c3c;
    opacity: 0.3;
    transition: all 0.1s ease;
}

.at-countdown-dot.active {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px #e74c3c;
}

.at-song-title {
    font-weight: bold;
    font-size: 13px;
    color: #fff;
}

.at-song-artist {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 6px;
}

.at-song-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 12px;
}

.at-song-position {
    font-size: 11px;
    opacity: 0.9;
    margin-left: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
}

.at-player-progress {
    font-size: 11px;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    margin: 0 8px;
}

/* 加载覆盖层样式 - 居中显示 */
.at-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.at-overlay-content {
    text-align: center;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    padding: 30px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 300px;
    animation: fadeInScale 0.5s ease-out;
}

.at-overlay-content::before {
    content: '⏳';
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    animation: spin 1.5s linear infinite;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* 加载覆盖层样式 - 居中显示 */
.at-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.at-overlay-content {
    text-align: center;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    padding: 30px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 300px;
    animation: fadeInScale 0.5s ease-out;
}

.at-overlay-content::before {
    content: '⏳';
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    animation: spin 1.5s linear infinite;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* AlphaTab 光标和选择样式 - 确保不被覆盖 */
.at-cursor-bar {
    /* 定义当小节播放时小节背景的颜色 */
    background: rgba(255, 242, 0, 0.25) !important;
}

.at-selection div {
    /* 定义选择背景的颜色 */
    background: rgba(64, 64, 255, 0.1) !important;
}

.at-cursor-beat {
    /* 定义节拍光标 */
    background: rgba(64, 64, 255, 0.75) !important;
    width: 3px !important;
}

.at-highlight * {
    /* 定义音乐符号在播放时的颜色 (svg) */
    fill: #0078ff !important;
    stroke: #0078ff !important;
}

/* 音轨选择器样式 - 确保可点击 */
.at-track {
    display: flex;
    position: relative;
    padding: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1002; /* 确保在覆盖层之上 */
    align-items: center;
}

.at-track:hover {
    background: rgba(67, 109, 157, 0.1);
    transform: translateX(2px);
}

.at-track > .at-track-icon,
.at-track > .at-track-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.at-track > .at-track-icon {
    flex-shrink: 0;
    font-size: 32px;
    opacity: 0.5;
    transition: all 0.2s ease;
    width: 64px;
    height: 64px;
    margin-right: 8px;
    align-items: center;
}

.at-track-name {
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
    flex: 1;
}

.at-track:hover > .at-track-icon {
    opacity: 0.8;
    transform: scale(1.05);
}

.at-track.active {
    background: rgba(67, 109, 157, 0.15);
    border-left: 3px solid #436d9d;
}

.at-track.active > .at-track-icon {
    color: #436d9d;
    opacity: 1;
}

.at-track > .at-track-name {
    font-weight: 600;
}

/* 音轨控制面板样式 - 优化布局和交互 */
.at-track-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.at-track:hover .at-track-controls {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.at-track-volume-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    position: relative;
}

.at-track-volume {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #e0e0e0, #e0e0e0);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    margin: 2px 0;
    position: relative;
    overflow: visible;
}

.at-track-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.4);
    border: 3px solid white;
    transition: all 0.2s ease;
}

.at-track-volume::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.6);
}

.at-track-volume::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.4);
}

.at-track-volume::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* 音量滑块轨道进度显示 */
.at-track-volume::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(to right, #3498db 0%, #3498db var(--volume-percent, 100%), #e0e0e0 var(--volume-percent, 100%), #e0e0e0 100%);
    border-radius: 3px;
}

.at-track-volume::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(to right, #3498db 0%, #3498db var(--volume-percent, 100%), #e0e0e0 var(--volume-percent, 100%), #e0e0e0 100%);
    border-radius: 3px;
}

.at-track-volume-value {
    font-size: 11px;
    color: #2c3e50;
    font-weight: bold;
    text-align: center;
    min-width: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.at-track-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.at-track-solo,
.at-track-mute {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 12px;
    color: #495057;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.at-track-solo:hover,
.at-track-mute:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.at-track-solo:active,
.at-track-mute:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.at-track-solo.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-color: #c0392b;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.at-track-mute.active {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    border-color: #7f8c8d;
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.4);
}

.at-track-solo i,
.at-track-mute i {
    font-size: 13px;
    font-weight: bold;
}

/* 按钮图标和文字样式 */
.at-track-solo:not(.active) i::before {
    content: "S";
    font-weight: bold;
}

.at-track-mute:not(.active) i::before {
    content: "M";
    font-weight: bold;
}

.at-track-solo.active i::before {
    content: "✓";
}

.at-track-mute.active i::before {
    content: "✗";
}

/* 音量滑块工具提示 */
.at-track-volume-container::before {
    content: '音量';
    position: absolute;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1003;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.at-track-volume-container:hover::before {
    opacity: 1;
    top: -40px;
}

/* 按钮工具提示 */
.at-track-solo::after,
.at-track-mute::after {
    content: attr(title);
    position: absolute;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1003;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.at-track-solo:hover::after,
.at-track-mute:hover::after {
    opacity: 1;
    top: -45px;
}

/* 编辑器中的预览样式 */
.alphatab-block-editor {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed #ccc;
}

.alphatab-placeholder h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.alphatab-placeholder p {
    color: #7f8c8d;
    margin: 5px 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .alphatab-player {
        font-size: 10px;
    }
    
    .at-wrap {
        height: 500px;
        border-radius: 4px;
    }
    
    .at-controls {
        flex-direction: column;
        padding: 6px;
        gap: 6px;
        height: auto;
        min-height: 80px;
    }
    
    .at-controls > div {
        justify-content: center;
        margin-bottom: 4px;
        flex-wrap: wrap;
    }
    
    .at-sidebar {
        max-width: 50px;
    }
    
    .at-sidebar:hover {
        max-width: 250px;
    }
    
    .at-viewport {
        left: 50px;
        padding-right: 10px;
    }
    
    .at-song-info {
        margin: 0 6px;
        order: -1;
        width: 100%;
        text-align: center;
        align-items: center;
        margin-bottom: 4px;
    }
    
    .at-song-position {
        margin-left: 6px;
        font-size: 10px;
    }
    
    /* 移动端按钮调整 */
    .at-controls .btn {
        height: 36px;
        min-width: 36px;
        font-size: 12px;
        margin: 1px;
    }
    
    .at-controls .btn i {
        font-size: 13px;
        margin-bottom: 1px;
    }
    
    .at-controls .btn .btn-label {
        font-size: 9px;
    }
    
    /* 移动端调整歌曲信息显示 */
    .at-song-title {
        font-size: 12px;
    }
    
    .at-song-artist {
        font-size: 10px;
    }
    
    .at-player-progress {
        font-size: 10px;
        margin: 0 4px;
    }
    
    /* 移动端弹出窗口调整 */
    .at-zoom-popup,
    .at-layout-popup,
    .at-bpm-popup {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .at-zoom-popup::after,
    .at-layout-popup::after,
    .at-bpm-popup::after {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* 移动端倒计时位置调整 */
    .at-countdown-overlay {
        left: 50px;
    }
    
    /* 移动端音轨选择器调整 */
    .at-track {
        padding: 6px;
    }
    
    .at-track > .at-track-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 6px;
    }
    
    /* 移动设备隐藏特定按钮 */
    .at-controls .at-count-in,
    .at-controls .at-metronome,
    .at-controls .at-loop,
    .at-controls .at-bpm,
    .at-controls .at-zoom,
    .at-controls .at-layout {
        display: none !important;
    }
    
    /* 移动设备隐藏侧边栏 */
    .at-sidebar {
        display: none !important;
    }
    
    /* 移动设备调整视口位置 */
    .at-viewport {
        left: 0 !important;
        padding-right: 0;
        padding-left: 5px;
    }
    
    /* 移动设备调整控制面板布局 */
    .at-controls-right {
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 5px;
    }
    
    /* 移动设备按钮更紧凑 */
    .at-controls .btn {
        min-width: 32px;
        height: 32px;
        font-size: 10px;
        margin: 0 2px;
    }
    
    .at-controls .btn i {
        font-size: 12px;
    }
    
    .at-controls .btn .btn-label {
        font-size: 8px;
    }
    
    /* 移动设备歌曲信息优化 */
    .at-song-title {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
    
    .at-song-artist {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .at-wrap {
        height: 400px;
    }
    
    .at-viewport {
        left: 40px;
    }
    
    .at-sidebar {
        max-width: 40px;
    }
    
    .at-track > .at-track-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .at-controls {
        padding: 4px;
    }
    
    .at-controls > div {
        gap: 4px;
    }
    
    .at-controls .btn {
        height: 32px;
        min-width: 32px;
        font-size: 11px;
    }
    
    .at-controls .btn i {
        font-size: 12px;
    }
    
    .at-controls .btn .btn-label {
        font-size: 8px;
    }
    
    .at-countdown-overlay {
        left: 40px;
    }
    
    /* 超小屏幕隐藏部分元素 */
    .at-player-progress,
    .at-song-artist {
        display: none;
    }
}

/* 针对横屏手机的优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .at-wrap {
        height: 300px;
    }
    
    .at-controls {
        min-height: 60px;
        padding: 4px;
    }
    
    .at-controls .btn {
        height: 32px;
        min-width: 32px;
    }
}

/* 针对平板设备的优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .at-wrap {
        height: 500px;
    }
    
    .at-controls .btn {
        height: 38px;
        min-width: 38px;
    }
}

/* 移动设备特定样式（通过JavaScript检测） */
.at-mobile-device .at-controls .at-count-in,
.at-mobile-device .at-controls .at-metronome,
.at-mobile-device .at-controls .at-loop,
.at-mobile-device .at-controls .at-bpm,
.at-mobile-device .at-controls .at-zoom,
.at-mobile-device .at-controls .at-layout {
    display: none !important;
}

.at-mobile-device .at-sidebar {
    display: none !important;
}

.at-mobile-device .at-viewport {
    left: 0 !important;
    padding-right: 0;
    padding-left: 5px;
}

.at-mobile-device .at-controls-right {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 5px;
}

.at-mobile-device .at-controls .btn {
    min-width: 32px;
    height: 32px;
    font-size: 10px;
    margin: 0 2px;
}

.at-mobile-device .at-controls .btn i {
    font-size: 12px;
}

.at-mobile-device .at-controls .btn .btn-label {
    font-size: 8px;
}

.at-mobile-device .at-song-title {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.at-mobile-device .at-song-artist {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

/* 移动设备特定样式（通过JavaScript检测） */
.at-mobile-device .at-controls .at-count-in,
.at-mobile-device .at-controls .at-metronome,
.at-mobile-device .at-controls .at-loop,
.at-mobile-device .at-controls .at-bpm,
.at-mobile-device .at-controls .at-zoom,
.at-mobile-device .at-controls .at-layout {
    display: none !important;
}

.at-mobile-device .at-sidebar {
    display: none !important;
}

.at-mobile-device .at-viewport {
    left: 0 !important;
    padding-right: 0;
    padding-left: 5px;
}

.at-mobile-device .at-controls-right {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 5px;
}

.at-mobile-device .at-controls .btn {
    min-width: 32px;
    height: 32px;
    font-size: 10px;
    margin: 0 2px;
}

.at-mobile-device .at-controls .btn i {
    font-size: 12px;
}

.at-mobile-device .at-controls .btn .btn-label {
    font-size: 8px;
}

.at-mobile-device .at-song-title {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.at-mobile-device .at-song-artist {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}
