/* ===== weather.html 气象信息实时监测页（多彩科技风配色） ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; overflow: hidden; }

body {
    color: #1e3458;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background:
        radial-gradient(28% 20% at 20% 15%, rgba(255, 255, 255, .7), transparent 70%),
        radial-gradient(26% 20% at 58% 11%, rgba(255, 222, 238, .55), transparent 70%),
        radial-gradient(30% 26% at 80% 27%, rgba(216, 214, 250, .55), transparent 70%),
        radial-gradient(24% 18% at 36% 44%, rgba(255, 255, 255, .42), transparent 70%),
        radial-gradient(40% 26% at 24% 80%, rgba(196, 226, 150, .5), transparent 70%),
        radial-gradient(44% 30% at 80% 86%, rgba(120, 160, 80, .42), transparent 70%),
        linear-gradient(180deg, #7db5ef 0%, #a6cbf3 30%, #c3d4e6 52%, #a8c07e 75%, #7fa458 100%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* ===== 顶部栏（与主平台 index 一致） ===== */
.head {
    position: relative;
    height: 90px;
    margin: 0 15px;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
}

.head h1 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.platform-title {
    display: flex;
    align-items: center;
    margin: 0;
    height: 90px;
    white-space: nowrap;
    font-size: clamp(21px, 2.2vw, 40px);
    font-weight: bold;
    letter-spacing: clamp(0px, .5vw, 8px);
    text-indent: clamp(0px, .5vw, 8px);
    background: linear-gradient(90deg, #e64980, #f08c00, #c9a100, #2f9e44, #1971c2, #7048e8, #e64980);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .85));
    animation: titleFlow 6s linear infinite;
}

.h1-side {
    position: relative;
    width: clamp(40px, 6vw, 110px);
    height: 2px;
    flex: 0 0 auto;
}

.h1-side.left {
    margin-right: clamp(12px, 1.5vw, 26px);
    background: linear-gradient(to left, transparent, #1971c2, #7048e8, #e64980);
}

.h1-side.right {
    margin-left: clamp(12px, 1.5vw, 26px);
    background: linear-gradient(to right, transparent, #1971c2, #7048e8, #e64980);
}

.h1-side:before {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    background: #f08c00;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 8px rgba(240, 140, 0, .9);
}

.h1-side.left:before { right: -3px; }
.h1-side.right:before { left: -3px; }

.h1-side:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 120px;
    height: 10px;
    transform: translateY(-50%);
    opacity: .5;
}

.h1-side.left:after {
    right: 0;
    background: linear-gradient(to left, rgba(230, 73, 128, 0), rgba(112, 72, 232, .3));
}

.h1-side.right:after {
    left: 0;
    background: linear-gradient(to right, rgba(230, 73, 128, 0), rgba(112, 72, 232, .3));
}

@keyframes titleFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.head .time {
    position: relative;
    align-self: center;
    flex-shrink: 0;
    padding: clamp(5px, .7vw, 7px) clamp(10px, 1.2vw, 18px);
    line-height: 1.4;
    font-size: clamp(12px, 1.05vw, 14px);
    white-space: nowrap;
    color: #3a3568;
    background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .25));
    border: 1px solid rgba(112, 72, 232, .45);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, .5), 0 2px 8px rgba(70, 90, 140, .18);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.head #showTime {
    margin-left: 8px;
    margin-right: clamp(10px, 2vw, 40px);
    color: #33305f;
}

.head #showTime:after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(#0ca678, #1971c2, #7048e8);
    box-shadow: 0 0 6px rgba(112, 72, 232, .7);
}

.clock-icon {
    margin-left: auto;
    align-self: center;
    flex-shrink: 0;
    width: clamp(13px, 1.2vw, 16px);
    height: auto;
    color: #0ca678;
    filter: drop-shadow(0 0 4px rgba(12, 166, 120, .6));
}

.back-link {
    color: #7a2550;
    text-decoration: none;
    font-size: clamp(12px, 1.05vw, 14px);
    padding: clamp(5px, .7vw, 7px) clamp(10px, 1.2vw, 18px);
    white-space: nowrap;
    background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .25));
    border: 1px solid rgba(214, 51, 108, .45);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, .5), 0 2px 8px rgba(140, 70, 100, .18);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all .2s;
}

