@charset "GB18030";
.container {
position: relative;
}
.yanse { margin: 0 auto; }
.card { background-color:#FBFFFD; }
.card-grid { 
display: grid; 
grid-template-columns: 1fr; 
}
.color-section { width: 100%; border: none !important; 
outline: none !important; } 
.color-input-wrapper { position: relative; width: 100%;height: 100%; border: none !important; 
outline: none !important;}
.color-input { 
width: 100%; height: 100%; cursor: pointer; border: none !important; 
outline: none !important; 
-webkit-appearance: none; -moz-appearance: none; appearance: none;
background: #3eede7; 
transition: background-color 0.3s ease;
border-radius: 0 !important;
-webkit-tap-highlight-color: transparent;
}
input[type="color"],
input[type="color"]::-webkit-color-swatch-wrapper,
input[type="color"]::-webkit-color-swatch,
input[type="color"]::-moz-color-swatch,
input[type="color"]::-moz-focus-inner {
border-radius: 0 !important;
border: none !important;
outline: none !important;
padding: 0 !important;
margin: 0 !important;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
input[type="color"] {
-webkit-appearance: none;
appearance: none;
border: none;
outline: none;
}
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
border: none;
}
input[type="color"]::-webkit-color-swatch {
border: none;
border-radius: 0;
}
}
.formats-section { width: 100%; }
.section-title { font-size: 1.125rem; font-weight: 600; color: #66B580; margin-bottom: 1rem;line-height: 1.2;  }
.format-item { 
background: #f9fafb; 
padding: 1rem; 
display: flex; 
align-items: center; 
justify-content: space-between; 
cursor: pointer; 
transition: background 0.15s;
position: relative; 
overflow: hidden; 
-webkit-touch-callout: none; 
-webkit-user-select: none; 
-webkit-tap-highlight-color: transparent; 
}
.format-item:hover { 
background: #f3f4f6; 
}
.format-item > div:first-child {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center; 
width: 100%; 
text-align: center;
}
.format-label { 
font-size: 0.875rem; 
color: #77ADFF; 
margin-bottom: 0.25rem; 
display: flex;
align-items: center;
justify-content: center;
height: 100%; 
line-height: 1.2; 
}
.format-value { 
font-family: ui-monospace, monospace; 
font-size: 0.875rem; 
font-weight: 500; 
color: #66B580; 
margin-bottom: 0.25rem;
display: flex;
align-items: center;
justify-content: center;
height: 100%; 
line-height: 1.2; 
text-align: center;
word-break: break-word; 
}
.format-content {
flex: 1;
}
.format-item .checkmark { 
position: absolute; 
top: 0; 
right: 0; 
bottom: 0; 
left: 0; 
display: flex; 
align-items: center; 
justify-content: center; 
background: rgba(0, 0, 0, 0.2); 
transform: scale(0); 
transition: transform 0.2s ease;
z-index: 1; 
}
.format-item .checkmark::after {
content: "已复制";
color: white;
font-size: 1.5rem;
font-weight: bold;
}
.preset-btn { 
border: none; 
}
.preset-btn .checkmark { 
position: absolute; 
top: 0; 
right: 0; 
bottom: 0; 
left: 0; 
display: flex; 
align-items: center; 
justify-content: center; 
background: rgba(0, 0, 0, 0.2); 
transform: scale(0); 
transition: transform 0.2s ease;
pointer-events: none; 
}
.preset-btn .checkmark::after {
content: "✓";
color: white;
font-size: 1.5rem;
font-weight: bold;
}
.copy-notification {
display: none !important;
}
body {
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
.presets-section { 
width: 100%; 
border-top: none; 
padding-top: 0;
}
.presets-grid { 
display: grid; 
grid-template-columns: repeat(5, minmax(0, 1fr)); 
gap: 0.75rem;
}
.preset-btn { 
width: 100%; 
aspect-ratio: 1/1; 
box-shadow: 0 1px 2px rgba(0,0,0,0.05); 
border: none; 
cursor: pointer; 
position: relative; 
overflow: hidden; 
transition: border-color 0.15s; 
min-height: 44px;
}
.checkmark { 
position: absolute; top: 0; right: 0; bottom: 0; left: 0; 
display: flex; align-items: center; justify-content: center; 
background: rgba(0,0,0,0.2); transform: scale(0); transition: transform 0.2s;
}
.copy-notification {
position: fixed; top: 20px; right: 20px; background: #10b981; color: white;
padding: 12px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
z-index: 1000; transform: translateX(120%); transition: transform 0.3s ease;
font-family: system-ui, sans-serif; font-size: 14px; font-weight: 500;
}
.copy-notification.show { transform: translateX(0); }
@media (min-width: 768px) {
.card {
margin-top: 4px;
}
.card-grid { 
grid-template-columns: 1fr 1fr; 
grid-template-areas: 
"color formats"
"presets presets"; 
gap: 4px;
}
.color-section { 
grid-area: color; 
}
.format-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 4px;
text-align: center;
touch-action: manipulation; 
}
.format-item:last-child {
margin-bottom: 0;
}
.format-item > div:first-child {
display: flex;
flex-direction: column;
align-items: center;
}
.formats-section { 
grid-area: formats; 
}
.presets-section { 
grid-area: presets; 
}
.presets-grid { 
grid-template-columns: repeat(8, minmax(0, 1fr)); 
gap: 4px;
}
.preset-btn { 
min-height: 36px; 
}
.format-item, .preset-btn {
touch-action: pan-y;
}
}
@media (min-width: 1280px) {
.container, .yanchi {
width: 1080px;
margin: 0 auto;
}
.yanse { margin:0;align-items:center;text-align:center}
.card-grid { 
grid-template-columns: 264px 264px 536px; 
grid-template-areas: "color formats presets"; 
gap: 8px; 
align-items: stretch; 
margin-top: 8px;
}
.color-section,
.formats-section,
.presets-section {
height: 100%;
display: flex;
flex-direction: column;
}
.format-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 8px;
text-align: center;
}
.format-item:last-child {
margin-bottom: 0;
}
.format-item > div:first-child {
display: flex;
flex-direction: column;
align-items: center;
}
.presets-grid {
grid-template-columns: repeat(5, 1fr); 
gap: 8px;
height: 100%; 
}
.preset-btn {
height: 100%; 
aspect-ratio: 1/1; 
min-height: auto; 
}
}
@media (max-width: 767px) {
.container {
padding: 0; 
}
.card {
margin-top: 0.2em;
padding: 0; 
}
.card-grid { 
grid-template-columns: 40% 60%; 
gap: 0.2em; 
margin: 0; 
}
.color-section, .formats-section {
height: 100%; 
display: flex;
flex-direction: column;
margin: 0; 
}
.format-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 0.2em;
text-align: center;
padding: 0.75rem; 
}
.format-item:last-child {
margin-bottom: 0;
}
.format-item > div:first-child {
height: 100%;
justify-content: center;
}
.format-label,
.format-value {
display: flex;
align-items: center;
justify-content: center;
height: auto;
min-height: 20px; 
}
.format-label {
margin-bottom: 0.1rem; 
font-size: 0.8rem; 
}
.format-value {
font-size: 0.8rem; 
}
.presets-section { 
grid-column: 1 / -1; 
margin: 0; 
width: auto; 
}
.s0 {
margin-bottom: 0.2em; 
padding: 0.5rem;
}   
.presets-grid { 
grid-template-columns: repeat(3, minmax(0, 1fr)); 
gap: 0.2em; 
}
.preset-btn { 
aspect-ratio: 1.5/1; 
min-height: auto; }
}
@media (max-width: 400px) {
.presets-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preset-btn { min-height: 70px; }
}




