/* 青苗计划 前台样式 - 游戏立体风(主题变量版,cookie切换由theme.js实现) */
/* ========== 全站主题变量:蓝(默认)/绿/粉 html[data-theme]控制 ========== */
:root,
html[data-theme="blue"] {
    --cc-main: #6cbcd4;
    --cc-main-deep: #4a9eb8;
    --cc-bar-bg: #00618a;
    --cc-bar-border: #0d5170;
    --cc-shadow: rgba(13, 81, 112, .45);
    --cc-shadow2: rgba(13, 81, 112, .55);
    --cc-text: #3a5560;
    --cc-tag-text: #3e8fa8;
    --cc-main-18: rgba(108, 188, 212, .18);
    --cc-main-25: rgba(108, 188, 212, .25);
    --cc-main-40: rgba(108, 188, 212, .4);
    --cc-main-light: #e4f2f5;
    --cc-border: #d2e3e8;
    --cc-border-light: #e3f0f8;
    --cc-grad-light: linear-gradient(135deg, #e3f0f8, #cfe7f5);
    --cc-grad-fill: linear-gradient(90deg, #8dd6e0, #6cbcd4);
    --cc-grad-bar: linear-gradient(135deg, #9dd8e6, #6cbcd4);
}

html[data-theme="green"] {
    --cc-main: #6cc7a2;
    --cc-main-deep: #46a67e;
    --cc-bar-bg: #1f7a56;
    --cc-bar-border: #176244;
    --cc-shadow: rgba(23, 98, 68, .45);
    --cc-shadow2: rgba(23, 98, 68, .55);
    --cc-text: #33544a;
    --cc-tag-text: #2f8563;
    --cc-main-18: rgba(108, 199, 162, .2);
    --cc-main-25: rgba(108, 199, 162, .28);
    --cc-main-40: rgba(108, 199, 162, .45);
    --cc-main-light: #e6f6ef;
    --cc-border: #d5e8de;
    --cc-border-light: #e2f2ea;
    --cc-grad-light: linear-gradient(135deg, #e2f2ea, #cfe9dd);
    --cc-grad-fill: linear-gradient(90deg, #8dd6ba, #6cc7a2);
    --cc-grad-bar: linear-gradient(135deg, #9dd8c4, #6cc7a2);
}

html[data-theme="pink"] {
    --cc-main: #f2a0b8;
    --cc-main-deep: #e07a9a;
    --cc-bar-bg: #c95f80;
    --cc-bar-border: #a84a67;
    --cc-shadow: rgba(168, 74, 103, .45);
    --cc-shadow2: rgba(168, 74, 103, .55);
    --cc-text: #5c4a52;
    --cc-tag-text: #c25d7f;
    --cc-main-18: rgba(242, 160, 184, .22);
    --cc-main-25: rgba(242, 160, 184, .3);
    --cc-main-40: rgba(242, 160, 184, .45);
    --cc-main-light: #fbe9ef;
    --cc-border: #f0dde4;
    --cc-border-light: #f7e8ee;
    --cc-grad-light: linear-gradient(135deg, #f7e8ee, #f2d3de);
    --cc-grad-fill: linear-gradient(90deg, #f5bcd0, #f2a0b8);
    --cc-grad-bar: linear-gradient(135deg, #f7c6d4, #f2a0b8);
}
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    background-image: url("img/body.png");
    background-size: 100% 100%;
    /* 宽高自动拉满整个视口 */
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* 滚动时背景固定，可选项 */
    font-family: -apple-system, "Microsoft YaHei", sans-serif;
    color: var(--cc-text);
   
}

.cc-wrap {
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    

}

/*小清新主题色:三套主题变量见文件顶部:root定义*/
/*游戏立体按钮*/
.game-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: all .08s ease;
    user-select: none;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(0, 0, 0, .16);
}

.game-btn:active {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -2px 0 rgba(0, 0, 0, .2);
    transform: translateY(2px);
}

.btn-green {
    background-color: var(--cc-main);
    color: #fff;
}

.btn-blue {
    background-color: #1e9fff;
    color: #fff;
}

.btn-red {
    background-color: #ff5722;
    color: #fff;
}

/*顶部栏:全宽,内部内容限宽1024px居中*/
.cc-topbar {
    background: var(--cc-bar-bg);
    color: #fff;
    padding: 14px 0;
    box-sizing: border-box;
    /* 边框不撑大宽度 */
    border-left: 2px solid var(--cc-bar-border);
    /* 左侧实色描边 */
    border-right: 2px solid var(--cc-bar-border);
    /* 右侧实色描边 */
    box-shadow:
        -8px 0 5px 0 var(--cc-shadow),
        8px 0 5px 0 var(--cc-shadow);
    /* 右侧 */
    max-width: 750px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: calc(100% - 14px);
    margin: 0 auto;

}

.cc-topbar-inner {
    padding: 0 14px;
    margin: 0 auto;
}

.cc-stu-tabs {
    position: sticky;
    top: 48px;
    z-index: 99;
}

.cc-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cc-topbar-title {
    font-size: 18px;
    font-weight: bold;
}

.cc-topbar-id {
    font-size: 12px;
    opacity: .85;
    margin-top: 3px;
}

.cc-topbar-logout {
    font-size: 13px;
    color: #fff;
    padding: 5px 14px 7px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .2);
}

.cc-topbar-logout:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);
    transform: translateY(1px);
}

.cc-topbar-logout-out {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .2);

    background-image: linear-gradient(to right, #f85032 0%, #e73827 51%, #f85032 100%);
    padding: 1px 8px;
    border-radius: 8px;
    padding-top: 1px;
}
.cc-topbar-logout-out:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);
    transform: translateY(1px);cursor: pointer;
}
.cc-topbar-logout-out i {
    font-size: 20px;
}

/*子页面顶栏:返回箭头(返回键在最左,白色)*/
.cc-topbar .cc-back {
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}

/*非首页第二层白条:空状态保留高度,与顶部蓝条阴影呼应*/
.cc-stu-tabs:empty {
    min-height: 18px;
}

/*学生Tab*/
.cc-stu-tabs {
    width: calc(100% - 14px);
    background: #fff;
    border-bottom: 1px solid var(--cc-border-light);
    box-sizing: border-box;
    /* 边框不撑大宽度 */
    border-left: 2px solid var(--cc-bar-border);
    /* 左侧实色描边 */
    border-right: 2px solid var(--cc-bar-border);
    border-bottom: 2px solid var(--cc-bar-border);
    /* 底部描边 */

    /* 底部扩散投影 */
    /* 右侧实色描边 */
    border-radius: 0 0 12px 12px;
    box-shadow:
        0 2px 6px var(--cc-shadow2),
        /* 底部 */
        -8px 0 8px 0px var(--cc-shadow2),
        /* 左侧 */
        8px 0 8px 0px var(--cc-shadow2);
    /* 右侧 */
    max-width: 750px;
    margin: 0 auto;
}

.cc-stu-tabs-inner {
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 20px;
    gap: 8px;

}

.cc-stu-tabs-inner::-webkit-scrollbar {
    display: none;
}

.cc-stu-tab {
    flex-shrink: 0;
    padding: 7px 18px;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
    background: #f0f6fa;
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 0 rgba(0, 0, 0, .1);
}

.cc-stu-tab:active {
    transform: translateY(1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .08);
}

.cc-stu-tab.active {
    background: var(--cc-main);
    color: #fff;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), inset 0 -4px 0 rgba(0, 0, 0, .2);
}

/*打卡管理-分组选项卡(超管模式)*/
.cc-group-tabs {
    background: #fff;
    border-bottom: 1px solid var(--cc-border-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    padding: 8px 12px;
    gap: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;    margin: 4px 10px 10px;
        border-radius: 10px;
}

.cc-group-tabs::-webkit-scrollbar {
    display: none;
}

.cc-group-tab {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
    background: #f0f6fa;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 0 rgba(0, 0, 0, .1);
}

.cc-group-tab.active {
    background: var(--cc-main);
    color: #fff;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), inset 0 -4px 0 rgba(0, 0, 0, .2);
}

/*日历*/
.cc-cal {
    background: #fff;
    margin: 4px 10px 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -3px 0 rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .04);
}

.cc-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.cc-cal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.cc-cal-nav {
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .2);
  background-image: linear-gradient(to right, #83a4d4 0%, #b6fbff 51%, #83a4d4 100%);
    padding: 3px 10px;
    border-radius: 8px;  background-size: 200% auto;
    color: #fff;
    text-shadow: 0 0 3px #333;
}

.cc-cal-nav:active {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .08);
    transform: translateY(1px);
}

.cc-cal-toggle {
    font-size: 12px;
    color: var(--cc-tag-text);
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--cc-main-light);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .06);
}

