        @media (max-width: 768px) {
          #ts-converter-xjy {
            padding: 0.25rem;
          }
          
          #ts-converter-xjy > div:first-child {
            gap: 1rem;
            margin: 0 -0.25rem;
          }
          
          #ts-converter-xjy > div:first-child > div {
            min-width: 100% !important;
            padding: 0.25rem;
          }
          
          #ts-converter-xjy > div:first-child > div > div:last-child {
            padding: 1rem;
          }
          
          /* 调整输入框和下拉框的布局 */
          #ts-converter-xjy .flex-wrap > div {
            min-width: 100% !important;
            flex-basis: 100% !important;
          }
          
          /* 调整按钮字体大小 */
          #ts-converter-xjy button {
            padding: 0.75rem !important;
            font-size: 0.95rem !important;
          }
          
          /* 调整标题字体大小 */
          #ts-converter-xjy > div:first-child > div > div:first-child {
            font-size: 1rem !important;
            padding: 0.5rem 0.75rem !important;
          }
          
          /* 结果区域字体调整 */
          #timestamp-result-xjy,
          #time-result-xjy {
            font-size: 1rem !important;
            padding: 0.75rem !important;
          }
        }
        
        @media (max-width: 480px) {
          #ts-converter-xjy {
            padding: 0.125rem;
          }
          
          #ts-converter-xjy > div:first-child {
            gap: 0.5rem;
            margin: 0 -0.125rem;
          }
          
          #ts-converter-xjy > div:first-child > div {
            padding: 0.125rem;
          }
          
          #ts-converter-xjy > div:first-child > div > div:last-child {
            padding: 0.75rem;
          }
          
          /* 更小的输入框内边距 */
          #timestamp-input-xjy,
          #datetime-input-xjy,
          #unit-select-xjy,
          #output-format-xjy {
            padding: 0.5rem !important;
            font-size: 0.9rem !important;
          }
          
          label {
            font-size: 0.9rem !important;
          }
        }