.back-link:hover {
    color: #c2256b;
    border-color: #d6336c;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 2px 12px rgba(214, 51, 108, .35);
}

/* ===== 主体面板 ===== */
main {
    flex: 1 1 auto;
    min-height: 0;
    margin: 10px 15px 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1));
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: inset 0 0 34px rgba(255, 255, 255, .35), 0 8px 24px rgba(70, 100, 70, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.weather-grid {
    flex: 1 1 auto;
    min-height: 0;
    width: 91%;
    margin: 0 auto;
    transform: translateX(-5%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    column-gap: 12px;
    row-gap: clamp(14px, 2.6vh, 30px);
    align-content: center;
}

.weather-item {
    position: relative;
    min-width: 0;
    /* 高度由列宽按横向正六边形比例（宽:高=2:√3≈1.1547）推导，任何屏幕/全屏下形状都不拉长；
       max-height 仅在超宽矮屏下兜底防溢出，正常全屏不触发 */
    aspect-ratio: 2 / 1.732;
    max-height: 34vh;
    padding: clamp(14px, 2.6vh, 30px) clamp(14px, 1.4vw, 24px) clamp(12px, 2.2vh, 26px);
    /* 横向平顶六边形：--c 主色 / --cb 描边半透明 / --bg 浅底 / --bg2 曲面暗部 / --cd 3D厚度深色，由 nth-child 赋彩 */
    --c: #1971c2;
    --cb: rgba(25, 113, 194, .55);
    --bg: rgba(25, 113, 194, .12);
    --bg2: rgba(25, 113, 194, .36);
    --cd: #073e7a;
    background: var(--cb);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    /* 拟物3D：顶部白色高光边 → 9px 实色厚度底座 → 深色落地投影（clip-path 形状逐层投影） */
    filter:
        drop-shadow(0 -2px 1px rgba(255, 255, 255, .95))
        drop-shadow(0 9px 0 var(--cd))
        drop-shadow(0 15px 16px rgba(25, 45, 75, .42));
    transition: background-color .2s, filter .25s ease, transform .2s;
}

/* 内层填充：顶部集中光泽 + 上亮下暗的曲面渐变 + 四周内阴影，做出明显弧面凸起 */
.weather-item:before {
    content: "";
    position: absolute;
    inset: 2px;
    background:
        radial-gradient(130% 62% at 50% -8%, rgba(255, 255, 255, .98), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg,
            #ffffff 0%,
            rgba(255, 255, 255, .78) 40%,
            var(--bg2) 100%);
    box-shadow:
        inset 0 3px 5px rgba(255, 255, 255, .95),
        inset 0 -16px 24px rgba(25, 45, 75, .18),
        inset 4px 0 9px rgba(255, 255, 255, .5),
        inset -4px 0 9px rgba(25, 45, 75, .10);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.weather-item:hover {
    background: var(--c);
    /* 悬停微"按下"：厚度收薄、落地影变近变小，过渡顺滑 */
    filter:
        drop-shadow(0 -1px 1px rgba(255, 255, 255, 1))
        drop-shadow(0 4px 0 var(--cd))
        drop-shadow(0 7px 9px rgba(25, 45, 75, .45));
}

.weather-item:hover:before {
    background:
        radial-gradient(130% 62% at 50% -8%, rgba(255, 255, 255, .98), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, .72) 40%, var(--bg2) 100%);
}

/* 底部辉光线 */
.weather-item:after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 33%;
    right: 33%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c), transparent);
    opacity: .55;
}

/* 十色配色（深彩，浅底可读；与气象项一一对应）
   --c 主色  --cb 描边半透明  --bg 浅色玻璃底  --bg2 主色中染（曲面暗部）  --cd 主色加深（3D厚度/底边） */
