:root {
    --pink-1: #ff6fa0;        /* 粉 */
    --pink-2: #ffb6c8;        /* 樱花粉 */
    --pink-3: #ffe4ec;        /* 浅粉 */
    --pink-4: #fff0f5;        /* 极浅粉，接近白 */
    --ink: #4a2a3b;
    --ink-soft: #7a5a6b;
    --line: rgba(255, 143, 183, .35);
    --line-soft: rgba(255, 143, 183, .18);
    --ok: #34d399;
    --err: #f87171;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--ink);
    min-height: 100vh;
    line-height: 1.6;
    background:
        radial-gradient(1400px 800px at 10% -20%, var(--pink-1), transparent 60%),
        radial-gradient(1200px 700px at 110% 10%, var(--pink-2), transparent 55%),
        linear-gradient(180deg, var(--pink-3) 0%, var(--pink-4) 55%, #ffffff 100%);
    background-attachment: fixed;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 44px 24px 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ===== Header ===== */
header {
    text-align: center;
}

header h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--pink-1), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}

/* ===== Status Card ===== */
.status-card {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 18px 40px rgba(255, 111, 160, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.status-indicator {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 26px rgba(52, 211, 153, .35);
    flex-shrink: 0;
    transform-origin: center center;
    /* 心跳：约 1.35s 完成"咚—哒—停"双跳节奏，停顿时长约占 55% 不急躁 */
    animation: pulse 1.35s cubic-bezier(.22,1,.36,1) infinite;
}

@keyframes pulse {
    0%   { transform: scale(1);      box-shadow: 0 0 26px rgba(52, 211, 153, .35); }
    /* 第一拍：咚 —— 快速向外膨胀（心脏收缩喷出） */
    12%  { transform: scale(1.17);   box-shadow: 0 0 42px rgba(52, 211, 153, .55); }
    /* 第一拍立刻回弹 */
    22%  { transform: scale(1.01);   box-shadow: 0 0 28px rgba(52, 211, 153, .38); }
    /* 第二拍：哒 —— 紧接着稍弱的二次跳动（真实心跳 lub-dub） */
    30%  { transform: scale(1.10);   box-shadow: 0 0 36px rgba(52, 211, 153, .48); }
    /* 第二拍回弹 */
    40%  { transform: scale(1);      box-shadow: 0 0 26px rgba(52, 211, 153, .35); }
    /* 长停顿（舒张期）：给心脏"休息"的感觉，不然看起来像快喘 */
    100% { transform: scale(1);      box-shadow: 0 0 26px rgba(52, 211, 153, .35); }
}

.status-info h2 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: #c0265b;
}

.status-info p {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* ===== Shortcuts ===== */
.shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.shortcut-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 20px;
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(8px);
    transition: all .2s ease;
    box-shadow: 0 10px 26px rgba(255, 111, 160, .08);
}

.shortcut-card:hover {
    transform: translateY(-2px);
    border-color: var(--pink-1);
    box-shadow: 0 16px 32px rgba(255, 111, 160, .18);
    background: rgba(255, 255, 255, .85);
}

.shortcut-card.primary {
    background: linear-gradient(135deg, rgba(255, 192, 203, .55), rgba(192, 132, 252, .22));
}

.shortcut-card.secondary {
    background: linear-gradient(135deg, rgba(255, 182, 200, .5), rgba(147, 197, 253, .25));
}

/* 🎀 投稿功能卡片：纯粉色可爱渐变 */
.shortcut-card.contribute {
    background: linear-gradient(135deg, #ffe5ed 0%, #ffc2d6 45%, #ffa8c2 100%);
    border: 1px solid rgba(255, 134, 167, .65);
    box-shadow: 0 14px 32px rgba(255, 134, 167, .32);
}
.shortcut-card.contribute:hover {
    background: linear-gradient(135deg, #ffd9e6 0%, #ffb0cb 45%, #ff95b5 100%);
    border-color: #ff86a7;
    box-shadow: 0 18px 38px rgba(255, 134, 167, .46);
    transform: translateY(-3px);
}
.shortcut-card.contribute .sc-icon {
    background: linear-gradient(135deg, #fff 0%, #ffd1e1 100%);
    border: 1px solid rgba(255, 134, 167, .55);
    box-shadow: 0 4px 12px rgba(255, 134, 167, .28), inset 0 1px 0 #fff;
}
.shortcut-card.contribute .sc-body h3 { color: #c0266a; font-weight: 800; }
.shortcut-card.contribute .sc-body p  { color: #a56a7f; font-weight: 600; }

.sc-icon {
    font-size: 2rem;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff, var(--pink-3));
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 #fff;
}

.sc-body h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--ink);
}

.sc-body p {
    color: var(--ink-soft);
    font-size: 0.85rem;
}

/* ===== Plugins Section ===== */
.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: #c0265b;
}

.section-tip {
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.plugin-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(6px);
    transition: all .2s ease;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255, 111, 160, .08);
}

.plugin-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255, 192, 203, .35), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}

.plugin-card:hover {
    transform: translateY(-3px);
    border-color: var(--pink-1);
    box-shadow: 0 18px 34px rgba(255, 111, 160, .18);
}

.plugin-card:hover::before {
    opacity: 1;
}

.plugin-badge,
.plugin-tag {
    position: absolute;
    top: 12px;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid var(--line);
}

.plugin-tag {
    left: 12px;
    color: #c0265b;
    background: rgba(255, 182, 200, .55);
}

.plugin-badge {
    right: 12px;
    color: #6d28d9;
    background: rgba(192, 132, 252, .22);
}

.plugin-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 14px;
    word-break: break-word;
    color: var(--ink);
}

.plugin-arrow {
    color: var(--pink-1);
    font-size: 0.85rem;
    font-weight: 700;
}

.plugins-empty {
    padding: 22px;
    background: rgba(255, 255, 255, .55);
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--ink-soft);
    letter-spacing: 0.35em;
    font-size: 1.1rem;
    text-align: center;
}

code {
    background: rgba(255, 182, 200, .3);
    padding: 2px 7px;
    border-radius: 8px;
    font-size: 0.85em;
    color: #c0265b;
    border: 1px solid var(--line-soft);
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    color: var(--ink-soft);
    font-size: 0.85rem;
}
