/* =========================================================
   MIK 盒子 官网 · 布局 v2「启动台」
   顶栏吸顶 + 无卡片 Hero + 双栏工作区
   （视觉语言沿用：毛玻璃 / 壁纸背景 / Spring Q弹）
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --spring: cubic-bezier(0.22, 1.18, 0.36, 1);
    --spring-soft: cubic-bezier(0.25, 1.12, 0.35, 1);
    --ease-ios: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --blur-px: 1px;

    --glass: rgba(0, 0, 0, 0.38);
    --glass-hi: rgba(0, 0, 0, 0.20);
    --line: rgba(255, 255, 255, 0.10);
    --line-hi: rgba(255, 255, 255, 0.20);

    --fast: 160ms;
    --normal: 420ms;
    --slow: 680ms;

    --r-lg: 24px;
    --r-md: 18px;
    --r-sm: 14px;
}

html {
    min-height: 100%;
    background: #111;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    position: relative;
    color: #fff;
    background: transparent;
    opacity: 0;
    animation: bodyFadeIn 0.9s var(--spring) forwards;
}

@keyframes bodyFadeIn {
    0% { opacity: 0; }
    55% { opacity: 0.92; }
    100% { opacity: 1; }
}

/* =========================================================
   背景
========================================================= */
.bg-layer {
    position: fixed;
    inset: -6%;
    z-index: 0;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translate3d(0, 0, 0) scale(1.05);
    transition: opacity 0.9s var(--ease-ios);
    will-change: opacity;
    backface-visibility: hidden;
    background-color: #191921;
    background-image: radial-gradient(120% 90% at 50% 0%, #2a2a3a 0%, #191921 45%, #101014 100%);
    opacity: 1;
}

.bg-layer.active, 
.bg-layer.url-ready {
    opacity: 1;
}

.bg-dark {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.62) 70%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.30));
}

/* =========================================================
   顶栏（吸顶）
========================================================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px max(16px, 4vw);
    background: rgba(10, 10, 14, 0.42);
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.5s var(--ease-ios);
}

.topbar.scrolled {
    background: rgba(8, 8, 12, 0.55);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 0 0 2px rgba(255, 255, 255, 0.06);
    transition: transform 0.6s var(--spring), box-shadow 0.5s var(--spring);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 28%;
}

.brand:hover .brand-logo {
    transform: rotate(-6deg) scale(1.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 0 2px rgba(255, 178, 87, 0.55);
}

/* 自绘线性图标（替代 emoji） */
.ico {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.ico-s { width: 15px; height: 15px; stroke-width: 1.8; }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.brand-text b {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.brand-text span {
    font-size: 11px;
    opacity: 0.55;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

.dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
}

.dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2.2s var(--ease-ios) infinite;
    will-change: transform, opacity;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 19px;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--line);
    transition: transform 0.6s var(--spring), background 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
    .icon-btn:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: var(--line-hi);
        transform: rotate(22deg) scale(1.06);
    }
}

.icon-btn:active {
    transform: scale(0.88) rotate(-10deg);
    transition-duration: 100ms;
}

/* =========================================================
   容器
========================================================= */
.shell {
    position: relative;
    z-index: 2;
    width: min(1160px, 92%);
    margin: 0 auto;
    padding: 30px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* =========================================================
   Hero（不套卡片，直接压在壁纸上）
========================================================= */
.hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    padding: 26px 4px 6px;
    flex-wrap: wrap;
}

.hero-main {
    max-width: 640px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid var(--line);
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    animation: riseIn 0.8s var(--spring) 60ms forwards;
}

.hero h1 {
    font-size: clamp(34px, 6.4vw, 62px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.6px;
    margin: 14px 0 12px;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    animation: riseIn 0.9s var(--spring) 120ms forwards;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #ffb457, #ff6b3d 55%, #ff9a5c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: riseIn 0.9s var(--spring) 190ms forwards;
}

@keyframes riseIn {
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* 运行时面板 */
.runtime-box {
    min-width: 236px;
    padding: 18px 20px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--line);
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.94);
    animation: cardSpringIn 0.85s var(--spring) 240ms forwards;
}

.runtime-box .rb-label {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}

.runtime-val {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.6px;
    font-variant-numeric: tabular-nums;
}

.runtime-val small {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.6;
    margin-left: 4px;
    letter-spacing: 0;
}