.cc-cal-toggle:active {
    transform: translateY(1px);
}

/*周模式:星期标题行+正方形日期格子(和月视图一致)*/
.cc-cal-week {
    padding: 0 6px 12px;
}

.cc-cal-wk-headrow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 4px;
}

.cc-cal-wk-headrow>div {
    text-align: center;
    font-size: 12px;
    color: #9aa7ad;
    padding: 2px 0;
}

.cc-cal-wk-cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cc-cal-wk-cell {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--cc-text);
    position: relative;
    border-radius: 8px;
    background: #fdeef1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.cc-cal-wk-cell.no-task {
    background: #e6eaee;
    color: #b6c0c6;
    cursor: default;
    box-shadow: none;
}

.cc-cal-wk-cell.today {
    background: var(--cc-main-18);
    color: var(--cc-tag-text);
    font-weight: bold;
    box-shadow: inset 0 0 0 1px var(--cc-main-40);
}

.cc-cal-wk-cell.selected {
    box-shadow: inset 0 0 0 2px var(--cc-main);
}

.cc-cal-wk-cell:not(.no-task):active {
    background: #e6f1f6;
}

.cc-cal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
}

.cc-cal-dot.green {
    background: #52c41a;
}

.cc-cal-dot.yellow {
    background: #ffb800;
}

