/* 配色面板样式 */
.color-tool-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.color-tool-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 36px;
}

/* 色系分组 */
.palette-group {
    margin-bottom: 45px;
}

.group-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-left: 8px;
    border-left: 4px solid #222;
}

/* 颜色网格 */
.color-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.color-card {
    height: 150px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    cursor: pointer;
    transition: all 0.28s ease;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.color-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.color-code {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 3px;
}

.color-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.color-card.light .color-code,
.color-card.light .color-name {
    color: #222;
    text-shadow: none;
}

/* 复制提示 */
.color-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    z-index: 9999;
}

.color-toast.show {
    opacity: 1;
    bottom: 50px;
}