/* ============================================
   碰享同城 · 公共皮肤系统
   用法：页面 <body class="skin-xxx"> 即可切换
   默认：不写 class，走 :root 的 default 皮肤
   ============================================ */

/* 默认皮肤（商务蓝） */
:root, body.skin-default {
    --theme: #4A7FE8;
    --theme-dark: #1E4FB8;
    --theme-light: #E8F0FE;
    --theme-bg: linear-gradient(135deg, #4A7FE8, #1E4FB8);
    --theme-text: #fff;
    --accent: #FF7A45;
    --success: #00B578;
    --warning: #FAAD14;
    --danger: #FF4D4F;
    --page-bg: #F5F7FA;
    --card-bg: #fff;
    --text-main: #1F2937;
    --text-sub: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
}

/* 春季（绿） */
body.skin-spring {
    --theme: #52C41A;
    --theme-dark: #389E0D;
    --theme-light: #F6FFED;
    --theme-bg: linear-gradient(135deg, #95DE64, #52C41A);
    --accent: #FA8C16;
}

/* 夏季（橙） */
body.skin-summer {
    --theme: #FA8C16;
    --theme-dark: #D46B08;
    --theme-light: #FFF7E6;
    --theme-bg: linear-gradient(135deg, #FFC53D, #FA8C16);
    --accent: #52C41A;
}

/* 秋季（金棕） */
body.skin-autumn {
    --theme: #A0522D;
    --theme-dark: #6B3410;
    --theme-light: #FDF6EC;
    --theme-bg: linear-gradient(135deg, #D4A373, #A0522D);
    --accent: #E6A23C;
}

/* 冬季（冰蓝） */
body.skin-winter {
    --theme: #40A9FF;
    --theme-dark: #096DD9;
    --theme-light: #E6F7FF;
    --theme-bg: linear-gradient(135deg, #91D5FF, #40A9FF);
    --accent: #00B578;
}

/* 节日（红金） */
body.skin-festival {
    --theme: #E63946;
    --theme-dark: #B71C1C;
    --theme-light: #FFEBEE;
    --theme-bg: linear-gradient(135deg, #FF6B6B, #E63946);
    --accent: #FFD700;
}

/* 暗黑 */
body.skin-dark {
    --theme: #4A7FE8;
    --theme-dark: #1E4FB8;
    --theme-light: #1F2937;
    --theme-bg: linear-gradient(135deg, #2C2F36, #1A1C20);
    --page-bg: #12141A;
    --card-bg: #1F2228;
    --text-main: #E5E7EB;
    --text-sub: #9CA3AF;
    --text-light: #6B7280;
    --border: #2C2F36;
}

/* 哀悼（黑白） */
body.skin-mourning {
    --theme: #595959;
    --theme-dark: #262626;
    --theme-light: #F0F0F0;
    --theme-bg: linear-gradient(135deg, #595959, #262626);
    --accent: #8C8C8C;
    --page-bg: #FAFAFA;
}

/* ============================================
   通用应用：让页面自动跟随变量
   ============================================ */
body {
    background: var(--page-bg);
    color: var(--text-main);
}
a { color: var(--theme); }
