*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{font-family:system-ui,-apple-system,sans-serif;color:#392f26;background:#e9e2d7}.background,.veil{position:fixed;inset:0;pointer-events:none}.background{background-size:cover;background-position:center;transition:opacity 2s,transform 8s;opacity:0}.veil{background:linear-gradient(100deg,#f6f2e9df 0%,#f6f2e967 47%,#d9cbb522 100%)}header,footer{position:fixed;left:5vw;right:5vw;display:flex;align-items:center;justify-content:space-between;z-index:10}header{top:3vh}header img{width:clamp(85px,12vw,155px);max-height:95px;object-fit:contain}#weather{font-size:12px;text-align:right;white-space:pre-line}footer{bottom:2vh;gap:12px;font-size:11px;color:#53483e}footer span{margin-right:auto}button,a{font:inherit;color:inherit}button{border:1px solid #89776155;background:#faf8f1bb;border-radius:20px;padding:8px 15px;cursor:pointer}main{position:absolute;inset:12vh 0 9vh;display:grid;grid-template-columns:34% 66%;align-items:center}.intro{padding-left:5vw;z-index:2;pointer-events:none}.intro small{letter-spacing:.2em;font-size:11px}.intro h1{font-size:clamp(28px,4.4vw,70px);font-weight:450;line-height:1.15;letter-spacing:-.06em}.intro p{font-size:13px;color:#71665b}#track{position:absolute;left:33%;right:5%;top:0;bottom:0;perspective:1100px;touch-action:none;overflow:visible}.card{position:absolute;left:50%;top:50%;width:min(46vw,650px);height:clamp(170px,34vh,350px);margin:0;border:1px solid #fff9;border-radius:18px;padding:0;overflow:hidden;text-align:left;background:linear-gradient(145deg,#fffef9f5,#ece6d9eb);box-shadow:0 18px 50px #362a2329;transform-style:flat;will-change:transform;display:flex;flex-direction:column}.card .label{flex:none;padding:10px 20px;font-size:clamp(12px,1.35vw,19px);font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f9f6eefa;border-bottom:1px solid #aa947533}.card .inside{padding:clamp(12px,3vw,40px);height:100%;background-position:center;background-size:cover;display:flex;flex-direction:column;justify-content:flex-end}.card h2{font-size:clamp(19px,3vw,44px);font-weight:500;margin:0 0 12px}.card p{margin:0;font-size:clamp(12px,1.4vw,17px)}.card.has-cover .inside{color:#fff;text-shadow:0 1px 8px #000;background-blend-mode:multiply;background-color:#0005}nav{position:absolute;right:2vw;top:45%;display:grid;gap:10px;z-index:11;text-align:center;font-size:11px}dialog{width:min(96vw,1300px);height:94dvh;border:1px solid #d6cbbb;border-radius:20px;padding:0;background:#faf8f3;box-shadow:0 20px 100px #0005}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#3c332a77;backdrop-filter:blur(12px)}.bar{display:flex;justify-content:space-between;align-items:center;padding:10px 20px}iframe{width:100%;flex:1;border:0;background:white}#external{padding:16px;text-align:center}#external:not([href]){display:none}@media(max-width:700px){main{inset:14vh 0 12vh}.intro{position:absolute;top:0;padding-left:6vw}.intro h1{margin:7px 0;font-size:27px}.intro p{margin:4px 0}#track{left:0;right:4%;top:15%;bottom:0}.card{width:76vw;height:29vh}.card .label{padding:7px 12px}nav{right:1vw;top:54%}nav button{padding:5px 9px}footer{flex-wrap:wrap}footer span{width:100%}}@media(prefers-reduced-motion:reduce){.background{transition:none}}


/* KUNYUAN_ADAPTIVE_ENVIRONMENT_V11 */

.background {
    --environment-color: #e9e2d7;
    --environment-image: none;
    --photo-ratio: .5625;

    position: fixed;
    inset: 0;
    overflow: hidden;

    background-color: var(--environment-color);
    background-image: none;

    transition: opacity 2s ease;
}

.background::before {
    content: "";
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: min(
        70vw,
        calc(100dvh * var(--photo-ratio))
    );

    background-image: var(--environment-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;

    -webkit-mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 60%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 60%,
        transparent 100%
    );
}

/* 取消旧的米白色全屏遮罩 */

.veil {
    background: none;
}

/* 保留文字及天气的可读性 */

.intro,
#weather,
footer {
    text-shadow:
        0 1px 6px rgba(255,255,255,.65),
        0 0 18px rgba(255,255,255,.45);
}

/* 手机及直立式平板 */

@media(max-width:700px),
       (orientation:portrait) {

    .background::before {

        width: 100%;

        background-size: cover;
        background-position: center;

        -webkit-mask-image: none;
        mask-image: none;
    }

    .veil {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,.03),
            rgba(0,0,0,.06) 35%,
            rgba(0,0,0,.12) 100%
        );
    }
}