.runtime-box .rb-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   主工作区：双栏
========================================================= */
.grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.panel {
    position: relative;
    border-radius: var(--r-lg);
    padding: 22px 20px;
    background: var(--glass);
    border: 1px solid var(--line);
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.94);
    animation: cardSpringIn 0.85s var(--spring) forwards;
    transition: background 0.35s ease, border-color 0.4s ease, box-shadow 0.5s var(--spring);
}

.panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 55%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    transition: left 1s var(--spring);
}

@media (hover: hover) {
    .panel:hover::before { left: 145%; }
    .panel:hover {
        background: rgba(0, 0, 0, 0.30);
        border-color: var(--line-hi);
        box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    }
}

@keyframes cardSpringIn {
    0% { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.94); }
    52% { opacity: 1; transform: translate3d(0, -4px, 0) scale(1.014); }
    74% { transform: translate3d(0, 1px, 0) scale(0.998); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.panel:nth-child(1) { animation-delay: 300ms; }
.side .panel:nth-child(1) { animation-delay: 380ms; }
.side .panel:nth-child(2) { animation-delay: 460ms; }

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.panel-head h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.panel-head h2::before {
    content: "";
    width: 4px;
    height: 17px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffb457, #ff6b3d);
}

.panel-tag {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

/* =========================================================
   启动台磁贴
========================================================= */
.tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 15px 15px;
    border-radius: var(--r-md);
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.5s var(--spring), background 0.32s ease, border-color 0.32s ease, box-shadow 0.45s var(--spring);
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 178, 87, 0.22), transparent 62%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.tile-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 19px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--line);
    transition: transform 0.6s var(--spring), background 0.3s ease;
}

.tile b {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.tile i {
    font-style: normal;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.tile.wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
}

.tile.wide .tile-ico {
    margin-bottom: 0;
}

.tile.wide .tile-txt {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tile.wide .tile-go {
    margin-left: auto;
    font-size: 18px;
    opacity: 0.45;
    transition: transform 0.55s var(--spring), opacity 0.3s ease;
}

@media (hover: hover) {
    .tile:hover {
        transform: translate3d(0, -5px, 0) scale(1.022);
        background: rgba(255, 255, 255, 0.13);
        border-color: var(--line-hi);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.20);
    }
    .tile:hover::after { opacity: 1; }
    .tile:hover .tile-ico { transform: scale(1.1) rotate(-6deg); }
    .tile.wide:hover .tile-go { transform: translateX(4px); opacity: 0.85; }
}

.tile:active {
    transform: translate3d(0, 1px, 0) scale(0.955);
    transition-duration: 95ms;
}

/* =========================================================
   关于 / 标签
========================================================= */
.about-text {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.chip {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    transition: transform 0.45s var(--spring), background 0.3s ease;
}

@media (hover: hover) {
    .chip:hover {
        background: rgba(255, 178, 87, 0.20);
        transform: translate3d(0, -2px, 0);
    }
}

/* =========================================================
   链接列表（官方小店）
========================================================= */
.link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.link-list li + li {
    border-top: 1px solid var(--line);
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 4px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.45s var(--spring), background 0.3s ease;
}

.link-item .li-ico {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    transition: transform 0.55s var(--spring), background 0.3s ease;
}

.link-item .li-go {
    margin-left: auto;
    opacity: 0.4;
    font-size: 15px;
    transition: transform 0.5s var(--spring), opacity 0.3s ease;
}

@media (hover: hover) {
    .link-item:hover {
        color: #fff;
        padding-left: 9px;
    }
    .link-item:hover .li-ico {
        transform: scale(1.08);
        background: rgba(255, 178, 87, 0.22);
    }
    .link-item:hover .li-go {
        transform: translateX(4px);
        opacity: 0.9;
    }
}

.link-item:active {
    transform: scale(0.985);
    transition-duration: 90ms;
}

/* =========================================================
   Footer
========================================================= */
.foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    padding-top: 6px;
    opacity: 0;
    animation: riseIn 0.8s var(--spring) 620ms forwards;
}

.foot-avatar {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--line-hi);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.30);
    transition: transform 0.6s var(--spring);
}

.foot-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 28%;
}

.foot:hover .foot-avatar {
    transform: rotate(12deg) scale(1.12);
}

.foot b {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   设置弹窗
========================================================= */
.setting-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s var(--ease-ios), visibility 0.45s;
}

