.devicebar-wrap {
    margin: 0 0 6px 0;
}

.devicebar-track {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    min-height: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, #2f343d 0%, #14181f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.35);
    color: #f5f7fa;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.devicebar-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px 2px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.devicebar-chip-phone {
    background: linear-gradient(180deg, #20262f 0%, #0f131a 100%);
}

.devicebar-chip-console {
    background: linear-gradient(180deg, #2f7bc5 0%, #1f4c91 100%);
    border-color: rgba(133, 194, 255, 0.7);
}

.devicebar-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 9px;
}

.devicebar-chip-console .devicebar-chip-icon {
    background: rgba(22, 30, 57, 0.45);
}

.devicebar-chip-text {
    color: #f2f6ff;
}

.devicebar-specs {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffd787;
    text-shadow: 0 0 5px rgba(255, 186, 76, 0.38);
}

.devicebar-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.1px;
}

.devicebar-spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(80, 162, 255, 0.28);
    color: #a9d2ff;
    font-size: 9px;
}

.devicebar-spec-gpu,
.devicebar-spec-ram,
.devicebar-spec-cpu {
    background-image: linear-gradient(90deg, #ff7f50 0%, #ffd54f 25%, #7ef9ff 50%, #9b8cff 75%, #ff7f50 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: devicebar-rgb-shift 6s linear infinite;
}

.devicebar-sep {
    color: rgba(255, 221, 147, 0.95);
    text-shadow: 0 0 5px rgba(255, 196, 93, 0.5);
}

@media (max-width: 700px) {
    .devicebar-wrap {
        margin-bottom: 5px;
    }

    .devicebar-track {
        gap: 6px;
        min-height: 22px;
        padding: 2px 6px;
        font-size: 9px;
    }

    .devicebar-chip {
        gap: 4px;
        padding: 2px 7px 2px 5px;
    }

    .devicebar-chip-icon,
    .devicebar-spec-icon {
        width: 12px;
        height: 12px;
        font-size: 8px;
    }
}

@keyframes devicebar-rgb-shift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 220% 50%;
    }
}