@media(prefers-reduced-motion:reduce) {

    .background {
        transition: none;
    }
}

/* END KUNYUAN ADAPTIVE ENVIRONMENT */


/* KUNYUAN_FROSTED_GLASS_V1 */

:root {
    --glass-blur: 4px;
    --glass-opacity: 0.04;
    --glass-saturation: 1.05;
    --glass-brightness: 1.00;
}

.veil {
    background: rgba(255,255,255,var(--glass-opacity));

    -webkit-backdrop-filter:
        blur(var(--glass-blur))
        saturate(var(--glass-saturation))
        brightness(var(--glass-brightness));

    backdrop-filter:
        blur(var(--glass-blur))
        saturate(var(--glass-saturation))
        brightness(var(--glass-brightness));

    pointer-events: none;
}

@media(max-width:700px) {
    :root {
        --glass-blur: 3px;
    }
}

/* END KUNYUAN_FROSTED_GLASS_V1 */



/* KUNYUAN_DEEP_BLACK_V1 */

:root {
    --space-black: #08090b;
    --space-white: #ffffff;
    --space-muted: rgba(255,255,255,.85);
    --glass-opacity: .06;
}

/* 深黑空间背景 */

html,
body {
    background: var(--space-black);
    color: var(--space-white);
}

/* 照片向深黑空间过渡 */

.background {
    background-color: var(--space-black) !important;
}

/* 深色轻度磨砂玻璃 */

.veil {
    background: rgba(0,0,0,var(--glass-opacity));
}

/* 背景文字统一白色 */

.intro,
.intro h1,
.intro small,
#weather,
footer,
footer a,
nav,
#count {
    color: var(--space-white);
    text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

.intro p,
footer span {
    color: var(--space-muted);
}

/* 深色半透明导航按钮 */

nav button,
footer button {
    color: #ffffff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    transition:
        background .25s ease,
        border-color .25s ease;
}

nav button:hover,
footer button:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4);
}

/* 保持卡片及内容窗口原有色彩 */

.card {
    color: #392f26;
}

.card.has-cover .inside {
    color: #ffffff;
}

dialog {
    color: #392f26;
    background: #faf8f3;
}

dialog::backdrop {
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(12px);
}

/* 手机端深色环境 */

@media(max-width:700px),
       (orientation:portrait) {

    .veil {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,.18),
            rgba(0,0,0,.08) 35%,
            rgba(0,0,0,.25) 100%
        );
    }
}

/* END KUNYUAN_DEEP_BLACK_V1 */



/* KUNYUAN_ADAPTIVE_BACKGROUND_V12 */

/* 横屏：保留右侧深黑渐变 */
@media (min-aspect-ratio: 1/1) {

    .background::before {

        width: min(
            70vw,
            calc(100dvh * var(--photo-ratio))
        );

        background-size: cover;
        background-position: left center;

        -webkit-mask-image: linear-gradient(
            to right,
            #000 0%,
            #000 60%,
            transparent 100%
        );

        mask-image: linear-gradient(
            to right,
            #000 0%,
            #000 60%,
            transparent 100%
        );
    }
}

