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

    #guidePage {
      flex-direction: column;
      display: flex;
      gap: 8px;
      width: 1080px;
      min-height: 600px;
      text-align: center;
      align-items: center;
      margin: 0 auto;

    }

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



    .setting fieldset legend {
      padding: 0 5px;
      font-weight: bold;
      color: var(--button-color);

    }


    .setting label[for='fitMode'] {
      justify-content: flex-start;
    }

    label[for='fitMode'] span {

      font-size: 14px;
    }

    .setting label.size_label {
      margin-left: 0;
    }

    .setting fieldset div {
      margin-top: 0;
      text-align: left;
    }

    .setting fieldset {
      min-height: 36px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin: 8px 0;

      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 8px;
      font-size: 14px;
      display: flex;
      justify-content:
        space-between;

    }

    .setting input[type='radio'] {
      margin: 0;
      margin-right:
        5px;
    }


    .no_preview {
      font-size: 12px;
      line-height: 50px;

      width: 50px;
      display: inline-block;
      color: red;
      height: 50px;
    }

    .compressOption {
      width: 60px;
      height: 22px;
      text-align: center;
      font-weight: 700;
      color: var(--color-black);
    }

    #downloadButton:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }


    .setting label {

      display: block;

      margin: 0 8px;
    }

    .container {
      border: 0;
      width: 1080px;
      background: #fff;
      border-radius: 8px;
      display: flex;
      flex-direction: row;
      padding: 8px;
      margin: 4px auto;
      height: calc(100% - 86px);
    }

    .file-info {
      padding: 0 8px;

      align-items: center;
      justify-content: space-between;
      column-gap: 16px;

      background-color: #fff;
      border-radius: 3px;
      display: flex;

      margin: 8px 0;
    }

    header.title {
      background-color: #fff;
      width: 1080px;
      margin: 0 auto;
      padding: 0 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;
    }

    .file-info .qualityRangeBox {
      display: flex;
      align-items: center;
      gap: 8px;
      justify-content: center;
    }




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

    .file-info #qualityRange {
      width: 150px;
    }

    .file-info #qualityValue {
      width: 50px;
      color: #000;
    }

    .file-info #download_zip {
      border-radius: 3px;
      border: 0;
      background: #000;
      color: #fff;
      width: 120px;
      height: 36px;
      cursor: pointer;
      font-size: 13px;
      display: none;
    }

    .file-info #download_zip:disabled {
      background-color: #999;
      cursor: default;
    }

    .fileListHeader {
      font-weight: bold;
      height: 32px;
      background-color: #eee;
    }

    #slogan li.fixed-header {
      margin: 0;
      width: 100%;
    }

    .fileListHeader div {
      flex: 1;
    }

    .fileListItem>* {
      flex: 1;
    }

    .fixed-header {
      font-weight: bold;
      position: sticky;
      top: 0;
      z-index: 1;
    }

    .fileListItem {
      font-weight: normal;
    }

    .section .file-info span {
      color: #fff;
    }

    .grid-item svg {
      width: 54px;
      height: 54px;
      color: #00b578;
    }

    #fileInput {
      font-size: 13px;
    }

    #site_title img {
      width: 46px;
      height: 46px;
      border-top-left-radius: 3px;
      border-bottom-right-radius: 3px;
    }



    

    
    #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: calc(100vh - 118px);
      outline: 1.5px solid var(--color-dark);
      width: 700px;
      margin-top: 0;
    }

    
    #file-list li {
      display: flex;
      align-items: center;
    }

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

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

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

    .col.preview {
      flex: 0 0 100px;
    }

    .col.name {
      flex: 1;
      width: 60px;
      word-break: break-all;
    }

    .col.orig-size,
    .col.status,
    .col.new-size,
    .col.actions {
      flex: 1;
    }

    
    #file-list .col {
      padding: 0.5em;
      text-align: center;
      font-size: 14px;
      flex: 1;
    }

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

    button {
      padding: 0.3em 0.6em;
      margin-right: 0.5em;
    }

    .status {
      color: #999;
    }

    .userCustom {
      display: none;

    }

    .userCustom label {
      margin: 8px;
      margin-left: 0;
    }

    .userCustom input,
    .userCustom select {
      margin: 0 5px;
    }

    .userCustom label input {
      width: 92px;
      height: 20px;
    }

    #downloadZipBtn {
      margin: 8px;
      border-radius: 3px;
      border: 0;
      background: var(--button-color);
      color: #fff;
      width: 120px;
      height: 36px;
      cursor: pointer;
      font-size: 13px;
    }

    #convertAllBtn {
      border-radius: 3px;
      border: 0;
      background: #000;
      color: #fff;
      width: 80px;
      height: 36px;
      cursor: pointer;
      font-size: 13px;
      visibility: hidden;
    }

    #downloadDiv {
      display: flex;
      justify-content: center;
      width: 100%;
    }

    .button_box {
      width: 180px;
      text-align: right;
    }

    #inputFiles {
      width: 180px;
    }

    #format {
      height: 30px;
    }

    #convertAllBtn:disabled {
      background-color: #999;
      cursor: default;
    }

    #settingBox {
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    #settingBox input[type="radio"] {
      margin: 0;
      padding: 0;
    }

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

    #pixelGroup input {
      width: 60px;
    }



    .upload-label {

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

    }

    #inputFiles {
      display: none;
    }

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

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

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

    .image_title {
      font-size: 36px;
      font-weight: 700;
    }

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

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

    }

    #processBtn:disabled {
      background-color: #666;
      cursor: default;
    }


    .outputBox {
      padding: 8px;
      font-size: 14px;
      outline: 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;
    }

    #downloadButton {
      width: 80px;
      height: 28px;
      background-color: var(--color-black);
      color: white;
      cursor: pointer;
      border-radius: 3px;
      border: 0;
      margin-left: 8px;
    }


    .fileBox {
      flex-direction: column;

      margin-bottom: 8px;
      border-radius: 3px;
    }

    .file-action {
      text-align: center;
      margin-bottom: 16px;
    }

    .file-action input[type="range"] {
      width: 360px;
    }

    #file-list a {
      
      color: #2db7f5;
      background: none;
      border: none;
      outline: none;
      cursor: pointer;
      margin: 0 3px;
    }

    #file-list a.disabledA {
      visibility: hidden;
      color: gray;
      
      pointer-events: none;
      
      cursor: default;
      
      text-decoration: none;
      
      opacity: 0.6;
      
    }

    
    #hoverPreview {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: none;
      z-index: 9999;
      
      border: 1px solid #ccc;
      background: white;
      padding: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    #hoverPreview img {
      max-width: 500px;
      max-height: 500px;
      min-width: 100px;
      min-height: 100px;
    }

    #scalePctLabel {
      display: inline-block;
      width: 50px;
      text-align: center;
    }

    #pixelGroup {
      display: none;
      gap: 12px;
      justify-content: center;
      align-items: center;
    }

    #pixelGroup,
    #percentGroup {
      font-size: 14px;
      height: 20px;
    }

    #fitMode {
      width: 100px;
      height: 22px;
      font-weight: 700;

    }

    @media screen and (orientation: portrait) {


      .setting fieldset {
        padding: 8px;
      }


      header.title {
        width: 98%;
        padding: 1%;
      }

      #guidePage {
        width: 100%;
        margin: 0 auto;
        margin-top: 0;
      }

      .upload-label {
        margin-bottom: 8px;
      }

      .previewImage {
        display: none;
      }

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


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

      #pixelGroup,
      #percentGroup {
        width: 100%;
      }

      #pixelGroup input {
        width: 45px;
      }

      .file-action input[type="range"] {
        width: 300px;
      }

      #downloadZipBtn {
        margin-bottom: 0;
      }


      .setting {


        margin: 1%;
        padding: 0;
        width: 98%;
        gap: 8px;
        outline: 0;
      }

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


      #processBtn,
      .outputBox {
        margin-top: 0;
      }

      .setting fieldset {
        margin: 0;
      }

      .container .file-info {
        width: 98%;

        padding: 1%;
        justify-content: space-between;
        display: flex;
        font-size: 14px;
      }

      .setting fieldset {
        width: calc(100% - 16px);
      }


      #format {
        width: 80px;
      }

      #file-list {
        width: 100%;
        height: 360px;
      }

      #file-list .index,
      #file-list .name {
        display: none;
      }

      #file-list .col {
        padding: 0.5em 0;
        font-size: 12px;
      }

      #downloadDiv {
        display: flex;
        justify-content: center;
        width: 100%;
      }

      .file-info> :nth-child(2) {
        text-align: center;
      }


      .grid-container {
        width: unset;
        margin-top: 0;
        grid-gap: 8px
      }

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

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

      .button_box {
        width: 70px;
        text-align: right;
      }




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

      #hoverPreview img {
        max-width: 360px;
        max-height: 360px;
        min-width: 100px;
        min-height: 100px;
      }
    }
 
