/* Sun-Panel-Helper CSS */
/* 此文件由系统自动管理，请勿手动修改 */
/* 警告：手动修改可能导致样式冲突或程序异常 */
/* 上次更新：2/17/2025, 9:49:11 AM */

/* Sun-Panel-Helper CSS Start: clock-style */
/* 引入默认字体 */
@import url('https://fonts.googleapis.com/css2?family=Zen+Dots&display=swap');

/* 标题位置调整 */
.absolute .logo { 
  position: absolute;
  top: 20px;
  left: 20px;
  padding-left: 35px;
}

.absolute .logo .md\:text-6xl {
  font-size: 1.75rem;
}

/* 删除竖线 */
.text-base {
  display: none;
}

/* 时钟样式 */
.clock {
  position: relative;
  top: -50px;
  --yell: #F5CE5A;
}

.clock.w-full {
  width: fit-content;
}

.clock .md\:block {
  display: inline;
}

/* 时钟字体设置 */
.clock span.clock-time {
  font-size: 55px;
  font-family: "undefined", "Zen Dots", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* 日期和星期样式 */
span.clock-date, span.clock-week {
  position: absolute;
  font-size: 23px;
  font-weight: 900;
  inset: -45px auto auto -30px;
}

/* 装饰边框 */
.clock:before {
  content: "";
  position: absolute;
  width: 50px;
  border-left: 5px solid var(--yell);
  border-bottom: 5px solid var(--yell);
  inset: 0 auto -20px -20px;
  border-radius: 0 28px;
}

.clock:after {
  content: "";
  position: absolute;
  width: 50px;
  border-right: 5px solid var(--yell);
  border-top: 5px solid var(--yell);
  inset: -25px -20px 10px auto;
  border-radius: 0 28px;
}

span.clock-week {
  font-weight: 700;
  inset: auto -30px -30px auto;
  font-size: 19px;
}

.sun-panel-logo {
  margin-top: 20px !important;
  margin-left: 20px !important;
}
/* Sun-Panel-Helper CSS End: clock-style */

/* Sun-Panel-Helper CSS Start: global-font */
/* 自定义字体 */
@font-face {
  font-family: "猫啃圆珠体";
  src: url("/custom/helper/font/猫啃圆珠体.ttf");
}
/* 自定义全局字体 */
* {
  font-family: 猫啃圆珠体;
}
/* Sun-Panel-Helper CSS End: global-font */

/* Sun-Panel-Helper CSS Start: fixed-widgets */
/* ====================== Widget组件样式 开始 ====================== */
/* Widget容器布局 */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

/* Widget基础样式 */
.widget {
    box-sizing: content-box;
    border-radius: 0px;
    transition: transform 0.3s ease;
    margin: 0px;
    flex: 1 1 100px;
}

/* 换行控制器 */
.widget-break {
    flex-basis: 100%;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    clear: both;
}

/* 移动端布局控制 */
@media screen and (max-width: 768px) {
    .row {
        gap: -8px;
        margin-top: -10px;
        display: flex;
        flex-grow: 150;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .widget {
        display: none;
    }

    .widget.show-on-mobile {
        display: block;
    }
}

/* Widget hover效果 */
@media screen and (min-width: 769px) {
    .widget:hover {
        transform: translateY(-5px);
    }
}
/* ====================== Widget组件样式 结束 ====================== */
/* Sun-Panel-Helper CSS End: fixed-widgets */

/* Sun-Panel-Helper CSS Start: mouse-cursor */
body {
  cursor: url(https://img.hi-linux.com/staticfile/P1i7yA-2024-04-26-hZZjUZ.png) 0 0, default !important;
}

.cursor-pointer,
a:hover,
button:hover,
.clickable:hover {
  cursor: url(https://img.hi-linux.com/staticfile/hVX0Sf-2024-04-26-INwMSQ.png) 0 0, pointer !important;
}
/* Sun-Panel-Helper CSS End: mouse-cursor */

/* Sun-Panel-Helper CSS Start: gradient-bg */
body {
  height: 100vh;
  background: linear-gradient(108deg, #69b6dd, #1b72ac, #35cbe9, #457cd3);
  background-size: 400% 400%;
  animation: gradientBg 8s ease-in-out infinite;
}

@keyframes gradientBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Sun-Panel-Helper CSS End: gradient-bg */

/* Sun-Panel-Helper CSS Start: layout-adjust */
.search-container {
  margin-top: -30px !important;
}

.system-monitor {
  margin-top: -30px !important;
}
/* Sun-Panel-Helper CSS End: layout-adjust */