/* 竖屏：使用完整屏幕背景 */
@media (max-aspect-ratio: 1/1) and (orientation: portrait) {

    .background::before {

        width: 100%;
        height: 100%;

        background-size: cover;
        background-position: center;

        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* END KUNYUAN_ADAPTIVE_BACKGROUND_V12 */



/* =========================================
   KUNYUAN_TYPOGRAPHY_V1
   Adaptive Typography Engine
   ========================================= */

:root {

    --type-display: clamp(24px,4.4vw,70px);
    --type-title: clamp(18px,3vw,44px);
    --type-label: clamp(12px,1.35vw,19px);
    --type-body: clamp(12px,1.4vw,17px);
    --type-small: clamp(10px,1vw,13px);
    --type-weather: clamp(11px,1.1vw,14px);

    --line-title: 1.2;
    --line-body: 1.55;
    --line-small: 1.45;
}

/* 全局文字换行规则 */

.intro,
.card,
#weather,
footer,
.bar,
#external {

    min-width: 0;

    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}

/* 首页介绍文字 */

.intro {

    width: 100%;
    max-width: 100%;
    padding-right: clamp(12px,2vw,32px);
}

.intro small {

    display: block;

    font-size: var(--type-small);
    line-height: var(--line-small);
    letter-spacing: .16em;

    white-space: normal;
    text-wrap: balance;
}

.intro h1 {

    font-size: var(--type-display);
    line-height: var(--line-title);
    letter-spacing: -.035em;

    white-space: normal;
    text-wrap: balance;
}

.intro p {

    font-size: clamp(12px,1.2vw,16px);
    line-height: var(--line-body);

    white-space: normal;
    text-wrap: pretty;
}

/* 卡片容器自适应 */

.card {

    container-type: inline-size;

    min-width: 0;
}

/* 卡片顶部标题 */

.card .label {

    font-size: var(--type-label);
    font-size: clamp(12px,3.2cqi,19px);

    line-height: 1.25;

    white-space: normal;
    overflow-wrap: anywhere;

    padding-block: clamp(6px,1.1cqi,10px);

    max-height: 3.2em;
    overflow: hidden;

    text-overflow: clip;
    text-wrap: balance;
}

/* 卡片内容区域 */

.card .inside {

    flex: 1 1 auto;

    height: auto;
    min-height: 0;
    min-width: 0;

    padding: clamp(12px,5cqi,40px);

    overflow: hidden;
}

/* 卡片主标题 */

.card h2 {

    font-size: var(--type-title);
    font-size: clamp(18px,7cqi,44px);

    line-height: 1.18;

    margin: 0 0 clamp(4px,1.8cqi,12px);

    letter-spacing: -.025em;

    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

/* 卡片副标题 */

.card p {

    font-size: var(--type-body);
    font-size: clamp(12px,3cqi,17px);

    line-height: var(--line-body);

    white-space: normal;
    overflow-wrap: anywhere;

    text-wrap: pretty;
}

/* 实时时间及天气 */

#weather {

    max-width: 100%;

    font-size: var(--type-weather);
    line-height: 1.5;

    white-space: pre-line;

    font-variant-numeric: tabular-nums;
}

/* 页脚说明 */

footer {

    font-size: var(--type-small);
    line-height: 1.45;

    flex-wrap: wrap;

    gap: 6px 12px;
}

footer span {

    flex: 1 1 180px;

    min-width: 0;
    white-space: normal;
}

footer button,
footer a {

    flex-shrink: 0;
}

/* 卡片详情标题栏 */

.bar {

    gap: 10px;

    flex: 0 0 auto;

    padding:
        clamp(8px,1.5vw,16px)
        clamp(12px,2vw,24px);
}

#detailTitle {

    flex: 1 1 auto;

    min-width: 0;

    font-size: clamp(15px,2vw,24px);
    font-weight: 600;
    line-height: 1.35;

    overflow-wrap: anywhere;
}

#close {

    flex-shrink: 0;

    font-size: clamp(12px,1.2vw,16px);
    white-space: nowrap;
}

#frame {

    min-height: 0;
}

#external {

    font-size: clamp(13px,1.3vw,16px);
    line-height: 1.45;
}

/* 卡片页码 */

#count {

    font-size: clamp(10px,1vw,13px);

    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* 手机屏幕排版 */

@media (max-width:700px) {

    .intro {

        width: 100%;
        padding-right: 6vw;
    }

    .intro h1 {

        font-size: clamp(24px,6vw,36px);
        line-height: 1.18;

        margin: 6px 0;
    }

    .intro small {

        font-size: clamp(10px,2.7vw,12px);
        letter-spacing: .12em;
    }

    .intro p {

        font-size: clamp(11px,3vw,14px);

        margin: 4px 0;
    }

    .card .inside {

        padding: clamp(10px,4cqi,24px);
    }

    .card h2 {

        font-size: clamp(18px,6cqi,32px);
    }

    .card p {

        font-size: clamp(12px,3.8cqi,15px);
    }

    #weather {

        font-size: clamp(10px,2.8vw,13px);
    }

    footer span {

        flex-basis: 100%;
    }
}

