/* ==========================================================================
   PicaWeb 发布页 —— 像素级还原 picawang.com 原版首页
   上方为原版首页（pc-home / mobile-home / wave / social），规则照搬原站；
   下方 release 内容区沿用原版 pink 主题设计令牌。
   设计令牌（原站 pink light 主题）：
     主色 #ED97B7 · 浅粉 #F8B4C8 · 深粉 #D46C8F
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 原版设计令牌
   -------------------------------------------------------------------------- */
:root {
    --color-primary: #ED97B7;
    --color-primary-light: #F8B4C8;
    --color-primary-dark: #D46C8F;
    --color-primary-rgb: 237, 151, 183;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --background-color: #ffffff;
    --background-secondary-color: #f9fafb;
    --surface-color: #ffffff;
    --surface-secondary-color: #f8f8f8;
    --surface-accent-color: var(--color-primary-light);
    --text-color: #333333;
    --text-secondary-color: #666666;
    --text-muted-color: #9ca3af;
    --text-accent-color: var(--color-primary);
    --border-color: #dddddd;
    --border-secondary-color: #eeeeee;
    --border-accent-color: var(--color-primary);
    --hover-bg-color: rgba(0, 0, 0, 0.05);

    --spacing-1: 4px;
    --spacing-2: 8px;
    --spacing-3: 12px;
    --spacing-4: 16px;
    --spacing-5: 20px;
    --spacing-6: 24px;
    --spacing-7: 28px;
    --spacing-8: 32px;

    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
    --border-radius-xl: 16px;
    --border-radius-pill: 9999px;

    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 15px rgba(0, 0, 0, 0.1);

    --transition-fast: .15s ease;
    --transition-normal: .25s ease;
    --transition-slow: .35s ease;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, system-ui, sans-serif;
    --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

    --wide: min(1080px, 100% - 2rem);
}

/* --------------------------------------------------------------------------
   2. 基础（原版）
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: light;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, p, ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--color-primary);
    color: #ffffff;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. 内容容器（原版）
   -------------------------------------------------------------------------- */
.content-container {
    width: 100%;
    min-height: 100vh;
    background-color: var(--background-color);
}

.content-container--reader {
    padding: 0;
    min-height: unset;
    background-color: transparent;
}

/* --------------------------------------------------------------------------
   4. 桌面首页（原版 pc-home-container，规则照搬）
   -------------------------------------------------------------------------- */
.pc-home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-8);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-color, #f8fafc) 0%, var(--background-secondary-color, #e2e8f0) 100%);
    gap: var(--spacing-8);
}

.pc-welcome-section {
    text-align: center;
    padding: var(--spacing-4) 0;
    width: 100%;
    max-width: 800px;
}

.pc-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-4) 0;
    background: linear-gradient(135deg, var(--color-primary, #3b82f6), var(--color-primary-light, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-welcome-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary-color, #64748b);
    margin: 0;
    line-height: 1.6;
}

.pc-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-8);
    width: 100%;
    max-width: 1100px;
    animation-delay: .1s;
}

.pc-splash-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-4);
}

.pc-splash-image {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    transition: transform .3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .1));
}

.pc-splash-image:hover {
    transform: scale(1.02);
}

.pc-cta-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-8);
    max-width: 400px;
}

.pc-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: var(--spacing-4);
    color: var(--text-color, #1e293b);
    text-align: center;
}

.pc-cta-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    width: 100%;
    z-index: 2;
}

