 
    
    ::-webkit-scrollbar {
      width: 3px;
      height: 3px;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      background-color: #ccc;
      
      border-radius: 3px;
    }

    
    * {
      scrollbar-width: thin;
      
      scrollbar-color: #ccc transparent;
      
    }

    body {
      background-color: var(--color-light);
    }

    #rename-rule {
      width: 98%;
      height: 24px;
      letter-spacing: .5px;
    }

    #ext-input {
      width: 60px;
      margin-left: 8px;
    }

    .token-buttons {
      display: grid;
      grid-template-columns: repeat(3, auto);
      gap: 8px;
      margin-top: 10px;
    }

    .token-buttons button {
      background: var(--color-light);
      color: #000;
      border: none;
      border-radius: 3px;
      padding: 8px 12px;
      font-size: 14px;
      cursor: pointer;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: background 0.3s ease, transform 0.2s;
    }

    .token-buttons button:hover {
      background: var(--black-10);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    span.tips {
      text-align: right;
      margin-left: 8px;
      color: var(--black-50);
      flex: 1;
    }

    .container {
      border: 0;
      width: 1080px;
      background: #fff;
      border-radius: 8px;
      display: flex;
      flex-direction: row;
      padding: 8px;
      margin: 4px auto;
    }

    header.title {
      background-color: #fff;
      width: 1080px;
      margin: 0 auto;
      padding: 8px;
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }

    #headerUserBack {
      margin-right: 0;
    }

    #headerUserBack img {
      background: var(--header-bgcolor);
      padding: 8px;
      border-radius: 8px;
    }

    .setting {
      gap: 8px;
      background-color: #fff;
      border-radius: 3px;
      min-height: 45px;
      padding: 8px;
      display: flex;
      flex-direction: column;
      width: 350px;
    }

    .section .setting span {
      color: #fff;
    }

    .grid-item svg {
      width: 45px;
      height: 45px;
      color: var(--color-icon);
    }

    #userCustom {
      display: none;
    }

    #userCustom select {
      height: 30px;
      width: 60%;
      margin: 8px 16px;
    }

    #userCustom .select2 {

      width: 20%;
      margin: 8px 0;
    }

    
    #file-list {
      margin-bottom: 8px;
      overflow-x: hidden;
      overflow-y: auto;
      padding: 0;
      list-style: none;
      margin-top: 8px;
      background-color: #fff;
      border-radius: 3px;
      height: 100%;
      outline: 1.5px solid var(--color-dark);
      width: 700px;
      margin-top: 0;
    }

    
    #file-list li {
      display: flex;
      align-items: center;
      border-bottom: 1px dashed #aaa;
      padding: 5px 0;
    }

    
    .file-list-header {
      position: sticky;
      top: 0;
      background: #f9f9f9;
      color: #000;
      z-index: 10;
      padding: 3px 0;
      font-weight: 500;
    }

    .file-list-header .col {
      flex: 1;
    }

    
    .col.index {
      flex: 0 0 50px;
    }


    #customPrefixInput {
      width: 90%;
      height: 24px;
    }

    .col.name {
      flex: 1;
    }


    .col.output-name {
      color: var(--button-color);
      flex: 1;
    }


    .col.actions {
      flex: 1;
    }

    #settingBox small {
      flex: 1;
      text-align: right;
      float: right;
      color: var(--black-50);
    }

    #settingBox span {
      font-weight: 500;
      margin-left: 3px;
    }


    
    #file-list .col {
      padding: 8px 4px;
      text-align: left;
      font-size: 14px;
      word-break: break-word;
    }

    img.thumb {
      width: 50px;
      height: 50px;
      border-radius: 3px;
      object-fit: cover;
    }

    #guidePage {
      width: 1080px;
      height: 600px;
      text-align: center;
      align-items: center;
      margin: 0 auto;
  

    }




    #format {
      height: 22px;
      text-align: center;
      font-weight: 700;
      color: var(--color-black);
    }

    .col.actions a {
      text-decoration: none;
    }

    #settingBox fieldset {
      border: 1px solid #ccc;
      border-radius: 5px;
      margin: 8px 0;

      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 8px;
      font-size: 14px;
      margin-top: 16px;
    }

    #settingBox fieldset legend {
      padding: 0 5px;
      font-weight: bold;
      color: var(--header-bgcolor);
    }

    #settingBox label {
      align-items: center;
      display: flex;
      justify-content: flex-start;
      margin: 12px 3px;
    }

    #downloadButton {
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 36px;
      background-color: var(--black-90);
      color: white;
      cursor: pointer;
      border-radius: 3px;
      border: 1px solid var(--black-90);
      transition: all 0.3s ease;
    }


    #downloadButton:disabled {
      background-color: #999;
      cursor: default;
      border: 0;
    }

    .upload-label {
      margin: 0 auto;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 245px;
      height: 60px;
      background-color: var(--black-90);
      color: white;
      cursor: pointer;
      border-radius: 3px;
    }

    #inputFiles {
      display: none;
      padding: 8px;
      align-items: center;
      justify-content: space-between;
      background-color: #fff;
      border-radius: 3px;
      flex-direction: column;
      border: 1px solid #aaa;
      border-radius: 3px;
      background-color: #fafafa;
    }

    .grid-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 0;
      width: 60%;
      margin: 0 auto;
    }

    .grid-container .grid-item {
      padding: 3px;
      text-align: center;
      margin-top: 48px;
    }

    .grid-container .grid-item p {
      font-size: 16px;
      line-height: 20px;
      margin-top: 4px;
      color: #333;
    }

    .image_title {
      font-size: 45px;
      margin: 16px;
      font-weight: 700;
    }

    .image_title div {
      font-size: 16px;
      color: #666;
      margin: 8px 16px;
      line-height: 23px;
      font-weight: normal;
    }

    section.panel {
      display: none;
      width: 100%;
      justify-content: space-between;
    }

    .outputBox {
      padding: 8px;
      font-size: 14px;
      border: 1px solid #aaa;
      border-radius: 3px;
      background-color: #fafafa;
      margin: 8px 0;
      display: none;
    }

    .outputBox div {
      height: 28px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      border-bottom: 1px solid #eee;
      align-items: center;
      margin: 0;
      padding: 0;
      border-bottom: 0;
    }






    #confirm_button {


      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 36px;
      background-color: var(--black-90);
      color: white;
      cursor: pointer;
      border-radius: 3px;
      border: 1px solid var(--black-90);
      transition: all 0.3s ease;

    }




    #confirm_button:disabled {
      width: 100%;
      margin: 3px auto;
      background-color: #999;
      cursor: default;
      border: 0;
    }



    
    @media screen and (orientation: portrait) {
      header.title {
        width: 98%;
        padding: 1%;
      }

      #settingBox label {
        margin: 3px;
      }


      #downloadButton:hover {
        transform: unset;
        background-color: var(--color-black);
      }

      .container {
        width: 98%;
        padding: 1%;
      }

      
      .advanced-settings {
  
      }

      section.panel {
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
      }

      .image_title {
        font-size: 36px;
        margin: 8px;
      }

    
      .setting {
        height: 550px;
        overflow-y: scroll;
        margin: 1%;
        padding: 0;
        width: 98%;
        gap: 8px;
        outline: 0;
      }

      #inputFiles {
        width: calc(100% - 18px);
        padding-left: 8px;
        padding-top: 8px;
      }

      #settingBox fieldset {
        margin: 8px 0;
      }

      .outputBox {
        margin: 0;
        padding: 8px;
      }

      #format {
        width: 65px;
      }

      #settingBox fieldset {}

      #file-list {
        width: calc(100% - 4px);
        border: 2px solid var(--color-dark);
        outline: 0;
      }

      .grid-container {
        width: 90%;
      }

      #downloadButton:disabled {
        width: 100%;
        margin: 3px auto;
        background-color: #999;
        cursor: default;
        border: 0;
      }


      #file-list .col {
        padding: 3px 8px;
        font-size: 12px;
      }



      #settingBox {
        width: 100%;
      }

      .grid-container .grid-item {
        padding: 3px;
        text-align: center;
   
      }

      .grid-container .grid-item p {
        font-size: 13px;
      }

      .button_box {
        width: 100%;
        margin: 0 auto;
      }

      #guidePage {
        width: 100%;
        margin: 0 auto;

      }

      .grid-container .grid-item {
        margin-top: 8px;
      }

      .grid-container .grid-item p {
        font-size: 13px;
      }
    }
 