/* 短屏幕及手机横屏 */

@media (max-height:500px) {

    .intro h1 {

        font-size: clamp(22px,6vh,36px);
        margin: 5px 0;
    }

    .intro p {

        line-height: 1.3;
    }

    .card .inside {

        padding: 10px 16px;
    }

    .card h2 {

        font-size: clamp(18px,5vh,28px);
        margin-bottom: 5px;
    }

    .card p {

        font-size: 12px;
        line-height: 1.35;
    }

    footer {

        gap: 4px 10px;
    }
}

/* END KUNYUAN_TYPOGRAPHY_V1 */



/* ==========================================
   KUNYUAN_VISUAL_REFINEMENT_V11
   Pure Frosted Environment
   ========================================== */

:root {

    --glass-blur: 3px;
    --glass-opacity: .08;

}

/* 全屏照片，取消所有方向渐变 */

.background::before {

    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    -webkit-mask-image: none;
    mask-image: none;

}

/* 统一轻度磨砂背景 */

.veil {

    background: rgba(0,0,0,var(--glass-opacity));

    -webkit-backdrop-filter:
        blur(var(--glass-blur));

    backdrop-filter:
        blur(var(--glass-blur));

}

/* 主标题语义排版 */

.intro h1 {

    font-size: clamp(24px,3.6vw,58px);

    line-height: 1.22;
    letter-spacing: -.025em;

    word-break: normal;
    overflow-wrap: normal;
    text-wrap: wrap;

}

.intro h1 .semantic-unit {

    display: inline-block;
    white-space: nowrap;

}

/* 保持主标题的阅读宽度 */

.intro {

    min-width: 0;
    max-width: 100%;

}

/* 卡片实体磨砂质感，避免文字透叠 */

.card {

    background: #f5f2e9;

}

.card .label {

    background: #f9f6ee;

}

.card:not(.has-cover) .inside {

    background-color: #f5f2e9;

}

/* 保留封面卡片的阅读对比度 */

.card.has-cover .inside {

    background-color: rgba(0,0,0,.35);

}

/* 手机端自然文字排版 */

@media (max-width:700px) {

    .intro h1 {

        font-size: clamp(24px,6vw,36px);

    }

}

/* 手机横屏 */

@media (max-height:500px) {

    .intro h1 {

        font-size: clamp(20px,5vh,32px);

    }

}

/* END KUNYUAN_VISUAL_REFINEMENT_V11 */



/* KUNYUAN_SOUND_ICON_V1 */

#sound {

    width: 44px;
    height: 44px;

    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);

    color: #ffffff;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background .25s ease,
        border-color .25s ease;
}

#sound .sound-icon {

    width: 21px;
    height: 21px;

    pointer-events: none;
}

#sound .sound-on {
    display: none;
}

#sound .sound-off {
    display: inline;
}

#sound[aria-pressed="true"] .sound-on {
    display: inline;
}

#sound[aria-pressed="true"] .sound-off {
    display: none;
}

#sound:hover {

    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.35);
}

#sound:focus-visible {

    outline: 2px solid white;
    outline-offset: 3px;
}

/* END KUNYUAN_SOUND_ICON_V1 */



/* KUNYUAN_SHARING_V1 */

.detail-actions {

    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

}

#shareCard {

    width: 42px;
    height: 42px;

    padding: 0;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.12);

}

#shareCard svg {

    width: 21px;
    height: 21px;
    pointer-events: none;

}

#shareCard:hover {

    background: rgba(0,0,0,.09);

}

#shareNotice {

    position: absolute;
    bottom: 24px;
    left: 50%;

    transform: translateX(-50%);

    padding: 10px 20px;
    border-radius: 24px;

    background: rgba(20,20,20,.88);
    color: white;

    font-size: 13px;
    text-align: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    z-index: 100;

}

#shareNotice.visible {

    opacity: 1;

}

@media(max-width:700px) {

    .detail-actions {
        gap: 5px;
    }

    #close {
        padding-inline: 9px;
    }

}

/* END KUNYUAN_SHARING_V1 */



/* ==========================================
   KUNYUAN_SPATIAL_LAYOUT_V1
   Adaptive Spatial Layout Engine
   ========================================== */

:root {

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);

    --space-gap: clamp(8px,1.5vh,18px);

}

