body {
        font-family: 'Roboto', Arial, sans-serif;
        background-color: #f1f5f9;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
      }
      
      /* 对 body 隐藏滚动条，但允许滚动 */
        body {
          overflow: hidden; /* 防止 body 出现滚动条 */
        }
        
        /* 对内容容器进行滚动处理 */
        .app-container {
          overflow-y: scroll; /* 启用垂直滚动 */
          scrollbar-width: none; /* 隐藏 Firefox 滚动条 */
          -ms-overflow-style: none; /* 隐藏 IE 和 Edge 滚动条 */
        }
        
        .app-container::-webkit-scrollbar {
          width: 0px; /* 隐藏 Chrome, Safari 和华为浏览器的滚动条 */
        }
    
    
    
    
      .app-container {
        background-color: #eee;
        width: 100%;
        height: 100%;
        max-width: 420px;
        padding: 10px;
        box-sizing: border-box;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow-y: auto;
        /*max-height: 90vh;*/
      }
    
      .header {
        text-align: center;
        margin-bottom: 25px;
      }
    
      .header h1 {
        font-size: 26px;
        color: #2c3e50;
        margin: 0;
        font-weight: bold;
      }
    
      /* 月度汇总样式 */
      .monthly-summary {
        background-color: #fafafa;
        padding: 10px;
        /*margin-bottom: 15px;*/
        border-radius: 8px;
        font-size: 16px;
        color: #2c3e50;
        text-align: center;
      }
    
      /* 账单列表样式 */
      .transaction-list {
        /*margin-top: 20px;*/
        padding: 0;
        padding-bottom: 80px;
        list-style: none;
      }
    
      .transaction-date-group {
        margin-bottom: 20px;
      }
    
      .transaction-date-header {
        /*background-color: #e3f2fd;*/
        padding: 10px;
        border-radius: 8px;
        /*font-weight: bold;*/
        color: grey;
        /*margin-bottom: 10px;*/
        font-size: 13px;
      }
    
      .transaction-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 15px;
        background-color: #fafafa;
        /*border-radius: 8px;*/
        /*margin-bottom: 10px;*/
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease;
        cursor: pointer;
      }
    
      .transaction-item:hover {
        transform: translateY(-3px);
      }
    
      .transaction-item .transaction-info {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: grey;
      }
    
      .transaction-item .transaction-info i {
        margin-right: 8px;
        font-size: 14px;
        color: grey;
      }
    
      .transaction-item .transaction-amount {
        font-size: 14px;
        font-weight: bold;
        color: #e74c3c;
      }
    
      .transaction-item .income {
        color: #27ae60;
      }
    
      /* 弹窗样式优化 */
      .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
        /*padding: 20px;*/
        z-index: 100;
      }
    
      .modal-content {
        background-color: white;
        padding: 25px;
        width: 80%;
        height: 620px;
        max-width: 400px;
        border-radius: 12px;
        position: relative;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
      }
      
      .modal-content h2{
        text-align: center;
        margin: 5px 5px 20px;
      }
    
      .close-btn {
        position: absolute;
        top: 5px;
        right: 12px;
        font-size: 40px;
        cursor: pointer;
        color: red;
      }
      
      .categories {
          display: grid;
          grid-template-columns: repeat(6, 1fr);
          gap: 3px;
          margin-bottom: 10px;
        }
    
        .category-item {
          font-size: 12px;
          text-align: center;
          cursor: pointer;
          padding: 5px;
          /*background-color: #f9f9f9;*/
          border-radius: 8px;
          transition: background-color 0.3s ease;
          border: 1px solid transparent;
        }
    
        .category-item i {
          font-size: 15px;
          color: #34495e;
        }
    
        .category-item.selected {
          /*background-color: #4CAF50;*/
          color: orange;
          box-shadow: 0 0 5px rgb(238 217 150), 0 0 25px rgb(140 193 237), 0 0 50px rgb(126 232 147), 0 0 100px rgb(239 156 241);
          border: 1px solid #4CAF50;
        }
    
      /* 支出/收入切换按钮美化 */
      .toggle-type {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        margin-top: 10px;
      }
    
  
      
      
      .toggle-type button {
          flex: 1;
          color: #090909;
          padding: 5px 10px;
          margin: 0px 10px;
          font-size: 14px;
          border-radius: 0.5em;
          background: #e8e8e8;
          cursor: pointer;
          border: 1px solid #e8e8e8;
          transition: all 0.3s;
          box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
        }
        
        .toggle-type button:active {
          color: #666;
          box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
        }
        
        .toggle-type button:hover {
            box-shadow: 0 0 5px rgb(238 217 150), 0 0 25px rgb(140 193 237), 0 0 50px rgb(126 232 147), 0 0 100px rgb(239 156 241);
        }
        
        .toggle-type button:focus {
          outline: 1px solid rgba(0,140,255);
          box-shadow: 0 0 5px rgb(238 217 150), 0 0 25px rgb(140 193 237), 0 0 50px rgb(126 232 147), 0 0 100px rgb(239 156 241);
          outline-offset: 2px;
        }
        
        .toggle-type button:focus-visible {
          -webkit-box-shadow: none;
          box-shadow: none;
        }
      
      
      
      
      
      
      
      
      
    
      /* 表单输入框样式 */
      .input-wrapper input,
      .input-wrapper textarea {
        width: 92%;
        padding: 12px;
        margin-bottom: 5px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s ease;
      }
    
      .input-wrapper input:focus,
      .input-wrapper textarea:focus {
        border-color: #4CAF50;
        outline: none;
      }
    
      button[type="submit"] {
        width: 100%;
        padding: 5px;
        background-color: #4CAF50;
        color: green;
        border: none;
        font-size: 15px;
        font-weight: bold;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
    
      button[type="submit"]:hover {
        /*background-color: #43a047;*/
      }
      
      .delete_btn{
        width: 100%;
        padding: 5px;
        margin-top: 10px;
        background-color: #4CAF50;
        color: white;
        border: none;
        font-size: 18px;
        font-weight: bold;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
    
      /* 统计页面样式 */
      .statistics-container {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /*padding: 10px;*/
        padding-bottom: 60px;
      }
    
      .statistics-chart {
        width: 100%;
        max-width: 200px;
        max-height: 200px;
        /*margin-bottom: 25px;*/
      }
    
      .statistics-list {
        width: 100%;
        list-style: none;
        padding: 20px;
        font-size: 14px;
        background-color: #fafafa;
        box-sizing: border-box;
        border-radius: 10px;
      }
    
      .statistics-list li {
        display: flex;
        justify-content: space-between;
        padding: 5px 0;
        border-bottom: 1px solid #ddd;
      }
      
      .month-sheet{
        width: 100%;
        padding: 20px;
        border-radius: 10px;
        box-sizing: border-box;
        background-color: #fafafa;
      }
      
      .month-sheet h3{
          margin: 10px 0px;
          text-align: center;
      }
      
      .canvasimg{
        width: 100%;
        padding: 10px 20px;
        border-radius: 10px;
        box-sizing: border-box;
        background-color: #fafafa;  
        display: flex; /* 使容器成为 flexbox */
        justify-content: center; /* 水平居中 */
        align-items: center; /* 垂直居中 */
        margin-bottom: 12px;
      }
      
      #search-box{
          width: 100%;
          margin: 10px 0px 0px;
      }
      
      
      
    
      /* 底部任务栏优化 */
      footer {
          background-color: #fafafa;
          padding: 12px 0;
          position: fixed;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
          width: 100%;
          max-width: 400px;
          padding: 10px 20px;
          display: flex;
          justify-content: space-around;
          box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        }
    
        footer a {
          color: grey;
          font-size: 14px;
          text-decoration: none;
          /*font-weight: 600;*/
        }
    
      .add-btn {
        position: fixed;
        bottom: 55px;
        right: 10px;
        background-color: #4CAF50;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 35px;
        color: white;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease;
      }
    
      .add-btn:hover {
        background-color: #43a047;
      }
      
      
    /*我的页面样式*/
    /* 我的页面样式 */
        /* 我的页面样式 */
    .mine-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 30px;
      /*background-color: #f1f5f9; */
      height: 100%; /* 页面占满整个视口 */
    }
    

    .user-info {
      display: flex;
      flex-direction: column;
      width: 100%;
      font-size: 14px;
      color: grey;
    }
    
    .user-avatar {
        border-radius: 50%;
        margin-right: 15px;
        width: 60px;
        height: 60px;
        padding: 5px;
        cursor: pointer;
        border: none;
        background: linear-gradient(#fefeff,#c7c8cb);
        box-shadow: 5px 5px 5px rgb(0 0 0 / 10%), 15px 15px 15px rgb(0 0 0 / 10%), 20px 20px 20px rgb(0 0 0 / 10%), 30px 30px 30px rgb(0 0 0 / 10%), inset 1px 1px 2px #fff;
    }
    
    .user-info h3,
    .user-info p {
        margin: 0;
        font-size: 16px;
    }
    
    
    .user-info img {
      border-radius: 50%;
      width: 90px; /* 略大一些，提升视觉效果 */
      height: 90px;
      object-fit: cover;
      border: 2px solid #ddd; /* 给头像加个浅色边框 */
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    
    .user-info img:hover {
      transform: scale(1.05); /* 鼠标悬停时放大效果 */
    }
    
    .user-info h3 {
      margin: 10px 0 5px 0;
      color: #333; /* 深一点的文字颜色，增强对比度 */
      font-size: 20px; /* 略大一点的字体 */
      font-weight: bold;
      margin: 0;  /* 去掉用户名默认的外边距 */
     font-size: 18px;  /* 用户名大小 */
     text-align: left;
     margin-bottom: 5px;
      
    }
    
 
    
    .user-info p {
      color: #999; /* 更淡的次要文字颜色 */
      font-size: 14px;
      margin: 0;
    }
    
    /* 设置与关于按钮样式 */
    .settings-section, .about-section {
      width: 100%;
      padding: 12px 0;
      background-color: #fafafa;
      cursor: pointer;
      text-align: left;
      padding-left: 36px;
      /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
      transition: background-color 0.3s, box-shadow 0.3s; /* 平滑的动画效果 */
      color: grey; /* 按钮文字颜色 */
      font-size: 13px;
      box-sizing: border-box;
    }
    
    .settings-section:hover, .about-section:hover {
      background-color: #f9f9f9; /* 悬停时的背景色 */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 悬停时的阴影效果 */
    }
    
    .settings-input {
      margin-top: 15px;
      width: 100%;
      max-width: 400px; /* 限制宽度 */
      display: none; /* 默认隐藏 */
      flex-direction: column;
      align-items: center;
    }
    
    .settings-input input {
      width: 100%;
      padding: 12px;
      margin-bottom: 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 16px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: border-color 0.3s ease;
      box-sizing: border-box;
    }
    
    .settings-input input:focus {
      border-color: #4CAF50; /* 聚焦时的边框颜色 */
    }
    
    .settings-input button {
      padding: 12px 0;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      width: 100%;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: background-color 0.3s ease;
    }
    
    .settings-input button:hover {
      background-color: #43a047; /* 悬停时按钮颜色 */
    }
    
    
    
    .custom-hr {
        border: none;
        height: 1px;
        background-color: #e0e0e0; /* 较浅的灰色线条 */
        margin: 15px 0px 0px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* 微妙的阴影效果 */
    }


    
      #ocr-results {
        max-height: 400px; /* 设置最大高度，防止结果溢出 */
        overflow-y: auto;  /* 启用垂直滚动条 */
    }
    
    
        .modal-content {
        /*max-height: 80vh;*/
        overflow-y: auto;
    }
    
    /* 美化解析结果输入框 */
    /* 更新样式，布局更加紧凑和简洁 */
    /* 更新样式，确保布局紧凑简约 */
    .ocr-result-row {
        display: flex;
        flex-direction: column;
        padding: 15px;
        background-color: #f7f7f7;
        border: 1px solid #ddd;
        border-radius: 10px;
        margin-bottom: 5px;
    }

    
    input, select {
        width: 100%;
        padding: 8px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    label {
        font-size: 15px;
        text-align: center;
        font-weight: 700;
        margin-bottom: 15px;
        margin: 5px;
    }
    
    h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
        margin: 5px;
        text-align: center;
    }
    
    #confirm-ocr-btn {
        width: 100%;
        padding: 12px;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        margin-top: 20px;
    }
    
    #confirm-ocr-btn:hover {
        background-color: #45a049;
    }
    
    /* 弹窗样式 */
    #ocr-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    #ocr-modal-content {
        background-color: white;
        margin: 5% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 60%;
        max-width: 400px;
        border-radius: 8px;
        max-height: 80%;
        overflow-y: auto;
    }
    
    #ocr-modal-content h2 {
        margin-bottom: 15px;
        margin: 10px;
        font-size: 22px;
        font-weight: bold;
        text-align: center;
    }
    
    #close-ocr-modal {
        position: absolute;
        top: 20px;
        right: 25px;
        color: red;
        font-size: 40px;
        cursor: pointer;
    }
    
    #close-ocr-modal:hover {
        color: #888;
    }
    
    /* 使 label 和 input 在一行显示 */
    .input-wrapper {
        display: flex;
        align-items: center; /* 确保 label 和 input 垂直对齐 */
        justify-content: space-between; /* 在 label 和 input 之间创建空间 */
        /*margin-bottom: 10px;*/
    }
    
    /* 设置 label 和 input 的宽度，确保紧凑布局 */
    .input-wrapper label {
        flex: 0 0 80px; /* 固定 label 的宽度 */
        font-size: 14px;
        font-weight: 700;
        text-align: left; /* 左对齐 */
        margin-right: 10px; /* label 和输入框之间的间距 */
    }
    
    .input-wrapper input, .input-wrapper select {
        flex: 1; /* 输入框或选择框占据剩余空间 */
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    .img-load{
       display: block;
       text-align: center;
       margin: 5px;
    }
    
    .img-load-01{
        margin: 0px 0px 10px;
    }
    
    
    /* 美化横线样式 */
    #dailyChart{
        width: 100%!important;
        max-width: 600px!important;
    }
    .week-navigation {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .month-select button,.week-nav-btn {
        background-color: #4CAF50;
        border: none;
        color: white;
        padding: 5px 10px;
        font-size: 14px;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .week-nav-btn:hover {
        background-color: #45a049;
    }
    
    .month-select button:hover {
        background-color: #45a049;
    }
    
    .week-nav-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }
    
    
    #monthly-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f9f9f9;
        padding: 0px 20px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        /*margin-bottom: 20px;*/
    }
    
    .monthly-summary{
        display: flex;
    }
    
    .summary-left {
        position: relative;
        display: flex;
        padding-left: 10px;
        width: 100px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
    }
    
    .summary-right{
        padding: 10px 20px;
        text-align: left;
    }
    
    #budgetChart {
        width: 120px;
        height: 120px;
        margin-bottom: 10px;
    }
    
    .remaining-percentage {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    
    #remaining-text {
        font-size: 12px;
        color: #666;
    }
    
    #remaining-percent {
        font-size: 22px;
        font-weight: bold;
        color: #4CAF50;
        margin-top: 5px;
    }
    
    .summary-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    
    .summary-right .summary-info p {
        margin: 5px 0;
        font-size: 14px;
    }
    
    .summary-right .summary-info span {
        /*font-weight: bold;*/
        color: grey;
    }
    
    
     .icon {
       width: 1.5em; height: 1.5em;
       vertical-align: -0.15em;
       fill: currentColor;
       overflow: hidden;
    }
    
    .category-item .icon{
        font-size: 30px;
    }
    
    .transaction-info svg{
        margin-right: 10px;
    }
    
  /* 对内容容器进行滚动处理 */
        .modal-content {
          overflow-y: scroll; /* 启用垂直滚动 */
          scrollbar-width: none; /* 隐藏 Firefox 滚动条 */
          -ms-overflow-style: none; /* 隐藏 IE 和 Edge 滚动条 */
          background-color: #f0f0f0;
          width: 98%;
          height: 98%;
          max-width: 420px;
          width: 375px;
          padding: 20px;
          box-sizing: border-box;
          border-radius: 50px;
        }
        
        .modal-content::-webkit-scrollbar {
          width: 0px; /* 隐藏 Chrome, Safari 和华为浏览器的滚动条 */
        }   
    

    
    .add-btn {
        position: absolute;
        bottom: 70px;
        right: 10px;
        width: 50px;
        height: 50px;
        color: #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 50px;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
    
        /* 毛玻璃效果 */
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.2); /* 半透明背景，适合毛玻璃效果 */
    
        /* 3D 效果的阴影和高光 */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), /* 阴影 */
                    inset 2px 2px 5px rgba(255, 255, 255, 0.5), /* 内部高光 */
                    inset -2px -2px 5px rgba(0, 0, 0, 0.1); /* 内部阴影 */
    
        /* 边框添加 3D 效果 */
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
    
    .add-btn:hover {
        background: rgba(255, 255, 255, 0.3); /* 悬停时更明显的毛玻璃效果 */
        transform: translateY(-2px); /* 悬停时微微上浮，增强3D效果 */
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2), /* 增强阴影 */
                    inset 2px 2px 5px rgba(255, 255, 255, 0.6),
                    inset -2px -2px 5px rgba(0, 0, 0, 0.1);
    }
    
    
    


    footer a {
      text-align: center;
      font-size: 12px;
      color: #333;
      text-decoration: none;
      /*display: flex;*/
      flex-direction: column;
      align-items: center;
      transition: color 0.3s ease, transform 0.1s ease-in; /* 添加颜色和缩放效果的过渡 */
    }
    
    footer a svg {
      width: 24px!important;
      height: 24px!important;
      fill: currentColor;
      transition: transform 0.1s ease-in; /* 添加缩放过渡效果 */
    }
    
    footer a:hover {
      color: #007bff; /* 鼠标悬停时文字颜色变为蓝色 */
    }
    
    footer a:active {
      transform: scale(0.95); /* 鼠标按下时，图标和文字缩小 */
    }
    
    footer a:hover svg {
      fill: #007bff; /* 鼠标悬停时图标颜色变为蓝色 */
    }
    
    footer a:active svg {
      transform: scale(0.95); /* 鼠标按下时，图标和文字一起缩小 */
    }
    
    /* 设置每个 .transaction-date-header 紧接的第一个 .transaction-item 的上边圆角 */
    /* 设置每个 .transaction-date-header 紧接的第一个 .transaction-item 的上边圆角 */
    .transaction-date-header + .transaction-item {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    
    /* 设置每个日期组中最后一个 .transaction-item 的下边圆角 */
    .transaction-item:last-of-type {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    
    /* 修正：确保每个 .transaction-date-header 后面最后一个 .transaction-item 的下边圆角 */
    .transaction-date-header + .transaction-item:last-child,
    .transaction-date-header ~ .transaction-item:last-of-type {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    
    
    .content-container {
      width: 100%; /* 在手机上占满宽度 */
      height: 100%;
      padding: 0px;
    }
    
    
    #backToTopButton {
        position: absolute;
        bottom: 130px;
        right: 10px;
        width: 50px;
        height: 50px;
        color: #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 50px;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
    
        /* 毛玻璃效果 */
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.2); /* 半透明背景，适合毛玻璃效果 */
    
        /* 3D 效果的阴影和高光 */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), /* 阴影 */
                    inset 2px 2px 5px rgba(255, 255, 255, 0.5), /* 内部高光 */
                    inset -2px -2px 5px rgba(0, 0, 0, 0.1); /* 内部阴影 */
    
        /* 边框添加 3D 效果 */
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
    
    #backToTopButton .icon {
        width: 2.5rem;
        height: 2.5rem;
        margin: auto;
    }
    
    #backToTopButton span {
        display: none; /* 默认隐藏文字 */
        margin-left: -60px;
        color: grey;
        font-size: 15px;
    }
    
    #backToTopButton:hover span {
        display: inline; /* 悬停时显示文字 */
    }
    
    #backToTopButton:hover {
        background: rgba(255, 255, 255, 0.3); /* 悬停时更明显的毛玻璃效果 */
        transform: translateY(-2px); /* 悬停时微微上浮，增强3D效果 */
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2), /* 增强阴影 */
                    inset 2px 2px 5px rgba(255, 255, 255, 0.6),
                    inset -2px -2px 5px rgba(0, 0, 0, 0.1);
    }
    
    
    
    #statistics-list li {
        display: flex;
        align-items: center;  /* 垂直居中对齐 */
        gap: 10px;  /* 控制图标和文本之间的间距，调小为 5px */
        margin-bottom: 1px;  /* 控制每个列表项之间的间距 */
    }
    
    
    #statistics-list span {
        flex-grow: 1;  /* 使文字部分占据剩余的可用空间 */
        text-align: left;  /* 确保文本左对齐 */
    }
    
    
     .category-item .icon{
         font-size: 1.5rem;
     }
     
     /* 导入输入框和按钮的样式 */
    .data-import-container {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        gap: 10px;
        align-items: center;
    }
    
    #data-import-url {
        width: 80%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    #confirm-import-btn {
        padding: 8px 20px;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    #confirm-import-btn:hover {
        background-color: #45a049;
    }
    

   
    
    .membership-info {
        margin-top: 5px;  /* 与用户名之间的间距 */
        font-size: 14px;
        color: #666;  /* 会员等级和有效期的文字颜色 */
    }
    
    
    .user-avatar {
        width: 80px;     /* 头像宽度 */
        height: 80px;    /* 头像高度 */
        border-radius: 50%;  /* 圆形头像 */
        margin-right: 15px;  /* 头像与用户信息的间距 */
    }
    
    .nickname {
        font-size: 18px;
        margin: 0;  /* 清除默认外边距 */
    }
    
    .expiry-date {
        font-size: 12px;
        color: #999;    /* 字体颜色偏浅 */
    }
    
    
    
    
    
    /* 按钮组样式，左右对齐 */
    .btn-group {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .btn-group button {
        flex: 1;
        margin: 5px;
        padding: 10px;
        font-size: 1rem;
        cursor: pointer;
    }
    
    /* 文件上传表单样式 */
    #image-upload-form {
        margin-top: 10px;
    }
    
    .img-load-01 {
        margin-top: 10px;
    }
    
    
    