.setting-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.setting-card {
    background: rgba(20, 20, 30, 0.86);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    width: 86%;
    max-width: 400px;
    color: #fff;
    border: 1px solid var(--line-hi);
    transform: translate3d(0, 46px, 0) scale(0.87);
    opacity: 0;
    transition: transform 0.72s var(--spring), opacity 0.35s var(--ease-ios), box-shadow 0.7s var(--spring);
}

.setting-overlay.show .setting-card {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.setting-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 22px;
    text-align: center;
}

.setting-item {
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 0.5s var(--spring), transform 0.55s var(--spring);
}

.setting-overlay.show .setting-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.setting-item:nth-of-type(1) { transition-delay: 150ms; }
.setting-item:nth-of-type(2) { transition-delay: 205ms; }

.setting-item label {
    font-size: 13.5px;
    opacity: 0.85;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.20);
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.30);
    transition: transform 0.35s var(--spring);
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.22);
}

select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-hi);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    outline: none;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: transform 0.4s var(--spring), border-color 0.3s ease;
}

select:focus {
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.01);
}

select option {
    background: #1a1a2e;
    color: #fff;
}

.set-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--r-sm);
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    margin-top: 6px;
    transition: transform 0.45s var(--spring), background 0.3s ease;
}

@media (hover: hover) {
    .set-btn:hover {
        background: rgba(255, 255, 255, 0.24);
        transform: translate3d(0, -2px, 0);
    }
}

.set-btn:active {
    transform: scale(0.94);
    transition-duration: 90ms;
}

.set-btn.close-btn {
    background: rgba(255, 255, 255, 0.08);
    margin-top: 10px;
}

/* =========================================================
   毛玻璃（仅在模糊值 ≥3px 时由 JS 开启）
   移动端滚动时 backdrop-filter 开销极大，几乎不模糊时不如不开
========================================================= */
body.fx-glass .topbar,
body.fx-glass .panel,
body.fx-glass .runtime-box {
    backdrop-filter: blur(var(--blur-px)) saturate(128%);
    -webkit-backdrop-filter: blur(var(--blur-px)) saturate(128%);
}

/* =========================================================
   音乐按钮（点了才加载播放器脚本）
========================================================= */
.music-btn {
    position: fixed;
    right: 18px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    z-index: 70;
    cursor: pointer;
    background: rgba(8, 8, 12, 0.55);
    border: 1px solid var(--line-hi);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.30);
    transition: transform 0.55s var(--spring), background 0.3s ease, border-color 0.3s ease;
}

.music-btn.on {
    background: rgba(255, 178, 87, 0.22);
    border-color: rgba(255, 178, 87, 0.55);
    color: #ffd9a8;
}

@media (hover: hover) {
    .music-btn:hover {
        transform: scale(1.08) rotate(-8deg);
        background: rgba(255, 255, 255, 0.16);
    }
}

.music-btn:active {
    transform: scale(0.86);
    transition-duration: 100ms;
}

/* =========================================================
   响应式
========================================================= */
@media (max-width: 880px) {
    .grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero {
        padding-top: 16px;
    }
    .runtime-box {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .shell {
        width: 92%;
        padding: 18px 0 34px;
        gap: 16px;
    }
    .hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }
    .tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .tile {
        padding: 14px 12px 13px;
        align-items: center;
        text-align: center;
    }
    .tile b,
    .tile i {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tile.wide {
        grid-column: span 3;
        align-items: center;
        text-align: left;
    }
    .tile.wide b,
    .tile.wide i {
        white-space: normal;
    }
    .panel {
        padding: 18px 16px;
        border-radius: 20px;
    }
    .status-chip span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
    

/* MIK extra */
.func-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:8px}
.func-item{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:11px;background:rgba(255,255,255,.055);border:1px solid var(--line);font-size:12.5px;transition:background var(--fast) ease,transform .4s var(--spring)}
.func-item:hover{background:rgba(255,255,255,.11);transform:translateY(-2px)}
.func-item .n{width:19px;height:19px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;background:rgba(255,255,255,.10);border:1px solid var(--line);flex:none;opacity:.8}
.panel-full{grid-column:1/-1}


/* ==== 感谢名单页专属 ==== */
/* =========================================================
   感谢名单页专属
========================================================= */
.para {
    font-size: 14.5px;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.80);
}

.para + .para {
    margin-top: 12px;
}

.para b {
    color: #fff;
    font-weight: 600;
}

.para.small {
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.68);
}

.panel-head-sub {
    margin-top: 22px;
}