.pc-cta-button {
    padding: 1.2rem var(--spacing-8);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-4);
    box-shadow: 0 4px 12px #0000001a;
    cursor: pointer;
    color: var(--text-color, #1e293b);
    border: 1px solid var(--border-color, #e2e8f0);
    background: var(--surface-color, #ffffff);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.pc-cta-button:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hover-bg-color, rgba(0, 0, 0, .05));
    opacity: 0;
    transition: opacity .2s ease;
    z-index: -1;
}

.pc-cta-button:hover:before {
    opacity: 1;
}

.pc-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px #00000026;
    border-color: var(--color-primary, #3b82f6);
}

.pc-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px #0000001a;
}

.pc-cta-button .platform-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pc-cta-button span {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 1;
}

.pc-cta-button small {
    font-size: .8rem;
    opacity: .9;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.pc-cta-button.pc-platform-web .platform-icon { color: #3b82f6; }
.pc-cta-button.pc-platform-web span { color: #1d4ed8; }
.pc-cta-button.pc-platform-android .platform-icon { color: #22c55e; }
.pc-cta-button.pc-platform-android span { color: #16a34a; }
.pc-cta-button.pc-platform-ios .platform-icon { color: #6b7280; }
.pc-cta-button.pc-platform-ios span { color: #4b5563; }

.pc-bottom-section {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-6);
    margin-top: auto;
    padding-bottom: var(--spacing-8);
}

.pc-features-section {
    animation-delay: .2s;
}

.pc-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.pc-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-6) var(--spacing-4);
    background: var(--surface-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-light);
}

.pc-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: .8rem;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.pc-welcome-section,
.pc-content-wrapper,
.pc-features-section {
    animation: fadeInUp .6s ease-out;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   5. 社交链接（原版）
   -------------------------------------------------------------------------- */
.social-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl, 32px);
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.social-link:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.social-link:hover:before { opacity: .08; }

.social-link:hover {
    transform: translateY(-6px) scale(1.05);
}

.social-link:active {
    transform: translateY(-3px) scale(1.02);
}

.social-icon {
    font-size: 2rem;
    color: var(--text-color);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    opacity: .85;
}

.social-link:hover .social-icon {
    color: var(--text-accent-color);
    opacity: 1;
}

.social-link:focus-visible {
    outline: 2px solid var(--text-accent-color);
    outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   6. 移动首页（原版 mobile-home-container；容器改为流式，下方可接内容）
   -------------------------------------------------------------------------- */
.mobile-home-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4vh 4vw 4vh;
    margin: 0;
    gap: 2.2vh;
    min-height: 92vh;
    background: linear-gradient(135deg, var(--background-color, #f8fafc) 0%, var(--background-secondary-color, #e2e8f0) 100%);
    overflow: hidden;
    box-sizing: border-box;
}

.mobile-welcome-section {
    text-align: center;
    width: 100%;
    max-width: 320px;
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    padding: 0;
}

.mobile-welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-2) 0;
    background: linear-gradient(135deg, var(--color-primary, #3b82f6), var(--color-primary-light, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-welcome-subtitle {
    font-size: .95rem;
    color: var(--text-secondary-color, #64748b);
    margin: 0;
    line-height: 1.4;
}

.mobile-splash-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    justify-content: center;
}

.mobile-splash-image {
    max-width: 90%;
    width: auto;
    height: auto;
    max-height: 20vh;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .1));
}

.mobile-features-section {
    width: 100%;
    max-width: 320px;
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    padding: 0;
}

.mobile-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-2);
}

.mobile-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: .8rem var(--spacing-2);
    background: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: var(--shadow-light);
}

.mobile-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.mobile-feature-item .feature-icon {
    font-size: 1.5rem;
    margin-bottom: .4rem;
}

.mobile-feature-item .feature-text {
    font-size: 0.8rem;
}

.mobile-content-section {
    width: 100%;
    max-width: 320px;
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    padding: 0;
}

.mobile-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-3);
    text-align: center;
    color: var(--text-color, #1e293b);
}

.mobile-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    width: 100%;
    position: relative;
    z-index: 4;
}

.mobile-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2vh var(--spacing-2);
    border-radius: 12px;
    background: var(--surface-color, #ffffff);
    color: var(--text-color, #1e293b);
    border: 1px solid var(--border-color, #e2e8f0);
    transition: all .2s ease;
    box-shadow: 0 4px 12px #0000001a;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 0;
    cursor: pointer;
}

.mobile-cta-button:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hover-bg-color, rgba(0, 0, 0, .05));
    opacity: 0;
    transition: opacity .2s ease;
    z-index: -1;
}

.mobile-cta-button:hover:before { opacity: 1; }

.mobile-cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 6px #00000026;
}

.mobile-cta-button .platform-icon {
    font-size: 1.8rem;
    margin-bottom: .4rem;
    position: relative;
    z-index: 1;
}

.mobile-cta-button span {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .2rem;
    position: relative;
    z-index: 1;
}