/*按钮样式美化*/
     .transaction-item .icon{
        color: #090909;
        padding: 2px;
        /*margin: 0px 10px;*/
        font-size: 12px;
        border-radius: 0.5em;
        background: #e8e8e8;
        cursor: pointer;
        border: 1px solid #e8e8e8;
        transition: all 0.3s;
        box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
     }


    .categories .icon{
        color: #090909;
        padding: 2px;
        /*margin: 0px 10px;*/
        margin-bottom: 3px;
        font-size: 20px;
        border-radius: 0.5em;
        background: #e8e8e8;
        cursor: pointer;
        border: 1px solid #e8e8e8;
        transition: all 0.3s;
        box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
     }
     
     
     
     .category-item:active {
      color: #666;
      box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
    }
    
    .category-item:hover {
        box-shadow: 0 0 5px rgb(238 217 150), 0 0 25px rgb(140 193 237), 0 0 50px rgb(126 232 147), 0 0 100px rgb(239 156 241);
    }
    
    .category-item:focus {
      outline: 2px solid rgba(0,140,255);
      outline-offset: 2px;
    }
    
    
    
    .skin-settings-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        z-index: 1000;
        border-radius: 12px;
        overflow-y: auto;
        padding: 20px;
            box-sizing: border-box;
             overflow-y: scroll; /* 启用垂直滚动 */
              scrollbar-width: none; /* 隐藏 Firefox 滚动条 */
              -ms-overflow-style: none; /* 隐藏 IE 和 Edge 滚动条 */
    }
    
    /* 顶部标题样式 */
    .skin-header {
        width: 100%;
        padding: 10px;
            box-sizing: border-box;
        background-color: #fff;
        text-align: center;
        font-size: 1.8rem;
        font-weight: bold;
        border-bottom: 2px solid #e6e8eb;
        position: sticky;
        top: 0;
        z-index: 10;
        color: #4a90e2;
    }
    
    .skin-header button {
        position: absolute;
        right: 20px;
        top: 20px;
        background-color: transparent;
        color: #4a90e2;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
    }
    
    .skin-header button:hover {
        color: #d0021b;
    }
    
    /* 特效展示网格布局 */
    .skin-effects-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        box-sizing: border-box;
        width: 100%;
        background-color: #fff;
        margin-top: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* 单个特效项 */
    .skin-effect-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px;
        background-color: #f7f9fc;
        border-radius: 8px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        text-align: center;
    }
    
    .skin-effect-item:hover {
        background-color: #e3f2fd;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    
    .effect-preview {
        width: 80px;
        height: 60px;
        margin-bottom: 10px;
        border-radius: 8px;
        background-color: #d9e3f0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #4a90e2;
    }
    
    input[name="skin-effect"] {
        margin-top: 10px;
        transform: scale(1.1);
    }
    
    /* 确认按钮 */
    #confirm-skin-btn {
        margin-top: 30px;
        background-color: #4a90e2;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 12px 25px;
        cursor: pointer;
        font-size: 1.2rem;
    }
    
    #confirm-skin-btn:hover {
        background-color: #357abd;
    }
    
    /* 调整整体间距和字体 */
    .skin-header h2 {
        margin-bottom: 5px;
        font-weight: normal;
        letter-spacing: 1px;
        font-size: 25px;
    }
    
    .skin-effects-grid .effect-preview {
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    
    
    .snow-effect {
        background-image: url('https://example.com/snow.jpg');
    }
    
    .sakura-effect {
        background-image: url('https://example.com/sakura.jpg');
    }
    
    .plum-effect {
        background-image: url('https://example.com/plum.jpg');
    }
    
    .lantern-effect {
        background-image: url('https://example.com/lantern.jpg');
    }
    
    .wave-effect {
        background-image: url('https://example.com/wave.jpg');
    }
    
    
    
    .btn-group button{
        color: grey;
        padding: 5px 10px;
        /*margin: 0px 10px;*/
        font-size: 14px;
        border-radius: 0.5em;
        background: #e8e8e8;
        cursor: pointer;
        border: 1px solid #e8e8e8;
        transition: all 0.3s;
        box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
    }
    
    
    .btn-group button:active {
      color: #666;
      box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
    }
    
    .btn-group button:hover {
        box-shadow: 0 0 5px rgb(238 217 150), 0 0 25px rgb(140 193 237), 0 0 50px rgb(126 232 147), 0 0 100px rgb(239 156 241);
    }
    
     .active{
         outline: 2px solid rgba(0,140,255)!important;
         box-shadow: 0 0 5px rgb(238 217 150), 0 0 25px rgb(140 193 237), 0 0 50px rgb(126 232 147), 0 0 100px rgb(239 156 241)!important;
     }
     
     
     
      .profile-container {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    
    
    
    
    .settings-section:hover, .about-section:hover {
        background-color: #e0e0e0;
    }
    
    .icon-wrapper {
        display: flex;
        align-items: center;
    }
    
    .icon-wrapper .icon {
        font-size: 16px;
        margin-right: 10px; /* 给图标和文字之间留出空间 */
    }
    
    .arrow-icon {
        font-size: 12px;
        color: #999;
    }
    
        
    .settings-section, .about-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        background-color: #f5f5f5;
        cursor: pointer;
        transition: background-color 0.3s ease;
        border-bottom: 1px solid #dcdcdc; /* 淡灰色细横线 */
    }
    
    .settings-section:last-child, 
    .about-section:last-child {
        border-bottom: none; /* 最后一项不需要分割线 */
    }
    
    .settings-section:hover, .about-section:hover {
        background-color: #e0e0e0;
    }

    
         
    
    
    
    
    
    
    
    
    
    
    
    
     @media (max-width: 768px) {
      
       #ocr-modal-content {
        width: 80%;
        max-width: 400px;
    }
      
      
    }
    
    
    
    /* 手机端兼容 */
    @media (max-width: 768px) {
      .mine-container {
        /*padding: 15px;*/
      }
      
      .user-info img {
        width: 80px;
        height: 80px;
      }
      
      .settings-input input {
        font-size: 14px;
      }
      
      .settings-input button {
        font-size: 14px;
      }
      
      .modal-content{
        padding: 25px;
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        max-height: 100vh;
        border-radius: 0px;
      }
      
      
      
    }
    
    
    
    
    
    /* 针对大屏设备（如桌面）显示手机外框背景 */
    @media (min-width: 768px) {
      body {
        /*background-image: url('img/bg.png');*/
        /*background-size: contain;*/
        /*background-position: center;*/
        /*background-repeat: no-repeat;*/
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    
      .content-container {
        width: 375px;  /* 手机屏幕的宽度 */
        height: 812px; /* 手机屏幕的高度 */
        background-image: url('img/iphone16.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        overflow: hidden;
        padding: 20px; /* 根据需要调整内边距，确保内容不超出手机边界 */
        /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); */
        border-radius: 20px; /* 可选，模拟手机屏幕的圆角 */
      }
      
      .app-container {
        width: 98%;
        height: 96%;
        max-width: 420px;
        padding: 10px;
        
        border-radius: 60px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        position: relative;
        overflow-y: auto;
        margin: auto;
        margin-top: 10px;
        /* max-height: 90vh; */
    }
      
      
        footer{
        bottom: 30px;
        width: 327px;
        /* border-radius: 60px; */
        border-radius: 0 0 60px 60px;
        position: absolute;
    }
    
        .add-btn {
          bottom: 100px; /* 距离 app-container 底部 20px */
          right: 35px;  /* 距离 app-container 右侧 20px */
    
        }
        
        #backToTopButton{
            bottom: 160px;
            right: 35px;
        }

}