/* 统一底部音乐按钮位置 */

footer {

    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;

}

footer span {

    width: auto;
    flex: 1 1 auto;
    min-width: 0;

}

#sound {

    margin-left: auto;
    flex: 0 0 44px;

}

/* 竖屏及窄屏智能空间 */

@media (orientation:portrait),
       (max-width:700px) {

    html,
    body {

        width: 100%;
        height: 100%;

        overflow: hidden;

    }

    body {

        height: 100dvh;

        display: grid;

        grid-template-rows:
            auto
            minmax(0,1fr)
            auto;

        padding-top:
            calc(var(--safe-top) + 12px);

        padding-bottom:
            calc(var(--safe-bottom) + 10px);

        row-gap: var(--space-gap);

    }

    /* 第一空间：天气 */

    header {

        position: relative;

        inset: auto;

        width: 100%;

        padding: 0 5vw;

        min-width: 0;

    }

    #weather {

        font-size: clamp(10px,2.8vw,13px);

        line-height: 1.45;

        max-width: 100%;

        text-align: right;

    }

    /* 第二及第三空间 */

    main {

        position: relative;

        inset: auto;

        min-height: 0;
        min-width: 0;

        display: grid;

        grid-template-columns: minmax(0,1fr);

        grid-template-rows:
            auto
            minmax(0,1fr);

        align-items: stretch;

        gap: var(--space-gap);

    }

    /* 第二空间：企业介绍文字 */

    .intro {

        position: relative;

        inset: auto;

        width: 100%;

        padding: 8px 6vw;

        min-width: 0;

        z-index: 2;

    }

    .intro small {

        font-size: clamp(9px,2.45vw,12px);

        line-height: 1.35;

        letter-spacing: .11em;

        white-space: normal;

    }

    .intro h1 {

        font-size: clamp(22px,6.5vw,36px);

        line-height: 1.25;

        margin: 9px 0;

        letter-spacing: -.025em;

    }

    .intro p {

        font-size: clamp(10px,2.9vw,14px);

        line-height: 1.4;

        margin: 0;

    }

    /* 第三空间：独立卡片轨道 */

    #track {

        position: relative;

        inset: auto;

        width: 100%;
        height: 100%;

        min-height: 0;

        overflow: hidden;

        perspective: 1100px;

        container-type: size;

        touch-action: none;

        grid-row: 2;

    }

    .card {

        left: 47%;

        top: 45%;

        width: min(76vw,520px);

        height: clamp(105px,38cqh,240px);

        border-radius: 15px;

    }

    .card .label {

        font-size: clamp(11px,3cqi,17px);

        padding: 6px 12px;

        line-height: 1.25;

    }

    .card .inside {

        padding: clamp(10px,4cqi,24px);

    }

    .card h2 {

        font-size: clamp(17px,6cqi,32px);

        line-height: 1.2;

        margin-bottom: 6px;

    }

    .card p {

        font-size: clamp(11px,3.5cqi,15px);

        line-height: 1.35;

    }

    /* 卡片导航与轨道共享同一个区域 */

    nav {

        position: relative;

        inset: auto;

        grid-row: 2;
        grid-column: 1;

        align-self: center;
        justify-self: end;

        margin-right: 2vw;

        gap: 6px;

        z-index: 11;

    }

    #track {

        grid-column: 1;

    }

    nav button {

        width: 34px;
        height: 34px;

        padding: 0;

    }

    #count {

        font-size: 11px;

    }

    /* 第四空间：页脚及音乐 */

    footer {

        position: relative;

        inset: auto;

        padding: 0 5vw;

        min-height: 44px;

        display: flex;

        flex-wrap: nowrap;

        align-items: center;

        gap: 12px;

    }

    footer span {

        font-size: clamp(9px,2.4vw,11px);

        line-height: 1.45;

        flex: 1 1 auto;

        min-width: 0;

        margin: 0;

    }

    #sound {

        width: 44px;
        height: 44px;

        flex: 0 0 44px;

        margin-left: auto;

    }

    /* 详情窗口不参与首页网格 */

    dialog {

        position: fixed;

        inset: 0;

        margin: auto;

        max-height: 94dvh;

    }

}

/* 可用高度较小时进一步减少文字占用 */