.mobile-cta-button small {
    font-size: .7rem;
    opacity: .9;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.mobile-cta-button.mobile-platform-web .platform-icon { color: #3b82f6; }
.mobile-cta-button.mobile-platform-web span { color: #1d4ed8; }
.mobile-cta-button.mobile-platform-android .platform-icon { color: #22c55e; }
.mobile-cta-button.mobile-platform-android span { color: #16a34a; }
.mobile-cta-button.mobile-platform-ios .platform-icon { color: #6b7280; }
.mobile-cta-button.mobile-platform-ios span { color: #4b5563; }

.mobile-welcome-section,
.mobile-splash-section,
.mobile-features-section,
.mobile-content-section {
    animation: fadeInUp .6s ease-out;
}

.mobile-home-container .social-links {
    position: relative;
    z-index: 3;
}

.mobile-home-container .social-link {
    width: 48px;
    height: 48px;
}

.mobile-home-container .social-icon {
    font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   7. 波浪（原版）
   -------------------------------------------------------------------------- */
.wave-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, .02));
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400%;
    height: 100px;
    background-color: transparent;
}

.wave:before,
.wave:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary, #6d28d9);
    border-radius: 40% 44% 0 0 / 90% 90% 0 0;
}

.wave:after {
    left: 50%;
    border-radius: 44% 40% 0 0 / 90% 90% 0 0;
}

.wave1 { height: 60px; opacity: .15; z-index: 3; animation: wave-flow 20s linear infinite; }
.wave1:before, .wave1:after { height: 100%; }
.wave2 { height: 80px; opacity: .18; z-index: 2; animation: wave-flow 15s linear infinite reverse; }
.wave2:before, .wave2:after { height: 100%; border-radius: 48% 52% 0 0 / 85% 85% 0 0; }
.wave2:after { border-radius: 52% 48% 0 0 / 85% 85% 0 0; }
.wave3 { height: 40px; opacity: .12; z-index: 1; animation: wave-flow 25s linear infinite; }
.wave3:before, .wave3:after { height: 100%; border-radius: 45% 55% 0 0 / 95% 95% 0 0; }
.wave3:after { border-radius: 55% 45% 0 0 / 95% 95% 0 0; }

@keyframes wave-flow {
    0% { transform: translate(0); }
    to { transform: translate(-50%); }
}

/* --------------------------------------------------------------------------
   8. 发布页内容区（原版设计系统扩展）
   -------------------------------------------------------------------------- */
.release {
    position: relative;
    z-index: 2;
    width: var(--wide);
    margin-inline: auto;
    padding: clamp(1.6rem, 4vw, 3rem) 0 4rem;
}

.release__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2rem;
    padding: 0.5rem 1.1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-secondary-color);
    border-radius: var(--border-radius-pill);
    box-shadow: var(--shadow-light);
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    font-size: 0.78rem;
    color: var(--text-muted-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--text-muted-color);
}

.status-dot.is-ok {
    background: var(--color-success);
    animation: pulse-ok 2.6s ease-out infinite;
}

.status-dot.is-warn {
    background: var(--color-warning);
    animation: pulse-warn 2.6s ease-out infinite;
}

@keyframes pulse-ok {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-warn {
    0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
    70%  { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.release__section {
    padding-top: clamp(2.2rem, 5vw, 3.6rem);
    scroll-margin-top: 16px;
}

.release__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1.2rem;
    margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.release__num {
    flex: none;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.release__head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-color);
}

.release__note {
    margin-left: auto;
    max-width: 34ch;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted-color);
    text-align: right;
}

/* ---------- 线路卡片 ---------- */
.routes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: var(--spacing-5);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.45rem 1.35rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-light);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-primary-light);
}

.card:first-child {
    border-color: var(--color-primary-light);
    background: linear-gradient(168deg, #fdf2f6 0%, var(--surface-color) 58%);
}

.card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.card__idx {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted-color);
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.card__host {
    margin: 0.35rem 0 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    color: var(--color-primary-dark);
}

.card__desc {
    font-size: 0.86rem;
    line-height: 1.75;
    color: var(--text-secondary-color);
}

.card__points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1.05rem 0 1.35rem;
}

.card__points li {
    padding: 0.22rem 0.6rem;
    background: #fdf2f6;
    border: 1px solid var(--color-primary-light);
    border-radius: var(--border-radius-pill);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: auto;
}

/* ---------- 标签 ---------- */
.badge {
    flex: none;
    padding: 0.2rem 0.55rem;
    background: var(--surface-secondary-color);
    border-radius: var(--border-radius-pill);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary-color);
}

.badge--pink {
    background: var(--color-primary);
    color: #ffffff;
}

.badge--warn {
    background: #fef3c7;
    color: #b45309;
}

.badge--mute {
    background: var(--surface-secondary-color);
    color: var(--text-muted-color);
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.68rem 1rem;
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition-normal);
    -webkit-user-select: none;
    user-select: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-light);
}

.btn--primary {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(237, 151, 183, 0.35);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: 0 6px 16px rgba(237, 151, 183, 0.45);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary-color);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn--ghost:hover {
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
    background: #fdf2f6;
    transform: none;
    box-shadow: none;
}

.btn--dark {
    background: #333333;
    color: #ffffff;
    border-color: #333333;
    box-shadow: none;
}

.btn--dark:hover {
    background: #111111;
    border-color: #111111;
}

.btn--light {
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn--light:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    box-shadow: none;
}

.card .btn,
.dl .btn {
    padding: 0.62rem 0.9rem;
    font-size: 0.78rem;
}

/* ---------- 下载 ---------- */
.platforms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.4rem);
    align-items: start;
}

.platform__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.plat-tag {
    padding: 0.28rem 0.6rem;
    background: #fdf2f6;
    border: 1px solid var(--color-primary-light);
    border-radius: var(--border-radius-medium);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary-dark);
}

.platform__head h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-color);
}

.platform__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color), transparent);
}