.weather-item:nth-child(1)  { --c: #f76707; --cb: rgba(247, 103, 7, .5);  --bg: rgba(247, 103, 7, .16);  --bg2: rgba(247, 103, 7, .38);  --cd: #9c3f00; }
.weather-item:nth-child(2)  { --c: #1c7ed6; --cb: rgba(28, 126, 214, .5);  --bg: rgba(28, 126, 214, .14);  --bg2: rgba(28, 126, 214, .36);  --cd: #064d96; }
.weather-item:nth-child(3)  { --c: #2f9e44; --cb: rgba(47, 158, 68, .5);   --bg: rgba(47, 158, 68, .14);   --bg2: rgba(47, 158, 68, .36);   --cd: #125e25; }
.weather-item:nth-child(4)  { --c: #e8a317; --cb: rgba(232, 163, 23, .55); --bg: rgba(232, 163, 23, .18); --bg2: rgba(232, 163, 23, .42); --cd: #8f6108; }
.weather-item:nth-child(5)  { --c: #7048e8; --cb: rgba(112, 72, 232, .5);  --bg: rgba(112, 72, 232, .14);  --bg2: rgba(112, 72, 232, .36);  --cd: #3a1f9e; }
.weather-item:nth-child(6)  { --c: #1971c2; --cb: rgba(25, 113, 194, .5);  --bg: rgba(25, 113, 194, .14);  --bg2: rgba(25, 113, 194, .36);  --cd: #073e7a; }
.weather-item:nth-child(7)  { --c: #0ca678; --cb: rgba(12, 166, 120, .5);  --bg: rgba(12, 166, 120, .14);  --bg2: rgba(12, 166, 120, .36);  --cd: #045f45; }
.weather-item:nth-child(8)  { --c: #9c36b5; --cb: rgba(156, 54, 181, .5);  --bg: rgba(156, 54, 181, .14);  --bg2: rgba(156, 54, 181, .36);  --cd: #57166b; }
.weather-item:nth-child(9)  { --c: #d6336c; --cb: rgba(214, 51, 108, .5);  --bg: rgba(214, 51, 108, .14);  --bg2: rgba(214, 51, 108, .36);  --cd: #831540; }
.weather-item:nth-child(10) { --c: #e03131; --cb: rgba(224, 49, 49, .5);    --bg: rgba(224, 49, 49, .14);    --bg2: rgba(224, 49, 49, .36);    --cd: #8a0f0f; }

/* 蜂窝波浪：第一行 下-上-下-上-下 起伏，打破横平线 */
.weather-item { --wave: clamp(16px, 3vh, 32px); }

.weather-item:nth-child(5n+1),
.weather-item:nth-child(5n+3),
.weather-item:nth-child(5n+5) {
    transform: translateY(var(--wave));
}

.weather-item:nth-child(5n+2),
.weather-item:nth-child(5n+4) {
    transform: translateY(calc(var(--wave) * -1));
}

/* 第二行右移半格，起伏相位相反（上-下-上-下-上），无任何横竖对齐 */
/* 上移组与第一行下移列正对，需补偿 2 倍波浪量，避免上下重合 */
.weather-item:nth-child(6),
.weather-item:nth-child(8),
.weather-item:nth-child(10) {
    transform: translate(calc(50% + 6px), calc(var(--wave) * -1));
    margin-top: calc(clamp(16px, 3vh, 32px) * 2 - clamp(14px, 2.6vh, 30px) + 12px);
}

.weather-item:nth-child(7),
.weather-item:nth-child(9) {
    transform: translate(calc(50% + 6px), calc(var(--wave) + clamp(18px, 3.4vh, 34px)));
    margin-top: clamp(6px, 1.4vh, 18px);
}

.weather-item .w-label,
.weather-item .w-value {
    position: relative;
    z-index: 1;
}

.w-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, .6vh, 7px);
    font-size: clamp(16px, 1.5vw, 22px);
    letter-spacing: 1px;
    color: rgba(30, 52, 88, .8);
    white-space: nowrap;
    flex: 0 0 auto;
}

/* 标签图标：上下排列后图标居顶，尺寸随放大后的标签字号缩放 */
.w-icon {
    width: 2.4em;
    height: 2.4em;
    flex: 0 0 auto;
    color: var(--c);
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .9));
}

.w-value {
    margin: auto 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: bold;
    color: var(--c);
    line-height: 1.1;
    word-break: break-all;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .9);
}

.w-value i {
    font-style: normal;
    font-size: clamp(13px, 1.1vw, 17px);
    font-weight: normal;
    color: rgba(30, 52, 88, .6);
    margin-left: 5px;
}

/* ===== 底部数据来源栏 ===== */
.status-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin: 0 15px 6px;
    padding: 0 14px;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(30, 52, 88, .72);
    background: linear-gradient(90deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .2));
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 2px 8px rgba(70, 100, 70, .12);
}

/* ===== 页脚备案（与主平台 index 一致） ===== */
.footer {
    flex: 0 0 auto;
    text-align: center;
    padding: 6px 15px 8px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(28, 48, 82, .68);
}

.aa {
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
}

#police {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

/* ===== 高温报警弹层（版式同主平台 index：大三角 + 霓虹标题悬浮闪烁，红橙警示色） ===== */
.heat-alert {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(120, 30, 8, .34), rgba(30, 6, 4, .76));
    animation: heatMaskBlink 1s ease-in-out infinite;
}

.heat-alert.show { display: flex; }

.heat-alert-box {
    position: relative;
    min-width: 340px;
    padding: 20px 44px;
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    /* 独立合成层，避免 opacity 动画期间滤镜重新光栅化导致整体发虚 */
    transform: translateZ(0);
    will-change: opacity;
    backface-visibility: hidden;
    animation: heatBoxBlink 1s ease-in-out infinite;
}

.heat-alert-icon {
    width: 33vw;
    height: auto;
    display: block;
    margin: 0 auto 2vh;
    /* 辉光收窄并独立成层，保证三角描边锐利 */
    transform: translateZ(0);
    will-change: filter;
    filter: drop-shadow(0 0 .8vw rgba(255, 90, 60, .95));
}

.heat-alert-title {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 12px;
    text-indent: 12px;
    color: #ff5a3c;
}

.heat-alert-temp {
    margin-top: 14px;
    font-size: 16px;
    color: rgba(255, 238, 228, .95);
}

.heat-alert-temp b {
    font-size: 26px;
    color: #ff8a5c;
    margin: 0 2px;
}

.heat-alert-desc {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 238, 228, .75);
}

.heat-alert-close {
    position: absolute;
    top: -6px;
    right: 6px;
    width: 26px;
    height: 26px;
    line-height: 22px;
    padding: 0;
    font-size: 20px;
    color: rgba(255, 238, 228, .75);
    background: transparent;
    border: 1px solid rgba(255, 109, 61, .4);
    border-radius: 0;
    cursor: pointer;
    transition: all .2s;
}

.heat-alert-close:hover {
    color: #fff;
    border-color: #ff5a3c;
    background: rgba(255, 90, 60, .25);
    box-shadow: 0 0 10px rgba(255, 90, 60, .5);
    transform: none;
}

@keyframes heatBoxBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .72; }
}