@media (max-height:650px) and (orientation:portrait) {

    :root {

        --space-gap: 5px;

    }

    .intro {

        padding-block: 4px;

    }

    .intro h1 {

        font-size: clamp(20px,5.5vw,28px);

        margin: 5px 0;

    }

    .intro p {

        font-size: 10px;

    }

}

/* END KUNYUAN_SPATIAL_LAYOUT_V1 */



/* KUNYUAN COMPANY NAME V1 */

.intro .company-name {
    font-size: clamp(13px,1.3vw,20px);
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1.5;
    color: #ffffff;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

@media (orientation:portrait), (max-width:700px) {
    .intro .company-name {
        font-size: clamp(12px,3.6vw,17px);
        letter-spacing: .03em;
        line-height: 1.4;
    }
}



/* =========================================
   KUNYUAN_DESIGN_SYSTEM_V1
   Apple-inspired Visual Language
   ========================================= */

:root {

    /* 统一系统字体 */

    --font-system:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "PingFang SC",
        "Helvetica Neue",
        "Microsoft YaHei",
        sans-serif;

    /* 统一字体重量 */

    --weight-light: 400;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;

    /* 统一颜色 */

    --design-white: #ffffff;
    --design-text: #1d1d1f;
    --design-secondary: #6e6e73;
    --design-card: #f5f5f7;

    /* 统一圆角 */

    --radius-card: 24px;
    --radius-button: 22px;

    /* 统一磨砂 */

    --glass-blur: 3px;
    --glass-opacity: .08;

}

/* 全站字体统一 */

html {

    font-family: var(--font-system);

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

body,
button,
input,
select,
textarea,
dialog {

    font-family: var(--font-system);

}

/* 公司名称 */

.intro .company-name {

    font-size: clamp(15px,1.35vw,20px);
    font-weight: var(--weight-medium);

    letter-spacing: -.015em;
    line-height: 1.45;

    color: var(--design-white);

    text-wrap: balance;

}

/* 品牌主标题 */

.intro h1 {

    font-size: clamp(32px,3.8vw,64px);
    font-weight: var(--weight-semibold);

    letter-spacing: -.04em;
    line-height: 1.12;

    margin: 18px 0;

}

/* 操作提示 */

.intro p {

    font-size: 13px;
    font-weight: var(--weight-normal);

    letter-spacing: 0;
    line-height: 1.5;

    color: rgba(255,255,255,.8);

}

/* 卡片视觉体系 */

.card {

    border-radius: var(--radius-card);

    color: var(--design-text);
    background: var(--design-card);

    border: 1px solid rgba(255,255,255,.75);

    box-shadow:
        0 12px 36px rgba(0,0,0,.12);

}

/* 卡片标题标签 */

.card .label {

    font-size: clamp(12px,3cqi,15px);
    font-weight: var(--weight-medium);

    letter-spacing: -.015em;
    line-height: 1.35;

    background: #f5f5f7;
    border-bottom: 1px solid rgba(0,0,0,.06);

}

/* 卡片正文 */

.card:not(.has-cover) .inside {

    background-color: var(--design-card);

}

.card h2 {

    font-size: clamp(24px,6.4cqi,40px);
    font-weight: var(--weight-semibold);

    letter-spacing: -.035em;
    line-height: 1.15;

}

.card p {

    font-size: clamp(12px,2.8cqi,15px);
    font-weight: var(--weight-normal);

    letter-spacing: 0;
    line-height: 1.45;

    color: var(--design-secondary);

}

.card.has-cover p {

    color: rgba(255,255,255,.9);

}

/* 时间及天气 */

#weather {

    font-size: 12px;
    font-weight: var(--weight-normal);

    letter-spacing: -.01em;
    line-height: 1.55;

    font-variant-numeric: tabular-nums;

}

/* 底部文字 */

footer,
footer span {

    font-size: 11px;
    font-weight: var(--weight-normal);

    line-height: 1.45;

    color: rgba(255,255,255,.75);

}

/* 统一功能按钮 */

nav button,
#sound {

    border-radius: 50%;

    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

}

/* 详情页面 */

dialog {

    font-family: var(--font-system);
    border-radius: var(--radius-card);

}

#detailTitle {

    font-size: clamp(15px,2vw,22px);
    font-weight: var(--weight-semibold);

    letter-spacing: -.025em;

}

/* =========================================
   手机及竖屏视觉标准
   ========================================= */