.cc-cal-dot.red {
    background: #ff5722;
}

/*月模式:整月网格(格子与周视图一致)*/
.cc-cal-month {
    padding: 0 6px 12px;
}

.cc-cal-wkrow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 4px;
}

.cc-cal-wkrow>div {
    text-align: center;
    font-size: 12px;
    color: #9aa7ad;
    padding: 2px 0;
}

.cc-cal-mgrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cc-cal-mcell {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--cc-text);
    position: relative;
    border-radius: 8px;
    background: #fdeef1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.cc-cal-mcell.empty {
    background: transparent;
    color: #ccc;
    box-shadow: none;
    cursor: default;
}

.cc-cal-mcell.no-task {
    background: #e6eaee;
    color: #b6c0c6;
    cursor: default;
    box-shadow: none;
}

.cc-cal-mcell.today {
    background: var(--cc-main-18);
    color: var(--cc-tag-text);
    font-weight: bold;
    box-shadow: inset 0 0 0 1px var(--cc-main-40);
}

.cc-cal-mcell.selected {
    box-shadow: inset 0 0 0 2px var(--cc-main);
}

.cc-cal-mcell:not(.no-task):not(.empty):active {
    background: #e6f1f6;
}

.cc-cal-mdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
}

.cc-cal-mdot.green {
    background: #52c41a;
}

.cc-cal-mdot.yellow {
    background: #ffb800;
}

.cc-cal-mdot.red {
    background: #ff5722;
}

/*详情区*/
.cc-detail {
    margin: 0 10px 10px;
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -3px 0 rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .04);
    display: none;
}

.cc-detail-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-detail-status {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
}

.cc-detail-status.green {
    background: #e3f8e8;
    color: #52c41a;
}

.cc-detail-status.yellow {
    background: #fff5e0;
    color: #ffb800;
}

.cc-detail-status.red {
    background: #fde9e4;
    color: #ff5722;
}

.cc-detail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-detail-item {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    border: none;
    background: #f0f6fa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .06);
}

.cc-detail-item.done {
    background: #52c41a;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .2);
}

.cc-detail-item.undone {
    background: #f5f5f5;
    color: #999;
}

.cc-detail-item.undone i {
    color: #ff5722;
    margin-right: 4px;
}

.cc-detail-item.done i {
    color: #fff;
    margin-right: 4px;
}

/*请假按钮和状态标签*/
.cc-leave-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
    flex-wrap: wrap;
}

.cc-leave-btn {
    border: none;
    border-radius: 14px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .2);
}

.cc-leave-btn:active {
    transform: translateY(1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .15);
}

.cc-leave-btn:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
}

.cc-leave-tag {
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 10px;
    font-weight: bold;
}

.cc-leave-tag.waiting {
    background: #fff5e0;
    color: #ff9800;
}

.cc-leave-tag.done {
    background: #e3f8e8;
    color: #52c41a;
}

.cc-leave-tag.giveup {
    background: #fde9e4;
    color: #ff5722;
}