.dl {
    position: relative;
    padding: 1.2rem 1.25rem 1.15rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.dl + .dl {
    margin-top: 0.9rem;
}

.dl:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-medium);
}

.dl--feature {
    background: linear-gradient(160deg, #fdf2f6 0%, var(--surface-color) 66%);
    border-color: var(--color-primary-light);
}

.dl__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.dl__ver {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-primary-dark);
}

.dl h4 {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
}

.dl__desc {
    margin-top: 0.35rem;
    font-size: 0.83rem;
    line-height: 1.7;
    color: var(--text-secondary-color);
}

.dl__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    color: var(--text-muted-color);
}

.dl__meta span {
    padding: 0.14rem 0.45rem;
    background: var(--surface-secondary-color);
    border-radius: var(--border-radius-small);
}

.dl__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.95rem;
}

.dl--mute {
    background: var(--surface-secondary-color);
    border: 1px dashed var(--border-color);
    box-shadow: none;
}

.dl--mute:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--color-primary-light);
}

.dl--mute .dl__ver {
    color: var(--text-muted-color);
}

.dl--mute .dl__desc {
    color: var(--text-muted-color);
}

.tip {
    margin-top: 0.95rem;
    padding: 0.7rem 0.9rem;
    background: var(--surface-color);
    border: 1px solid var(--border-secondary-color);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--border-radius-medium);
    font-size: 0.76rem;
    line-height: 1.75;
    color: var(--text-secondary-color);
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--surface-color);
    border: 1px solid var(--border-secondary-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.faq details {
    border-bottom: 1px solid var(--border-secondary-color);
}

.faq details:last-child {
    border-bottom: none;
}

.faq details[open] {
    background: #fdf2f6;
}

.faq summary {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 1.3rem;
    list-style: none;
    cursor: pointer;
    font-size: 0.94rem;
    font-weight: 600;
    transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before {
    content: "Q";
    flex: none;
    margin-top: 0.1rem;
    padding: 0.18rem 0.42rem;
    background: #fdf2f6;
    border-radius: var(--border-radius-medium);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

.faq summary::after {
    content: "+";
    margin-left: auto;
    padding-left: 1rem;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-primary);
    transition: transform 0.25s ease;
}

.faq details[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

.faq summary:hover {
    color: var(--color-primary-dark);
}

.faq__body {
    max-width: 74ch;
    padding: 0 1.3rem 1.25rem 3.3rem;
    font-size: 0.84rem;
    line-height: 1.9;
    color: var(--text-secondary-color);
}

/* ---------- 页脚 ---------- */
.release__footer {
    margin-top: clamp(2.6rem, 6vw, 4.6rem);
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-secondary-color);
}

.release__legal {
    max-width: 60ch;
    margin-bottom: 0.6rem;
    font-size: 0.76rem;
    line-height: 1.85;
    color: var(--text-muted-color);
}

.release__legal--warn {
    color: #b45309;
}

.release__footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.1rem;
    margin-top: 1.2rem;
    font-size: 0.82rem;
}

.release__footer-links a,
.release__footer-links button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-secondary-color);
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.release__footer-links a:hover,
.release__footer-links button:hover {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-primary);
}

.release__copyright {
    margin-top: 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted-color);
}

/* --------------------------------------------------------------------------
   9. Toast
   -------------------------------------------------------------------------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 1.6rem;
    z-index: 100;
    max-width: min(90vw, 420px);
    padding: 0.72rem 1.1rem;
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--color-primary-light);
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 28px rgba(237, 151, 183, 0.25);
    font-size: 0.82rem;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, 18px);
    pointer-events: none;
    transition: opacity 0.26s ease, transform 0.26s ease;
}

.toast.is-on {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   10. 入场动画（release 内容区）
   -------------------------------------------------------------------------- */
html.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    html.js .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .wave1, .wave2, .wave3,
    .pc-welcome-section, .pc-content-wrapper, .pc-features-section,
    .mobile-welcome-section, .mobile-splash-section, .mobile-features-section, .mobile-content-section,
    .status-dot.is-ok, .status-dot.is-warn {
        animation: none !important;
    }
}

/* --------------------------------------------------------------------------
   11. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
    .pc-home-container {
        display: none;
    }

    .mobile-home-container {
        display: flex;
    }

    .pc-welcome-title {
        font-size: 2rem;
    }
}

@media (max-width: 760px) {
    .platforms {
        grid-template-columns: 1fr;
    }

    .release__note {
        flex-basis: 100%;
        margin-left: 0;
        max-width: none;
        text-align: left;
    }

    .release__status {
        width: auto;
    }

    .faq summary {
        padding: 1rem 1.05rem;
    }

    .faq__body {
        padding: 0 1.05rem 1.1rem 2.6rem;
    }

    .toast {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        transform: translateY(18px);
    }

    .toast.is-on {
        transform: translateY(0);
    }
}
