.home-page {
  flex: 1;
  height: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 8px;
}
.home-page .home-content {
  flex: 1;
  height: 0;
  min-height: 0;
}
.home-page .home-content > .el-col {
  height: 100%;
}
.home-page .home-content .home-content-left {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}
.home-page .home-content .home-content-flex {
  flex: 1;
  min-height: 0;
}
.home-page .home-content .home-content-right {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.home-page .home-content .home-content-right .right-panel {
  flex: 1;
  min-height: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.home-page .notice-box {
  min-width: 400px;
  height: 3rem;
  position: relative;
  overflow: hidden;
  padding: 0.16rem;
}
.home-page .notice-box .home-carouse .el-carousel__indicators--horizontal {
  bottom: 0.06rem;
}
.home-page .notice-box .home-carouse .el-carousel__indicator .el-carousel__button {
  width: 0.08rem;
  height: 0.08rem;
  background-color: rgba(69, 74, 82, 0.3);
  border-radius: 0.08rem;
}
.home-page .notice-box .home-carouse .el-carousel__indicator.is-active .el-carousel__button {
  width: 0.24rem;
  height: 0.08rem;
  background-color: var(--color-primary);
}
.home-page .notice-box .empty {
  height: 100%;
  font-size: 0.14rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  background: #f9f9f9;
}
.home-page .notice-box .sms-notice {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0.32rem;
  background: url("../img/notice_bg.png") no-repeat;
  background-position: bottom right;
  background-size: auto 2.5rem;
}
.home-page .notice-box .sms-notice .notice-main {
  max-width: 80%;
  padding: 0.24rem;
  border-radius: 0.16rem;
  box-sizing: border-box;
  border: 2px dashed var(--color-primary);
  box-shadow: 0px 4px 10px 0px rgba(32, 92, 205, 0.2);
  font-size: 0.12rem;
}
.home-page .notice-box .sms-notice .notice-main .notice-title {
  margin-bottom: 0.16rem;
  color: var(--color-primary);
  font-size: 0.18rem;
  font-weight: bold;
}
.home-page .notice-box .sms-notice .notice-main .notice-tips {
  margin-top: 0.08rem;
  color: var(--color-primary);
}
.home-page .notice-box .sms-globe {
  height: 100%;
  background: linear-gradient(270deg, #ffffff 19%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0.12rem;
  overflow: hidden;
}
.home-page .notice-box .sms-globe .sms-main {
  height: 100%;
  background: no-repeat center center;
  box-sizing: border-box;
  background-size: 100% auto;
}
.home-page .notice-box .sms-globe .sms-main a {
  display: block;
  width: 100%;
  height: 100%;
}
.home-page .notice-box .sms-globe .sms-main .sms-main-title {
  font-size: 0.4rem;
  font-weight: bold;
  color: var(--color-primary);
}
.home-page .notice-box .sms-globe .sms-main .sms-main-title-sub {
  font-size: 0.14rem;
  font-weight: 600;
  color: #dedede;
}
.home-page .notice-box .sms-globe .sms-main .sms-main-btn {
  display: inline-flex;
  margin-top: 0.4rem;
}
.home-page .balance-card {
  height: 3rem;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}
.home-page .balance-card .balance-top-section {
  flex: 1;
  min-height: 130px;
  background: rgba(224, 227, 235, 0.5);
  border-radius: 12px;
  padding: 0 24px;
  margin: 0 24px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.home-page .balance-card .balance-top-section::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  height: 100%;
  background: url(../img/home/money_bg.png) no-repeat right bottom;
  background-size: contain;
  opacity: 0.8;
}
.home-page .balance-card .balance-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}
.home-page .balance-card .balance-content .balance-label {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.home-page .balance-card .balance-content .credit-remind-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  column-gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
}
.home-page .balance-card .balance-content .credit-remind-btn .notice-status {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}
.home-page .balance-card .balance-content .credit-remind-btn .notice-status.active {
  background: var(--color-success);
}
.home-page .balance-card .balance-content .balance-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}
.home-page .balance-card .balance-content .balance-value .decimal {
  font-size: 14px;
  font-weight: 600;
}
.home-page .balance-card .balance-info {
  display: flex;
  margin: 0 24px 32px 24px;
  height: 20px;
  align-items: center;
}
.home-page .balance-card .balance-info .balance-info-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-page .balance-card .balance-info .balance-info-item:first-child {
  border-right: 1px solid var(--border-color);
  margin-right: 24px;
  padding-right: 24px;
  position: relative;
}
.home-page .balance-card .balance-info .balance-info-item .balance-info-label {
  display: flex;
  align-items: center;
  column-gap: 5px;
  font-size: 14px;
  color: var(--text-primary);
}
.home-page .balance-card .balance-info .balance-info-item .balance-info-value {
  font-size: 14px;
  color: var(--text-tertiary);
}
.home-page .balance-card .btn-recharge {
  margin: 0 24px;
}
.home-page .product-box {
  display: flex;
  column-gap: 16px;
  position: relative;
  min-height: 1.2rem;
}
.home-page .product-box .product-item {
  flex: 1;
  flex-shrink: 0;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  will-change: transform;
  overflow: hidden;
}
.home-page .product-box .product-item .product-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin-right: 8px;
}
.home-page .product-box .product-item .product-left .product-title-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-page .product-box .product-item .product-left .product-title-en {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-page .product-box .product-item .product-left .product-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}
.home-page .product-box .product-item .product-left .product-value.is-red {
  color: var(--color-danger);
}
.home-page .product-box .product-item .product-right {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.home-page .product-box .product-item .product-right img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}
.home-page .news-box {
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.home-page .news-box .news-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.home-page .news-box .news-title .title-left {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.home-page .news-box .news-title .title-right {
  font-size: 13px;
  color: var(--text-tertiary);
  cursor: pointer;
}
.home-page .news-box .news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.home-page .news-box .news-list .news-item {
  cursor: pointer;
}
.home-page .news-box .news-list .news-item:hover {
  opacity: 0.7;
}
.home-page .news-box .news-list .news-item .news-item-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.home-page .news-box .news-list .news-item .news-item-title .news-item-title-left {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.home-page .news-box .news-list .news-item .news-item-title .news-item-time {
  font-size: 12px;
  color: var(--text-tertiary);
}
.home-page .news-box .news-list .news-item .news-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.home-page .news-box .news-emty {
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 0.16rem;
  flex: 1;
  justify-content: center;
  font-size: 0.14rem;
  color: var(--text-tertiary);
}
.home-page .ticket-box {
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.home-page .ticket-box .ticket-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.home-page .ticket-box .ticket-title .ticket-left {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.home-page .ticket-box .ticket-title .ticket-right {
  font-size: 13px;
  color: var(--text-tertiary);
  cursor: pointer;
}
.home-page .ticket-box .ticket-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.home-page .ticket-box .ticket-list .ticket-item {
  cursor: pointer;
}
.home-page .ticket-box .ticket-list .ticket-item:hover {
  opacity: 0.7;
}
.home-page .ticket-box .ticket-list .ticket-item .ticket-item-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.home-page .ticket-box .ticket-list .ticket-item .ticket-item-title .ticket-item-title-left {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.home-page .ticket-box .ticket-list .ticket-item .ticket-item-title .ticket-item-time {
  font-size: 12px;
  color: var(--text-tertiary);
}
.home-page .ticket-box .ticket-list .ticket-item .ticket-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.home-page .ticket-box .ticket-emty {
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 0.16rem;
  flex: 1;
  justify-content: center;
  font-size: 0.14rem;
  color: var(--text-tertiary);
}
.home-page .calendar-section {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.home-page .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
}
.home-page .calendar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.home-page .calendar-nav {
  display: flex;
  gap: 16px;
}
.home-page .calendar-nav button {
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.home-page .calendar-nav button img {
  width: 20px;
  height: 20px;
}
.home-page .calendar-nav button.next-btn img {
  transform: rotate(180deg);
}
.home-page .calendar-nav button:hover {
  background: rgba(255, 255, 255, 0.5);
}
.home-page .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  row-gap: 20px;
}
.home-page .calendar-day-header {
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 8px 0;
}
.home-page .calendar-day {
  width: 28px;
  height: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin: 0 auto;
}
.home-page .calendar-day:hover:not(.selected):not(.today) {
  background: rgba(0, 0, 0, 0.06);
  transform: scale(1.15);
  transition: transform 0.15s ease, background 0.15s ease;
}
.home-page .calendar-day.other-month {
  color: var(--text-tertiary);
}
.home-page .calendar-day.selected {
  background: var(--color-primary);
  color: #fff;
}
.home-page .calendar-day.today {
  background: var(--color-primary);
  color: #fff;
}
.home-page .calendar-day.today:not(.selected) {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--text-primary);
}
.home-page .calendar-day .event-dots {
  display: flex;
  gap: 2px;
  justify-content: center;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}
.home-page .calendar-day.selected .event-dots {
  bottom: -9px;
}
.home-page .calendar-day.today .event-dots {
  bottom: -9px;
}
.home-page .calendar-day .event-dot {
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
}
.home-page .calendar-day .event-dot.dot-faded {
  background: rgba(69, 74, 82, 0.2);
}
.home-page .timeline-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}
.home-page .timeline-date-title {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 0 12px 0;
}
.home-page .timeline-date-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.home-page .timeline-date-count {
  font-size: 12px;
  color: var(--text-tertiary);
}
.home-page .timeline-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.home-page .timeline-list {
  display: flex;
  flex-direction: column;
}
.home-page .timeline-hour-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 64px;
}
.home-page .timeline-hour-group.has-events {
  min-height: auto;
  padding-bottom: 8px;
}
.home-page .timeline-hour-group .timeline-hour-label {
  width: 50px;
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: right;
  flex-shrink: 0;
  line-height: 64px;
}
.home-page .timeline-hour-group.has-events .timeline-hour-label {
  line-height: 1.4;
  padding-top: 20px;
}
.home-page .timeline-hour-group .timeline-hour-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-page .timeline-hour-group.has-events .timeline-hour-content {
  padding-top: 8px;
}
.home-page .timeline-hour-group .timeline-hour-line {
  height: 1px;
  background: rgba(69, 74, 82, 0.1);
  margin-top: 31px;
}
.home-page .timeline-card-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  position: relative;
  z-index: 1;
}
.home-page .timeline-card-wrap:hover {
  z-index: 2;
}
.home-page .timeline-card-wrap.is-done .timeline-card {
  opacity: 0.55;
  box-shadow: none;
}
.home-page .timeline-card-wrap.is-done .timeline-card-title {
  text-decoration: line-through;
  color: var(--text-tertiary);
}
.home-page .timeline-card-wrap.is-done .timeline-card-bar {
  background: rgba(69, 74, 82, 0.15) !important;
}
.home-page .timeline-card-wrap.is-done .timeline-dot {
  background: rgba(69, 74, 82, 0.2) !important;
}
.home-page .timeline-card-wrap.is-done .timeline-status-tag.is-done-tag {
  opacity: 0;
  width: 0;
  padding: 0;
  overflow: hidden;
}
.home-page .timeline-card-wrap.is-done .timeline-card-done-tag {
  opacity: 1;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-card {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.home-page .timeline-card-wrap.is-done:hover .timeline-card-title {
  text-decoration: none;
  color: var(--text-primary);
}
.home-page .timeline-card-wrap.is-done:hover .timeline-card-bar.bar-urgent {
  background: var(--color-danger) !important;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-card-bar.bar-warn {
  background: var(--color-warning) !important;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-card-bar.bar-normal {
  background: var(--color-primary) !important;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-dot.dot-urgent {
  background: var(--color-danger) !important;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-dot.dot-warn {
  background: var(--color-warning) !important;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-dot.dot-normal {
  background: var(--color-primary) !important;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-status-tag.is-done-tag {
  opacity: 1;
  width: auto;
  padding: 5px 12px;
  overflow: visible;
}
.home-page .timeline-card-wrap.is-done:hover .timeline-card-done-tag {
  opacity: 0.35;
}
.home-page .timeline-card-wrap .timeline-dot {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #FFFFFF;
  transition: background 0.2s ease;
}
.home-page .timeline-card-wrap .timeline-dot.dot-urgent {
  background: var(--color-danger);
}
.home-page .timeline-card-wrap .timeline-dot.dot-warn {
  background: var(--color-warning);
}
.home-page .timeline-card-wrap .timeline-dot.dot-normal {
  background: var(--color-primary);
}
.home-page .timeline-card-wrap .timeline-card-line {
  width: 60px;
  height: 1px;
  background: rgba(69, 74, 82, 0.25);
  flex-shrink: 0;
}
.home-page .timeline-card {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  cursor: pointer;
}
.home-page .timeline-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.home-page .timeline-card-bar {
  width: 3px;
  flex-shrink: 0;
  background: var(--color-primary);
  transition: background 0.2s ease;
}
.home-page .timeline-card-bar.bar-urgent {
  background: var(--color-danger);
}
.home-page .timeline-card-bar.bar-warn {
  background: var(--color-warning);
}
.home-page .timeline-card-bar.bar-normal {
  background: var(--color-primary);
}
.home-page .timeline-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.home-page .timeline-card-info {
  flex: 1;
  min-width: 0;
}
.home-page .timeline-card-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}
.home-page .timeline-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.home-page .timeline-card-time {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
  white-space: nowrap;
}
.home-page .timeline-card-time .timeline-stack-tag {
  margin-left: 6px;
  color: var(--color-warning);
}
.home-page .timeline-card-action {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.home-page .timeline-card-btn {
  padding: 4px 12px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.home-page .timeline-card-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.home-page .timeline-status-tag {
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.home-page .timeline-card-done-tag {
  padding: 2px 8px;
  background: rgba(76, 175, 80, 0.08);
  color: #4CAF50;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.home-page .timeline-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  box-sizing: border-box;
  padding: 24px 0;
  gap: 12px;
  color: var(--text-tertiary);
}
.home-page .timeline-empty-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-page .timeline-empty-icon::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  filter: blur(4px);
}
.home-page .timeline-empty-img {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  position: relative;
  z-index: 1;
}
.home-page .timeline-empty-text {
  font-size: 13px;
}
