
:root {
    --gavin-highlight: rgb(var(--gavin-theme-color));
    --gavin-theme-color-light: 0,100,255;
    --gavin-theme-color-dark: 0,150,255;
}

[data-theme="light"] {
    --op: 255, 255, 255;
    --op-dis: 0, 0, 0;
    --f-0: #fff;
    --dis-f-0: #000;
    --gavin-theme-color: var(--gavin-theme-color-light);
}

[data-theme="dark"] {
    --op: 0, 0, 0;
    --op-dis: 255, 255, 255;
    --f-0: #000;
    --dis-f-0: #fff;
    --gavin-theme-color: var(--gavin-theme-color-dark);
}

.zz-card-calndar a,
.zz-card-calndar div {
    color: var(--dis-f-0);
}

#fgx {
    border: none; 
    margin: 4px 0; 
  }

.fgxline {
position: relative;
height: 2px; /* 线条的高度 */
background: rgb(210 238 247 / 70%); /* 线条的颜色 */
width: 100%; /* 线条的宽度占满容器 */
overflow: hidden; /* 隐藏溢出的内容 */
}

.light {
position: absolute;
left: -100%; /* 初始位置在左侧外 */
top: 0;
height: 100%;
width: 100%; /* 光束的宽度等于线条宽度 */
background: linear-gradient(90deg, #bd24d9, #6243d3 25%, #465aef 55%, #0d8ee9 75%, #11c2d2 95%, #ffffff 100%);
animation: sweep 2s infinite; /* 动画名称、持续时间和无限循环 */
}

@keyframes sweep {
from { left: -100%; } /* 开始时在左边外 */
to { left: 100%; } /* 结束时移动到右边外 */
}

#calendar-area {
    flex-direction: column;
    display: flex;
    
}

#card-widget-calendar {
    display: flex;
}

#calendar-area-left {
    width: 45%;;
    padding: 4px 8px 4px 0;
    position: relative;
}

#calendar-area-right {
    width: 55%;
    padding: 4px 0px 4px 8px;
}

#calendar-area-left,
#calendar-area-right {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#calendar-main {
    width: 100%;
}

#calendar-week {
    height: 1.2rem;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: bold;
    align-items: center;
    display: flex;
    margin-bottom: 98px;
}

#calendar-date {
    height: 3rem;
    line-height: 1.3;
    font-size: 64px;
    letter-spacing: 3px;
    color: var(--gavin-highlight);
    font-weight: bold;
    align-items: center;
    display: flex;
    position: absolute;
    top: calc(50% - 2.1rem);
}

#calendar-solar,
#calendar-lunar {
    height: 0rem;
    font-size: 10px; /*日历公历和农历 */
    align-items: center;
    display: flex;
    position: absolute;
    white-space: nowrap; /*不允许换行*/
}

#calendar-solar {
    bottom: 2.1rem;
}

#calendar-lunar {
    bottom: 1rem;
    color: rgba(var(--op-dis),.4);
}

#calendar-main a {
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    font-size: 10px;
    line-height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#calendar-main a.now {
    background: var(--gavin-highlight);
    color: var(--f-0);
}

#calendar-main .calendar-rh a {
    color: rgba(var(--op-dis),.4);
}

.calendar-rh,
.calendar-r0,
.calendar-r1,
.calendar-r2,
.calendar-r3,
.calendar-r4,
.calendar-r5 {
    height: 1.2rem;
    display: flex;
}

.calendar-d0,
.calendar-d1,
.calendar-d2,
.calendar-d3,
.calendar-d4,
.calendar-d5,
.calendar-d6 {
    width: calc(100% / 7);
    display: flex;
    justify-content: center;
    align-items: center;
}

#card-widget-schedule {
    display: flex;
}

#schedule-area-left,
#schedule-area-right {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#schedule-area-left {
    width: 30%;
    padding: 0 0;
}

#schedule-area-right {
    width: 70%;
    padding: 0;
    margin-right: 0;
}

.schedule-r0,
.schedule-r1,
.schedule-r2 {
    height: 2rem;
    width: 100%;
    align-items: center;
    display: flex;
}

.schedule-d0 {
    width: 50px;
    margin-right: 0px;
    text-align: right;
    font-size: 10px;
}

.schedule-d1 {
    width: calc(100% - 35px);
    height: 1.5rem;
    align-items: center;
    display: flex;
}

progress::-webkit-progress-bar {
    background: linear-gradient(to right, rgba(var(--gavin-theme-color), .03), rgba(var(--gavin-theme-color), .05), rgba(var(--gavin-theme-color), .12));
    border-radius: 5px;
    overflow: hidden;
}

progress::-webkit-progress-value {
    background: rgba(var(--gavin-theme-color), .24);
    border-radius: 5px;
}

.aside-span1,
.aside-span2 {
    height: 1rem;
    font-size: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    position: absolute;
}

.aside-span1 { /*进度条距离左边*/
    margin-left: 8px;
}

.aside-span2 {
    right: 30px;
    color: rgba(var(--op-dis),.5);
}

.aside-span2 a {
    margin: 0 3px;
}

#pBar_year,
#pBar_month,
#pBar_week {
    width: 100%;
    border-radius: 5px;
    height: 100%;
    margin: 0 5px;
}

#schedule-title,
#schedule-days,
#schedule-date {
    display: flex;
    align-items: center;
}

#schedule-title {
    height: 25px;
    line-height: 1;
    font-size: 14px;
    font-weight: bold;
}

#schedule-days {
    height: 40px;
    line-height: 1;
    font-size: 30px;
    font-weight: 900;
    color: var(--gavin-highlight);
}

#schedule-date {
    height: 20px;
    line-height: 1;
    font-size: 12px;
    color: rgba(var(--op-dis),.5);
}