.thanks-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.t-item {
    position: relative;
    padding: 19px 20px 17px 23px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--line);
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.96);
    animation: cardSpringIn 0.8s var(--spring) forwards;
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.5s var(--spring);
}

.t-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ffb457, #ff6b3d);
}

@media (hover: hover) {
    .t-item:hover {
        transform: translate3d(3px, 0, 0);
        background: rgba(0, 0, 0, 0.34);
        border-color: var(--line-hi);
    }
}

.t-item:nth-child(1) { animation-delay: 240ms; }
.t-item:nth-child(2) { animation-delay: 290ms; }
.t-item:nth-child(3) { animation-delay: 340ms; }
.t-item:nth-child(4) { animation-delay: 390ms; }
.t-item:nth-child(5) { animation-delay: 440ms; }
.t-item:nth-child(6) { animation-delay: 490ms; }
.t-item:nth-child(7) { animation-delay: 540ms; }
.t-item:nth-child(8) { animation-delay: 590ms; }
.t-item:nth-child(9) { animation-delay: 640ms; }

.t-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 9px;
}

.t-ico {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #ffbe7a;
    background: rgba(255, 178, 87, 0.14);
    border: 1px solid rgba(255, 178, 87, 0.26);
}

.t-name {
    font-size: 17.5px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.t-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

.t-desc {
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.76);
}

.t-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.t-chip {
    font-size: 11.5px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #ffc78f;
    background: rgba(255, 178, 87, 0.13);
    border: 1px solid rgba(255, 178, 87, 0.24);
}

.plain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

/* 感谢名单 · 落款（右下角） */
.para-sign {
    text-align: right;
    font-size: 13px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: .6px;
}

/* 顶栏 · 倒计时（brand 文本下方） */
.brand-countdown {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 3px;
    font-size: 10.5px;
    letter-spacing: .2px;
    white-space: nowrap;
}
.brand-countdown .bc-label {
    opacity: .45;
    font-weight: 400;
}
#countdown {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #ffb457;
    letter-spacing: .3px;
}
#countdown small {
    font-size: 9.5px;
    font-weight: 500;
    opacity: .75;
    margin: 0 2px;
}
@media (max-width: 420px) {
    .brand-countdown { font-size: 9.5px; }
    #countdown small { font-size: 8.5px; }
}

/* =========================================================
   MIK 音乐 · 弹窗播放器（内嵌官网，风格对齐设置弹窗）
========================================================= */
.music-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.42s var(--ease-ios), visibility 0.42s;
    padding: 16px;
}
.music-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.music-card {
    background: rgba(20, 20, 30, 0.90);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border-radius: var(--r-lg);
    padding: 20px 18px 16px;
    width: 100%;
    max-width: 430px;
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    border: 1px solid var(--line-hi);
    transform: translate3d(0, 46px, 0) scale(0.87);
    opacity: 0;
    transition: transform 0.72s var(--spring), opacity 0.35s var(--ease-ios), box-shadow 0.7s var(--spring);
}
.music-overlay.show .music-card {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.42);
}
.music-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex: 0 0 auto;
}
.music-head .mh-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.4px;
}
.music-head .mh-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.4s var(--spring), background 0.25s ease;
}
.music-head .mh-close:active {
    transform: scale(0.86);
    background: rgba(255, 255, 255, 0.20);
}

/* 搜索框 */
.music-search {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex: 0 0 auto;
}
.music-search input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 14px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.music-search input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}
.music-search input:focus {
    border-color: rgba(255, 178, 87, 0.55);
    background: rgba(255, 255, 255, 0.10);
}
.music-search button {
    flex: 0 0 auto;
    padding: 0 18px;
    border-radius: 11px;
    border: none;
    background: rgba(255, 178, 87, 0.85);
    color: #201400;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.4s var(--spring), background 0.25s ease;
}
.music-search button:active {
    transform: scale(0.93);
    background: rgba(255, 178, 87, 1);
}

/* 列表 */
.music-list {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    margin: 0 -6px;
    padding: 0 6px;
    min-height: 120px;
}
.music-list::-webkit-scrollbar {
    width: 4px;
}
.music-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
}
.music-empty {
    text-align: center;
    padding: 34px 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
}
.music-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    border-radius: 11px;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.35s var(--spring);
}
@media (hover: hover) {
    .music-row:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}