/* 高级安卓颜色选择器模态框 */
.android-color-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 10000 !important;
    overflow: hidden;
}

.android-modal-content {
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    min-height: 400px; /* 确保模态框有最小高度 */
    border-radius: 0;
    margin: 0;
    padding: 0;
    background: white;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10000 !important;
}



.android-header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.2em;
    flex-wrap: nowrap;
}



.android-hex-code {
display: flex;
    width:5rem;

    line-height: 1;
    font-family: monospace;
    font-size: 1.1rem;
        align-items: center;
    justify-content: center;
flex-shrink: 0;
    order: 1;
}

.android-current-color {
    width: 100%;
    height: 50px;
    order: 2;
}
.android-current-color-box {
    width: 100%;
    height: 100%;
}



/* 模态框按钮样式增强 */
.android-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6c757d;
    line-height: 1;
    padding: 0;
    width: 5rem;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 3;
    z-index: 10004 !important;
    position: relative;
}
.android-close-btn:hover {
    color: #343a40;
    background-color: rgba(0,0,0,0.05);
}


.android-temp-colors {
    display: flex;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px; /* 增加内边距 */
    background: #f8f9fa;
    border-radius: 6px;
    min-height: 30px;
    max-height: 30px;
    order: 1;
}

.android-temp-colors::-webkit-scrollbar {
    height: 6px;
}

.android-temp-colors::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.android-temp-colors::-webkit-scrollbar-thumb {
    background: #ccc;
}