@media (orientation:portrait),
       (max-width:700px) {

    :root {

        --radius-card: 20px;
        --space-gap: clamp(6px,1.2dvh,12px);

    }

    .intro {

        padding: 6px 6vw 10px;

    }

    .intro .company-name {

        font-size: clamp(12px,3.45vw,16px);

        font-weight: 500;
        letter-spacing: -.02em;

        line-height: 1.45;

        text-wrap: wrap;

    }

    .intro h1 {

        font-size: clamp(23px,7vw,34px);

        font-weight: 600;
        letter-spacing: -.045em;

        line-height: 1.15;

        margin: 12px 0 9px;

    }

    .intro p {

        font-size: clamp(10px,2.65vw,12px);

        font-weight: 400;
        letter-spacing: 0;

        line-height: 1.45;

    }

    #weather {

        font-size: clamp(10px,2.6vw,12px);
        line-height: 1.45;

    }

    .card {

        border-radius: var(--radius-card);

        height: clamp(90px,32cqh,220px);

    }

    .card .label {

        font-size: clamp(11px,3.7cqi,14px);

        font-weight: 500;

        padding: 7px 12px;

    }

    .card h2 {

        font-size: clamp(20px,7.8cqi,28px);

        font-weight: 600;
        letter-spacing: -.04em;

    }

    .card p {

        font-size: clamp(11px,4cqi,13px);

        font-weight: 400;

        line-height: 1.4;

    }

    footer span {

        font-size: clamp(9px,2.5vw,11px);

        line-height: 1.4;

    }

}

/* 极短屏幕 */

@media (max-height:600px) {

    .intro h1 {

        font-size: clamp(22px,5vw,30px);

        margin: 6px 0;

    }

}

/* END KUNYUAN_DESIGN_SYSTEM_V1 */



/* ==========================================
   KUNYUAN_GOLDEN_RATIO_V2
   Golden Ratio Design System
   ========================================== */

:root {

    --phi: 1.618;

    --golden-major: 61.8%;
    --golden-minor: 38.2%;

    --golden-margin: 6.18vw;

    --space-xs: 8px;
    --space-sm: 13px;
    --space-md: 21px;
    --space-lg: 34px;
    --space-xl: 55px;

    --radius-card: 21px;

    --glass-blur: 2px;
    --glass-opacity: .08;

    --golden-card: #f5f5f7;
    --golden-text: #1d1d1f;
    --golden-secondary: #6e6e73;

}

/* 统一字体系统 */

html,
body,
button,
dialog {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "PingFang SC",
        "Helvetica Neue",
        "Microsoft YaHei",
        sans-serif;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

}

/* 企业品牌文字 */

.intro {

    padding-left: var(--golden-margin);
    padding-right: var(--space-md);

}

.intro .company-name {

    font-size: clamp(20px,1.8vw,32px);
    font-weight: 500;

    line-height: 1.4;
    letter-spacing: -.025em;

    text-wrap: wrap;

}

.intro h1 {

    font-size: clamp(32px,3.8vw,55px);
    font-weight: 600;

    line-height: 1.15;
    letter-spacing: -.04em;

    margin: var(--space-md) 0;

}

.intro p {

    font-size: 13px;
    font-weight: 400;

    line-height: 1.618;

    margin: 0;

    color: rgba(255,255,255,.82);

}

/* 统一卡片视觉 */

.card {

    border-radius: var(--radius-card);

    background: var(--golden-card);
    color: var(--golden-text);

    border: 1px solid rgba(255,255,255,.8);

    box-shadow:
        0 8px 21px rgba(0,0,0,.09);

}

.card:not(.has-cover) .inside {

    background-color: var(--golden-card);

}

.card .label {

    font-size: clamp(12px,3cqi,16px);
    font-weight: 500;

    padding: 8px 21px;

    line-height: 1.4;

    background: var(--golden-card);
    border-bottom: 1px solid rgba(0,0,0,.06);

}

.card h2 {

    font-size: clamp(24px,6.18cqi,42px);
    font-weight: 600;

    letter-spacing: -.04em;
    line-height: 1.18;

    margin-bottom: 8px;

}

.card p {

    font-size: clamp(12px,3cqi,19px);
    font-weight: 400;

    line-height: 1.4;
    letter-spacing: .015em;

    color: var(--golden-secondary);

}

.card.has-cover p {

    color: rgba(255,255,255,.9);

}

/* 功能元素 */