.music-row:active {
    transform: scale(0.985);
    background: rgba(255, 255, 255, 0.12);
}
.music-row.playing {
    background: rgba(255, 178, 87, 0.16);
}
.music-row .mr-idx {
    flex: 0 0 auto;
    width: 18px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
    font-variant-numeric: tabular-nums;
}
.music-row.playing .mr-idx {
    color: #ffb457;
}
.music-row .mr-txt {
    flex: 1 1 auto;
    min-width: 0;
}
.music-row .mr-name {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.music-row.playing .mr-name {
    color: #ffd9a8;
}
.music-row .mr-artist {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放控件 */
.music-player {
    flex: 0 0 auto;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.music-now {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 9px;
    text-align: center;
    min-height: 18px;
}
.music-now b {
    color: #ffb457;
    font-weight: 600;
}
.music-ctrl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 10px;
}
.music-ctrl button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
    transition: transform 0.42s var(--spring), background 0.25s ease;
}
.music-ctrl button.main {
    width: 52px;
    height: 52px;
    font-size: 19px;
    background: rgba(255, 178, 87, 0.88);
    color: #201400;
}
.music-ctrl button:active {
    transform: scale(0.88);
}
.music-progress {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.50);
    font-variant-numeric: tabular-nums;
}
.music-progress .mp-bar {
    flex: 1 1 auto;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.music-progress .mp-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #ffb457;
    border-radius: 2px;
    transition: width 0.2s linear;
}
@media (max-width: 420px) {
    .music-card {
        padding: 18px 14px 14px;
        max-height: 88vh;
    }
    .music-head .mh-title {
        font-size: 16px;
    }
}


/* =========================================================
   音乐图标 · 播放时变封面 + 旋转
========================================================= */
.music-btn .mb-cover {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    overflow: hidden;
}
.music-btn .mb-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.55) 0 13%, rgba(0,0,0,0) 14%), linear-gradient(135deg, rgba(255,255,255,0.14), rgba(0,0,0,0.22));
}
.music-btn.has-cover .mb-cover {
    opacity: 1;
}
.music-btn.spinning .mb-cover {
    animation: mbSpin 9s linear infinite;
}
@keyframes mbSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.music-btn.spinning .ico {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.music-btn .ico {
    transition: opacity 0.3s ease;
}

/* =========================================================
   悬浮歌词 · 从右往左滑出
========================================================= */
.music-lyric {
    position: fixed;
    right: 74px;
    bottom: 26px;
    max-width: min(58vw, 420px);
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(14, 14, 20, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 13.5px;
    line-height: 1.35;
    z-index: 69;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translate3d(28px, 0, 0);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.22,1.2,.36,1);
}
.music-lyric.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.music-lyric .ml-txt {
    display: inline-block;
    color: #ffe4bd;
    text-shadow: 0 0 14px rgba(255, 178, 87, 0.28);
}
.music-lyric .ml-none {
    color: rgba(255, 255, 255, 0.52);
    font-size: 12.5px;
}
@media (max-width: 480px) {
    .music-lyric {
        right: 70px;
        left: 14px;
        max-width: none;
        font-size: 12.5px;
        padding: 8px 12px;
    }
}

/* =========================================================
   官网 · 公告 / 维护横幅 / 下载
========================================================= */
.maint-bar {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: var(--r-lg, 16px);
    background: linear-gradient(135deg, var(--mb-bg, rgba(220, 38, 38, 0.24)), var(--mb-bg2, rgba(153, 27, 27, 0.18)));
    border: 1px solid var(--mb-bd, rgba(248, 113, 113, 0.42));
    box-shadow: 0 8px 26px var(--mb-sh, rgba(220, 38, 38, 0.16));
}
.maint-bar .mb-ico {
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 1.3;
}
.maint-bar .mb-body {
    flex: 1 1 auto;
    min-width: 0;
}
.maint-bar .mb-body b {
    display: block;
    font-size: 14px;
    color: var(--mb-tt, #fecaca);
    margin-bottom: 3px;
}
.maint-bar .mb-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--mb-tx, rgba(255, 235, 235, 0.82));
    word-break: break-word;
}

.notice-card {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: var(--r-lg, 16px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.notice-card .nc-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}
.notice-card .nc-ico {
    font-size: 15px;
}
.notice-card .nc-head b {
    font-size: 14.5px;
    color: #ffb457;
    font-weight: 600;
}
.notice-card .nc-body {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    word-break: break-word;
}
@media (max-width: 480px) {
    .maint-bar { padding: 12px 14px; }
    .notice-card { padding: 14px 15px; }
    .notice-card .nc-body { font-size: 13px; }
}