.android-temp-add-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
    order: 2;
}

.android-temp-add-btn:hover {
    background: #0056b3;
}


/* 选项卡样式 */
.android-tabs {
    display: flex;
    gap:0.2em;
    margin-bottom: 0.2em;
    padding: 0;
}

.android-tab {
    flex: 1;
    padding: 10px 12px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s;
}

.android-tab.active {
    background: #007bff;
    color: white;
}

.android-tab-content {
    display: none;
    margin-bottom: 20px;
    flex: 1;
    overflow-y: hidden;
    max-height: calc(85vh - 200px);
    height: 300px; /* 统一固定高度 */
    min-height: 250px; /* 确保最小高度一致 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

}

/* 强制隐藏非活动选项卡 */
.android-tab-content:not(.active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.android-tab-content.active {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    height: 300px !important; /* 统一高度 */
    min-height: 300px !important;
    animation: fadeIn 0.3s ease;
}

/* 确保光谱模式内容高度正确 */
#spectrum-tab.android-tab-content.active {
    display: flex !important;
    flex-direction: column;
}


/* 确保滑块模式的内容足够高以匹配光谱模式 */
#slider-tab {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#quse-tab {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.android-quse-grid {

    display: flex;
    justify-content: center;
    align-items: center;
    margin:0;
    gap:0.2em;
    width: 100%;
}

/* 自定义模式也需要相同高度 */
#custom-tab {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.android-spectrum-picker {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 15px;
    overflow: hidden;
    /* 确保画布填充容器 */
    display: flex;
    align-items: center;
    justify-content: center;
}

#android-spectrum-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    /* 确保画布尺寸与容器一致 */
    box-sizing: border-box;
}

/* 光谱选择器 */
        /* 光谱选择器触摸圈样式 */
        .picker-touch-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    z-index: 10001 !important;
    pointer-events: auto; /* 触摸圈可以接收事件 */
    cursor: move;
    border: 1px dashed rgba(255,0,0,0.3);
    touch-action: none;
    top: 0;
    left: 0;
}
        
        /* 光谱取色圈样式 */
.android-spectrum-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 1px dotted #ddd;
    z-index: 3;
    background: transparent;
}
.android-spectrum-marker::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.3);
}


        


.android-luminance-slider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.android-luminance-range {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #f0f0f0;
    outline: none;
}

.android-luminance-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.android-luminance-view {
    width: 20px;
    height: 20px;
    background: #444;
}


.android-luminance-preview {
    width: 30px;
    height: 30px;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


/* 滑块选择器 */
.android-slider-group {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    gap: 15px;
    min-height: 150px !important;
    justify-content: center;
}

.android-slider-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.android-slider-label {
    width: 30px;
text-align: center;

    font-weight: bold;
}

.android-slider-item input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #f0f0f0;
    outline: none;
}

.android-slider-item input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

/* 预设选项卡高度调整 */
#preset-tab {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 预设颜色网格 */
.android-color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.16em;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
}

/* 预设颜色选项样式 */
.android-color-option {
    width: 100%;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.android-color-option:hover {
    transform: scale(1.05);
}

.android-color-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
}

/* 预设选项卡内容调整 */
#preset-tab.android-tab-content.active {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: start;
    justify-items: center;
}




.android-slider-value {
    width: 40px;
    text-align: center;
    font-family: monospace;
}

/* 自定义输入 */
.android-custom-color {

    display: flex;
    justify-content: center;
    align-items: center;
    margin:0;
    gap:0.2em;
    width: 100%;
}

.android-hex-input {
flex: 1;
padding: 12px 12px;
    border: 1px dotted #ddd;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    font-family: monospace;
    width: auto; /* 删除固定宽度，由flex控制 */
    min-width: 0;
}

.android-confirm-btn {
flex: 1;
padding: 10px 12px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 0;
}