header,
footer {

    left: var(--golden-margin);
    right: var(--golden-margin);

}

#weather {

    font-size: 12px;
    line-height: 1.5;

}

footer,
footer span {

    font-size: 10px;
    line-height: 1.5;

}

/* ==========================================
   电脑横屏黄金比例
   ========================================== */

@media (orientation:landscape)
       and (min-width:701px) {

    main {

        grid-template-columns:
            minmax(0,38.2fr)
            minmax(0,61.8fr);

    }

    #track {

        left: 38.2%;
        right: 6.18%;

    }

    .card {

        top: 53%;

        width: min(44vw,680px);

        height: clamp(
            160px,
            min(27.2vw,35dvh),
            420px
        );

    }

    .card .inside {

        padding: clamp(13px,4.5cqi,34px);

    }

}

/* ==========================================
   手机竖屏黄金比例
   ========================================== */

@media (orientation:portrait),
       (max-width:700px) {

    :root {

        --space-gap: 8px;

    }

    header,
    footer {

        left: auto;
        right: auto;

        padding-inline: var(--golden-margin);

    }

    main {

        grid-template-rows:
            minmax(min-content,38.2fr)
            minmax(0,61.8fr);

        gap: 8px;

    }

    .intro {

        align-self: start;

        padding:
            8px
            var(--golden-margin);

    }

    .intro .company-name {

        font-size: clamp(15px,4.6vw,20px);
        font-weight: 500;

        line-height: 1.4;
        letter-spacing: -.025em;

    }

    .intro h1 {

        font-size: clamp(25px,8vw,34px);

        font-weight: 600;

        line-height: 1.18;
        letter-spacing: -.04em;

        margin: 13px 0;

    }

    .intro p {

        font-size: clamp(10px,3vw,13px);

        line-height: 1.5;

    }

    #weather {

        font-size: clamp(10px,2.8vw,12px);

    }

    #track {

        min-height: 0;
        overflow: hidden;

    }

    .card {

        left: 47%;
        top: 46%;

        width: min(76.4vw,540px);

        height: min(
            47.2vw,
            42cqh,
            320px
        );

        border-radius: 21px;

    }

    .card .label {

        padding: 6px 13px;

        font-size: clamp(11px,3.7cqi,14px);

    }

    .card .inside {

        padding: 13px;

    }

    .card h2 {

        font-size: clamp(20px,8cqi,28px);

    }

    .card p {

        font-size: clamp(11px,4cqi,15px);

    }

    footer span {

        font-size: clamp(9px,2.6vw,11px);

    }

}

/* 短屏幕优先保证阅读空间 */

@media (max-height:650px)
       and (orientation:portrait) {

    main {

        grid-template-rows:
            auto
            minmax(0,1fr);

    }

    .intro {

        padding-block: 4px;

    }

    .intro h1 {

        font-size: clamp(22px,6.8vw,30px);
        margin: 8px 0;

    }

    .card {

        height: min(47.2vw,40cqh);

    }

}

/* END KUNYUAN_GOLDEN_RATIO_V2 */



/* KUNYUAN FROSTED GLASS V2.1 */

:root {
    --glass-blur: 8px;
    --glass-opacity: .08;
}

.veil {
    background: rgba(0,0,0,var(--glass-opacity));

    -webkit-backdrop-filter:
        blur(var(--glass-blur));

    backdrop-filter:
        blur(var(--glass-blur));
}

/* END KUNYUAN FROSTED GLASS V2.1 */



/* =========================================
   KUNYUAN_FAN_ORBIT_V3
   ========================================= */

#track {

    perspective: 1100px;

}

.card {

    top: 50%;

    transform-origin: center center;

}

/* 下半扇形显示底部标题 */

.card.fan-lower .label {

    order: 2;

    border-bottom: none;
    border-top: 1px solid rgba(0,0,0,.06);

}

.card.fan-lower .inside {

    order: 1;

}

/* 电脑横屏 */

@media (orientation:landscape)
       and (min-width:701px) {

    .card {

        left: 53%;
        top: 50%;

        width: min(39vw,650px);

    }

}

/* 手机及竖屏 */

@media (orientation:portrait),
       (max-width:700px) {

    #track {

        overflow: hidden;

    }

    .card {

        left: 49%;
        top: 50%;

        width: min(74vw,540px);

    }

}

/* END KUNYUAN_FAN_ORBIT_V3 */