@keyframes heatMaskBlink {
    0%, 100% { background: radial-gradient(ellipse at center, rgba(120, 30, 8, .34), rgba(30, 6, 4, .76)); }
    50% { background: radial-gradient(ellipse at center, rgba(170, 50, 12, .5), rgba(44, 8, 4, .85)); }
}

/* ===== 窄屏适配 ===== */
@media (max-width: 900px) {
    .weather-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: auto; overflow-y: auto; width: 100%; transform: none; }
    .weather-item { max-height: none; }
    .weather-item,
    .weather-item:nth-child(5n+1),
    .weather-item:nth-child(5n+2),
    .weather-item:nth-child(5n+3),
    .weather-item:nth-child(5n+4),
    .weather-item:nth-child(5n+5),
    .weather-item:nth-child(6),
    .weather-item:nth-child(7),
    .weather-item:nth-child(8),
    .weather-item:nth-child(9),
    .weather-item:nth-child(10) { transform: none; margin-top: 0; }
    html, body { overflow: auto; }
    main { overflow-y: auto; }
}

/* ===== 满屏漂浮气泡（纯装饰，不拦截鼠标，位于内容之下） ===== */
.bubbles {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubbles span {
    position: absolute;
    bottom: -14vh;
    width: var(--s, 30px);
    height: var(--s, 30px);
    border-radius: 50%;
    border: 1.5px solid var(--bc, rgba(255, 255, 255, .9));
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .45) 20%, var(--bt, rgba(255, 255, 255, .14)) 60%, rgba(255, 255, 255, .04) 100%);
    box-shadow: inset -5px -7px 14px rgba(255, 255, 255, .35), inset 4px 5px 10px rgba(255, 255, 255, .3), 0 0 16px rgba(255, 255, 255, .35);
    opacity: 0;
    animation: bubbleRise var(--d, 20s) linear infinite;
    animation-delay: var(--dl, 0s);
    will-change: transform, opacity;
}

