:root {
    --text1-color: #000;
    --text2-color: #808080;
    --text3-color: #666;
    --text4-color: #FFF;

    --link-color: #2563eb;

    --morobo-black: #EBEEF0;
    --morobo-white: #FFF;
    --morobo-gray-95: #F2F2F2;
    --morobo-gray-90: #E5E5E5;

    --morobo-c-ash-94: #EBEEF0;
    --morobo-m-ash-94: #EBF0ED;
    --morobo-g-ash-94: #F0EEEB;

    --morobo-c-ash-90: #DEE2E5;
    --morobo-m-ash-90: #DDE4E1;
    --morobo-g-ash-90: #E5E3DE;

    --morobo-c-ash-80: #C6CACD;
    --morobo-m-ash-80: #C6CDC9;
    --morobo-g-ash-80: #CDCBC6;

    --morobo-sky-blue: #A1E5CF;
    --morobo-mint-green: #A4EBC7;
    --morobo-goose-yellow: #FAE1AF;
}

/* ===== 全局毛玻璃（Apple / iOS 风格 frosted glass）=====
   半透明白 + 高斯模糊 + 提高饱和度 + 顶部高光 + 底部发丝线 + 细腻磨砂噪点。
   宿主元素需为一个已定位的盒子（如 position:absolute/relative），伪元素据此铺满。 */
.kom-frosted {
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(50px) saturate(210%);
    backdrop-filter: blur(50px) saturate(210%);
    box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.6), inset 0 -0.5px 0 rgba(0, 0, 0, 0.1);
    isolation: isolate;
}

/* 顶部高光：越靠上越亮，模拟光线在磨砂玻璃上的折射 */
.kom-frosted::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
}

/* 磨砂颗粒：极淡的噪点，增加毛玻璃的细腻质感 */
.kom-frosted::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.2;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 140px 140px;
}

/* 不支持 backdrop-filter 时回退为接近不透明的白色，保证可读性 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .kom-frosted {
        background-color: rgba(255, 255, 255, 0.94);
    }
}