/* 上传图片区域优化 */
.android-uploaded-image-container {
    max-height: 250px;
    min-height: 150px;!important;
    overflow-y: hidden;
    margin:0;
    padding:0;
    background: #f8f9fa;
    display: flex;!important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* 高级选择器触发器 */
.android-advanced-picker {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.android-color-preview {
    width: 100%;
    height: 100%;
}

.android-picker-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}





.android-temp-color-item {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.android-temp-color-item:hover {
    transform: scale(1.05);
}

.android-temp-color {
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.android-temp-delete-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: none;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s;
}

.android-temp-color-item:hover .android-temp-delete-btn {
    opacity: 1;
}

/* 当前颜色显示 */
.android-current-color-display {
    display: flex;
    align-items: center;
    gap:0.16em;
    padding-right: 5px; 
    margin: 0; /* 增加外边距 */
    min-height: 30px; /* 确保有最小高度 */
}





/* 上传图片按钮样式 */
.android-upload-btn {
flex: 1;
padding: 10px 12px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10004 !important;
    position: relative;
    width: auto; /* 删除固定宽度，由flex控制 */
    min-width: 0;
}


/* 上传图片预览区域 */
.android-image-preview img {
display: block;
    transition: transform 0.3s ease;
}

.android-image-preview img:hover {
    transform: scale(1.01);
}

.android-remove-image-btn {
flex: 1;
padding: 10px 12px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10004 !important;
    position: relative;
    width: auto; /* 删除固定宽度，由flex控制 */
    min-width: 0;
}





/* 图片拾取高亮效果 */
.android-image-preview img.active-picking {
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.7) !important;
    transition: box-shadow 0.3s ease;
}





.android-image-preview {
    min-height: 80px; /* 确保图片预览区域也有最小高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1 !important;
    overflow-y: hidden;
}


.android-image-preview img {
    position: relative;
    z-index: 1 !important;
}


margin-top: 5px; background: #dc3545; color: white; border: none; padding: 5px 10px; border-radius: 4px;




@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* 改进拾取模式下的模态框样式 */
.android-color-modal.picking-mode {
    align-items: flex-end;
    background-color: transparent !important;
}

.android-color-modal.picking-mode .android-modal-content {
    max-height: 42.5vh !important;
    min-height: 200px;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
}




/* 图片取色器样式 */
.image-picker-cursor {
    position: absolute !important;
    pointer-events: none; /* 整个取色器不拦截事件 */
    z-index: 10001 !important;
    left: 0;
    top: 0;
    width: 300px;
    height: 300px;
}


/* 图片触摸圈 - 只有这个元素可以接收事件 */
.image-picker-touch-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: transparent;
    pointer-events: auto !important; /* 默认不拦截事件 */
    z-index: 10002 !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: move;
    border: 1px dashed rgba(255,0,0,0.3);
}


/* 图片显示圈 - 不拦截事件 */
.image-picker-display-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* 显示圈不拦截事件 */
    overflow: hidden;
    z-index: 10001 !important;
    background: transparent;
}



.image-picker-display-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
}

.image-picker-display-inner canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* 图片取色圈 - 不拦截事件 */
.image-picker-pick-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* 取色圈不拦截事件 */
    border: 1px dotted rgba(255,0,0,0.3);
    z-index: 10001 !important;
    background: rgba(255,255,255,0.1);
}

/* 确保图片容器有正确的定位上下文 */
.android-uploaded-image-container {
    position: relative !important;
    overflow: visible !important; /* 允许取色器超出容器 */
}

/* 图片取色器样式修复 */
.image-picker-cursor {
    z-index: 10001 !important;
    pointer-events: none;
}

/* 确保显示圈和拾取圈有正确的层级 */
.image-picker-display-circle,
.image-picker-pick-circle {
    z-index: 10001 !important;
    pointer-events: none !important;
}



/* 确保图片预览区域层级正确 */
.android-image-preview {
    position: relative;
    z-index: 1 !important;
}

.android-image-preview img {
    position: relative;
    z-index: 1 !important;
}


.android-tab,
.android-current-color,
.android-hex-code,
.android-current-color-box,
.android-close-btn,
.android-upload-btn,
.android-remove-image-btn,
.android-confirm-btn,
.android-temp-add-btn {
    position: relative !important;
    z-index: 10010 !important;
}



/* 移动设备优化 */
@media (max-width: 768px) {




    .picker-simple-preview {
        width: 35px;
        height: 35px;
        top: 55px;
        left: 55px;
    }

    .picker-color-text {
        font-size: 9px;
        bottom: -22px;
    }
    

    .android-color-modal {
        align-items: flex-end;
        padding: 0;
    }
    
    .android-modal-content {
        max-height: 90vh;
    }
    
    
    .android-current-color-display {
        padding-top: 2px;
        margin-top: 2px;
    }
}

/* 小屏幕设备优化 */
@media (max-width: 480px) {





    .android-modal-content {
        max-height: 95vh;
    }
    
    
}

/* 确保颜色选择器在底部时不会被键盘挡住 */
@media (max-height: 600px) {
    .android-color-modal.picking-mode .android-modal-content {
        max-height: 40vh;
    }
    
    .android-modal-content {
        max-height: 80vh;
    }
    
    /* 注释掉或删除tab-content高度设置，使用flex布局自适应 */
}