.cc-today-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cc-today-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.cc-today-date {
    font-size: 12px;
    color: #999;
}

/*属性卡:树形象+进度条*/
.cc-stat {
    margin: 16px 10px 6px;
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -3px 0 rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .04);
}

.cc-stat-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.cc-gender {
    display: inline-block;
    font-size: 15px;
    margin-left: 6px;
    vertical-align: middle;
}

.cc-gender.male {
    color: #1e9fff;
}

.cc-gender.female {
    color: #ff5722;
}

/*树形象区*/
.cc-tree-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0 6px;
}

.cc-tree-img {
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
}

.cc-tree-fallback {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--cc-grad-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--cc-main);
}

.cc-tree-title {
    font-size: 13px;
    color: var(--cc-main);
    font-weight: bold;
    margin-top: 6px;
}

/*经验进度条(仿游戏)*/
.cc-exp-wrap {
    margin-top: 12px;
    position: relative;
}

.cc-exp-text {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    align-items: center;
}

.cc-exp-cur {
    color: var(--cc-main);
    font-weight: bold;
}

.cc-exp-gain {
    color: #ff9800;
    font-weight: bold;
    font-size: 13px;
    margin-left: 4px;
}

.cc-exp-bar {
    height: 14px;
    background: #eef2f8;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.cc-exp-fill {
    height: 100%;
    background: var(--cc-grad-fill);
    border-radius: 8px;
    transition: width .5s ease;
    position: relative;
}

.cc-exp-fill::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 4px;
    background: rgba(255, 255, 255, .4);
    border-radius: 6px;
}

.cc-exp-maxed .cc-exp-fill {
    background: linear-gradient(90deg, #ffb800, #ff9800);
}

/*属性格子(简化:金币+等级)*/
.cc-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.cc-stat-box {
    background: #f8fbfd;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(0, 0, 0, .06);
}

.cc-stat-box .v {
    font-size: 18px;
    font-weight: bold;
    color: var(--cc-main);
}

.cc-stat-box .l {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.cc-stat-box.coin .v {
    color: #ffb800;
}

.cc-stat-box.lv .v {
    color: #1e9fff;
}

.cc-stat-attr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.cc-stat-attr .cc-stat-box .v {
    font-size: 15px;
    color: #ff5722;
}

/*未登录*/
.cc-login-home {
    text-align: center;
    padding: 120px 20px 40px;
}

.cc-login-home h1 {
    font-size: 32px;
    color: var(--cc-main);
    letter-spacing: 3px;
    margin: 0 0 10px;
}

.cc-login-home p {
    color: #888;
    margin: 0 0 36px;
    font-size: 14px;
}

.cc-login-home .game-btn {
    width: 80%;
    max-width: 280px;
    height: 60px;
    line-height: 35px;
    font-size: 20px;
    border-radius:8px;  background-image: linear-gradient(to right, #fd746c 0%, #ff9068 51%, #fd746c 100%);
}

.cc-links {
    margin-top: 18px;
    font-size: 13px;
}

.cc-links a {
    color: #1e9fff;
    margin: 0 8px;
}

.cc-footer {
    text-align: center;
    color: #bbb;
    font-size: 11px;
    padding: 20px 0 30px;
}

.cc-footer a {
    color: #bbb;
}

.cc-empty-stu {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 14px;
}

/*今日打卡提示(虚拟形象下方)*/
.cc-today-check-tip {
    margin: 8px 0 4px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.cc-today-check-tip.checked {
    background: rgba(71, 176, 83, .15);
    color: #47b053;
}

.cc-today-check-tip:not(.checked) {
    background: rgba(255, 87, 34, .12);
    color: #ff5722;
}

/*项目打卡次数列表*/
.cc-item-counts {
    margin: 8px 0;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.cc-item-count-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
}

.cc-item-count-row:last-child {
    border-bottom: none;
}

.cc-item-count-name {
    color: var(--cc-text);
    font-weight: bold;
}

.cc-item-count-val {
    color: var(--cc-main);
    font-size: 12px;
}

/*排行入口按钮组*/
.cc-rank-btns {
    display: flex;
    gap: 8px;
    margin: 10px 0 4px;
}

.cc-rank-btn {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: bold;
    color: var(--cc-main);
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    transition: all .15s;
}

.cc-rank-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 2px rgba(0, 0, 0, .1);
}
.cc-rank-btn i{
    font-size: 30px;
display: block;font-weight: normal;
}

/*打卡管理页特有样式(日历复用style.css的.cc-cal系列)*/
/*日历未来日期禁用*/
.cc-cal-wk-cell.future,
.cc-cal-mcell.future {
    background: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: .5;
}

/*组员列表*/
.cc-members {
    margin: 0 10px 80px;
}

.cc-members-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 14px 0 10px;
    padding: 0 4px;
}

.cc-mem-card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -3px 0 rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .04);
}