/* 上升过程：底部淡入 → 左右摇摆上浮 → 顶部淡出 */
@keyframes bubbleRise {
    0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
    8%   { opacity: 1; }
    50%  { transform: translate(var(--x, 30px), -55vh) scale(1); }
    92%  { opacity: .9; }
    100% { transform: translate(calc(var(--x, 30px) * -1), -118vh) scale(1.05); opacity: 0; }
}

/* 16 个气泡（尺寸为基础值的两倍，明显饱满）：位置/尺寸/时长/延迟/微染色各不相同，错落满屏 */
.bubbles span:nth-child(1)  { left: 3%;  --s: 92px;  --d: 24s; --dl: -2s;  --x: 34px;  --bc: rgba(255,255,255,.9);   --bt: rgba(255,255,255,.16); }
.bubbles span:nth-child(2)  { left: 9%;  --s: 36px;  --d: 15s; --dl: -9s;  --x: -22px; --bc: rgba(255,214,235,.95); --bt: rgba(230,73,128,.22); }
.bubbles span:nth-child(3)  { left: 15%; --s: 60px;  --d: 19s; --dl: -5s;  --x: 26px;  --bc: rgba(255,255,255,.85);  --bt: rgba(255,255,255,.15); }
.bubbles span:nth-child(4)  { left: 21%; --s: 108px; --d: 28s; --dl: -14s; --x: -40px; --bc: rgba(214,230,255,.9);  --bt: rgba(25,113,194,.2); }
.bubbles span:nth-child(5)  { left: 28%; --s: 44px;  --d: 17s; --dl: -1s;  --x: 18px;  --bc: rgba(255,255,255,.9);   --bt: rgba(255,255,255,.16); }
.bubbles span:nth-child(6)  { left: 34%; --s: 80px;  --d: 23s; --dl: -11s; --x: -30px; --bc: rgba(216,255,238,.9);  --bt: rgba(12,166,120,.2); }
.bubbles span:nth-child(7)  { left: 40%; --s: 28px;  --d: 13s; --dl: -7s;  --x: 16px;  --bc: rgba(255,255,255,.95);  --bt: rgba(255,255,255,.16); }
.bubbles span:nth-child(8)  { left: 46%; --s: 72px;  --d: 21s; --dl: -17s; --x: 32px;  --bc: rgba(234,226,255,.95); --bt: rgba(112,72,232,.22); }
.bubbles span:nth-child(9)  { left: 52%; --s: 52px;  --d: 18s; --dl: -4s;  --x: -20px; --bc: rgba(255,255,255,.9);   --bt: rgba(255,255,255,.15); }
.bubbles span:nth-child(10) { left: 58%; --s: 100px; --d: 27s; --dl: -20s; --x: 42px;  --bc: rgba(255,240,214,.9);  --bt: rgba(247,103,7,.18); }
.bubbles span:nth-child(11) { left: 64%; --s: 32px;  --d: 14s; --dl: -10s; --x: -14px; --bc: rgba(255,255,255,.95);  --bt: rgba(255,255,255,.16); }
.bubbles span:nth-child(12) { left: 70%; --s: 88px;  --d: 25s; --dl: -6s;  --x: 36px;  --bc: rgba(255,230,224,.9);  --bt: rgba(214,51,108,.2); }
.bubbles span:nth-child(13) { left: 76%; --s: 48px;  --d: 16s; --dl: -13s; --x: -24px; --bc: rgba(255,248,220,.95); --bt: rgba(232,163,23,.22); }
.bubbles span:nth-child(14) { left: 82%; --s: 116px; --d: 30s; --dl: -3s;  --x: 46px;  --bc: rgba(255,255,255,.85);  --bt: rgba(255,255,255,.13); }
.bubbles span:nth-child(15) { left: 88%; --s: 40px;  --d: 15s; --dl: -12s; --x: -18px; --bc: rgba(220,244,255,.95); --bt: rgba(28,126,214,.22); }
.bubbles span:nth-child(16) { left: 95%; --s: 68px;  --d: 22s; --dl: -8s;  --x: 28px;  --bc: rgba(255,255,255,.9);   --bt: rgba(255,255,255,.15); }

/* 内容层级抬到气泡之上 */
.head { z-index: 1; }
main { position: relative; z-index: 1; }
.status-bar { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
    .bubbles { display: none; }
}

@media (max-width: 900px) {
    .bubbles span:nth-child(n+9) { display: none; }
}