.cc-mem-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-mem-status {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
}

.cc-mem-status.green {
    background: #e3f8e8;
    color: #52c41a;
}

.cc-mem-status.gray {
    background: #f5f5f5;
    color: #999;
}

.cc-mem-leave {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.cc-mem-leave.wait {
    background: #fff5e0;
    color: #ff9800;
}

.cc-mem-leave.done {
    background: #e3f8e8;
    color: #52c41a;
}

.cc-mem-leave.giveup {
    background: #fde9e4;
    color: #ff5722;
}

.cc-mem-card.cc-mem-leaving {
    box-shadow: inset 3px 0 0 #ff9800, inset 0 2px 0 rgba(255, 255, 255, .8), 0 1px 3px rgba(0, 0, 0, .04);
}

/*LAYUI tag标签框容器*/
.cc-mem-tags {
    margin-top: 4px;
}

.cc-mem-tags .layui-form-checkbox[lay-skin=tag] {
    margin: 0 8px 8px 0;
}

.cc-mem-tags .layui-form-checkbox[lay-skin=tag]>span {
    border-radius: 8px;
}

.cc-mem-leave-btn {
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 12px;
    border: none;
    background: var(--cc-main);
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .15);
}

.cc-mem-leave-btn:active {
    transform: translateY(1px);
}

.cc-empty {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 14px;
}

/* ============ 底部漂浮工具栏(首页登录后) ============ */
.cc-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 998;
    padding: 0 14px;
}

.cc-dock-inner {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.cc-dock-btn {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: #fff;
    color: var(--cc-text);
    border: 2px solid var(--cc-bar-border);
    box-shadow: 0 3px 0 var(--cc-bar-border), 0 6px 12px var(--cc-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    user-select: none;
    transition: all .1s ease;
}

.cc-dock-btn i {
    font-size: 20px;
}

.cc-dock-btn span {
    font-size: 12px;
    font-weight: bold;
}

.cc-dock-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--cc-bar-border), 0 3px 6px var(--cc-shadow);
}

/*中间刷新按钮放大*/
.cc-dock-btn.cc-dock-mid {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    background: var(--cc-main);
    color: #fff;
}

.cc-dock-btn.cc-dock-mid i {
    font-size: 27px;
}

.cc-dock-btn.cc-dock-mid span {
    font-size: 13px;
}

/*底部工具栏(全前台登录后)内容避让*/
.cc-wrap {
    padding-bottom: 110px;
}

/* ============ 设置面板(layer弹窗内容) ============ */
.cc-set-panel {
    padding: 16px 16px 14px;
}

.cc-set-row {
    margin-bottom: 14px;
}

.cc-set-row:last-child {
    margin-bottom: 0;
}

/*第一行:主题色块(无提示文字)*/
.cc-theme-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 4px 0 2px;
}

.cc-theme-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #ccc;
    transition: all .15s ease;
}

.cc-theme-dot[data-t="blue"] {
    background: #6cbcd4;
}

.cc-theme-dot[data-t="green"] {
    background: #6cc7a2;
}

.cc-theme-dot[data-t="pink"] {
    background: #f2a0b8;
}

.cc-theme-dot:hover {
    transform: scale(1.08);
}

.cc-theme-dot.active {
    box-shadow: 0 0 0 2px var(--cc-bar-border);
    transform: scale(1.1);
}

/*第二行/第三行:标签+内容*/
.cc-set-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-set-label {
    font-size: 13px;
    color: var(--cc-text);
    white-space: nowrap;
}

.cc-set-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-set-link {
    font-size: 13px;
    color: var(--cc-tag-text);
    text-decoration: underline;
    cursor: pointer;
}

/*第四行:商品缩略图栅格(色块占位)*/
.cc-shop-grid {
    margin-top: 2px;
}

.cc-shop-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--cc-main-18);
    border: 1px solid var(--cc-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-shop-thumb i {
    font-size: 22px;
    color: var(--cc-main);
}