

html {
  overflow: hidden;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}


@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(255, 152, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
  }
}

header.header {
  width: min(1000px, 96%);
  margin: 0 auto;

  min-height: 36px;
}

.header .domain {
  flex: unset;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;

  color: #111;
  letter-spacing: -0.03em; 
  line-height: 1;

  
  text-shadow: 0.5px 0.5px 0px rgba(0, 0, 0, 0.1);
}

#utility-tools ul {
  margin-bottom: 60px;
}

.file-ext {
  color: #007aff;
  font-weight: 700;
}

.error-tips {
  color: red;
  margin: 16px 3px;
  text-align: left;
  display: none;
  width: 80%;
}


.logo-only {
  color: #111;
}


.logo-compress {
  color: #e91e63;
}


.domain:hover .logo-only,
.domain:hover .logo-compress {
  opacity: 0.85;
  transition: 0.2s ease;
}

.feature-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0 auto;
  border-bottom: 1px dashed #aaa;
  margin-bottom: 36px;
  text-align: center;
  padding-bottom: 16px;
}

a#site_title {
  color: #000;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
}

div.header-right {
  border-radius: 5px;
  padding: 2px 5px;
  border: 1px solid #333;
  justify-content: end;
  display: flex;
  align-items: center;
  text-align: right;
}

div.header-right:hover {
  color: var(--color-blue2);
}

div.header-right > * {
  pointer-events: auto;
  cursor: pointer;
}

div.header-right span {
  margin: 0 6px;
  cursor: pointer;
}

.container {
  flex: 1;
  width: min(1000px, 98%);
  margin: 0 auto;
  border: 0;
}

.container a {
  text-decoration: none;
  font-weight: 600;
}

.common-output-info {
  gap: 36px;
  display: flex;
  min-height: 16px;
}

ul.user-steps {
  list-style: decimal;
}

ul.user-steps span {
  color: #121212;
  margin: 0 5px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .preview-body {
    flex-direction: column !important;
  }
}

@keyframes l4 {
  to {
    transform: rotate(1turn);
  }
}



@keyframes preview-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mulShdSpin {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em var(--color-1),
      1.8em -1.8em 0 0em var(--color-2), 2.5em 0em 0 0em var(--color-2),
      1.75em 1.75em 0 0em var(--color-2), 0em 2.5em 0 0em var(--color-2),
      -1.8em 1.8em 0 0em var(--color-2), -2.6em 0em 0 0em var(--color-3),
      -1.8em -1.8em 0 0em var(--color-4);
  }

  12.5% {
    box-shadow: 0em -2.6em 0em 0em var(--color-4),
      1.8em -1.8em 0 0em var(--color-1), 2.5em 0em 0 0em var(--color-2),
      1.75em 1.75em 0 0em var(--color-2), 0em 2.5em 0 0em var(--color-2),
      -1.8em 1.8em 0 0em var(--color-2), -2.6em 0em 0 0em var(--color-2),
      -1.8em -1.8em 0 0em var(--color-3);
  }

  25% {
    box-shadow: 0em -2.6em 0em 0em var(--color-3),
      1.8em -1.8em 0 0em var(--color-4), 2.5em 0em 0 0em var(--color-1),
      1.75em 1.75em 0 0em var(--color-2), 0em 2.5em 0 0em var(--color-2),
      -1.8em 1.8em 0 0em var(--color-2), -2.6em 0em 0 0em var(--color-2),
      -1.8em -1.8em 0 0em var(--color-2);
  }

  37.5% {
    box-shadow: 0em -2.6em 0em 0em var(--color-2),
      1.8em -1.8em 0 0em var(--color-3), 2.5em 0em 0 0em var(--color-4),
      1.75em 1.75em 0 0em var(--color-1), 0em 2.5em 0 0em var(--color-2),
      -1.8em 1.8em 0 0em var(--color-2), -2.6em 0em 0 0em var(--color-2),
      -1.8em -1.8em 0 0em var(--color-2);
  }

  50% {
    box-shadow: 0em -2.6em 0em 0em var(--color-2),
      1.8em -1.8em 0 0em var(--color-2), 2.5em 0em 0 0em var(--color-3),
      1.75em 1.75em 0 0em var(--color-4), 0em 2.5em 0 0em var(--color-1),
      -1.8em 1.8em 0 0em var(--color-2), -2.6em 0em 0 0em var(--color-2),
      -1.8em -1.8em 0 0em var(--color-2);
  }

  62.5% {
    box-shadow: 0em -2.6em 0em 0em var(--color-2),
      1.8em -1.8em 0 0em var(--color-2), 2.5em 0em 0 0em var(--color-2),
      1.75em 1.75em 0 0em var(--color-3), 0em 2.5em 0 0em var(--color-4),
      -1.8em 1.8em 0 0em var(--color-1), -2.6em 0em 0 0em var(--color-2),
      -1.8em -1.8em 0 0em var(--color-2);
  }

  75% {
    box-shadow: 0em -2.6em 0em 0em var(--color-2),
      1.8em -1.8em 0 0em var(--color-2), 2.5em 0em 0 0em var(--color-2),
      1.75em 1.75em 0 0em var(--color-2), 0em 2.5em 0 0em var(--color-3),
      -1.8em 1.8em 0 0em var(--color-4), -2.6em 0em 0 0em var(--color-1),
      -1.8em -1.8em 0 0em var(--color-2);
  }

  87.5% {
    box-shadow: 0em -2.6em 0em 0em var(--color-2),
      1.8em -1.8em 0 0em var(--color-2), 2.5em 0em 0 0em var(--color-2),
      1.75em 1.75em 0 0em var(--color-2), 0em 2.5em 0 0em var(--color-2),
      -1.8em 1.8em 0 0em var(--color-3), -2.6em 0em 0 0em var(--color-4),
      -1.8em -1.8em 0 0em var(--color-1);
  }
}



#top_menus {
  flex: 1.5;
}

#top_menus a {
  display: flex;
  align-items: center;
}

#top_menus a svg {
  width: 22px;
  height: 22px;
  color: #fff;
  margin-right: 8px;
}

html[lang] #top_menus a svg {
  color: #36baf1;
}

.sub-title div {
  height: 16px;
}

img.myIcon {
  margin: 0;

  margin-right: 12px;
}


@media (hover: hover) {
  .edit_button:hover {
    outline: 2px solid #000;
    background-color: #fff;
    opacity: 1;
  }
}

@media (hover: hover) {
  a.download_compress:hover {
    color: #000 !important;
    border: 1px solid #000 !important;
    background-color: #fff !important;
  }
}

a:target {
  color: red;
}

ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

ul li a span {
  margin-top: 8px;
}

li a {
  text-decoration: none;
  color: #666;
  font-size: 13px;
}

.webinfo {
  font-size: 32px;
  text-align: center;

  line-height: 36px;
  font-weight: 500;
  margin-top: 64px;
  margin-bottom: 64px;
  font-weight: 600;
}

.faq {
  font-size: 36px;
  text-align: center;
  margin-bottom: 32px;
  line-height: 36px;
  font-weight: 500;
  margin-top: 96px;
}

.fmt {
  border-radius: 4px;
  font-weight: 600;
  font-family: monospace;
  margin: 0 5px;
  color: #333;
}

.container h2 {
  width: 80%;
  font-size: 16px;
  text-align: left;
  margin: 16px auto;
  line-height: 22px;
  color: #333;
  margin-bottom: 64px;
  
  white-space: pre-line;
}

.logoBox {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  gap: 8px;
  border-radius: 3px;
  margin: 0 auto;
  color: red;
  font-weight: normal;

  margin-bottom: 8px;
}

input[type="file"] {
  font-size: 16px;
  background: #ededed;
}

.logoBox span {
  font-size: 22px;
}

.homeLogo {
  display: none;
}

.lang-tip {
  position: fixed;
  top: 60px;
  right: 10px;
  z-index: 9999;
  background: #111;
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  max-width: 90%;
  width: 300px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.lang-tip button {
  margin-left: 8px;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.lang-tip .yes {
  background: #e60012;
  
  color: #fff;
}

.lang-tip .no {
  background: #444;
  color: #fff;
}

.lang-tip .close {
  background: transparent;
  color: #aaa;
  font-size: 16px;
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
}

@keyframes pulse {
  0% {
    background-color: #eee;
  }
  50% {
    background-color: #fafafa;
  }
  100% {
    background-color: #eee;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.content {
  border-radius: 8px;

  background: #fff;
  padding: 0;

  margin-bottom: 30px;
  flex-direction: column;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}



@media (hover: hover) {
  .image-preview-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7dd3fc, #38bdf8);
  }
}

@media (hover: hover) {
  .delete-btn:hover {
    background-color: #e91e63;
    color: #fff;
  }
}



@media (hover: hover) {
  .image-item:hover .delete-btn {
    opacity: 1;
    visibility: visible;
  }
}

ol li {
  padding: 24px 0;
  line-height: 24px;
}

ol li strong {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #111;
  display: block;
}

ol li p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.browser-tip {
  display: none;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .container {
    justify-content: flex-start;
  }

  .image-preview-container {
    min-height: 320px;
    height: auto;
  }

  .browser-tip {
    display: block;
    font-weight: 600;
    color: #333;
  }

  nav.body_nav a {
    display: inline-block;
    font-size: 14px;
    width: auto;
    margin: 0;
  }

  .lang-tip {
    left: 50%;
    bottom: 16px;
    top: unset;
    transform: translateX(-50%);
  }

  .webinfo {
    margin: 24px 8px;
    line-height: 36px;

    font-size: 22px;
  }

  .homeLogo {
    display: block;
  }

  .section ul {
    list-style: none;
    padding-left: 0;
    display: block;
  }

  #top_menus {
    width: 100%;
    display: none;
  }

  #top_menus a {
    flex-direction: column;
  }

  #top_menus a svg {
    margin-bottom: 8px;
  }

  .container {
    width: 97%;
    padding: 0;
    font-size: 16px;
    margin: 8px auto;
  }

  .header {
    flex-direction: row;
    align-items: flex-start;
    padding: 2%;
    min-height: 48px;
    width: 98%;
  }

  .header-left {
    margin-left: 0;
  }

  .top_nav span {
    display: none;
  }

  .top_nav span a {
    color: #333;
    text-decoration: none;
    padding: 3px 5px;
    background-color: #eeeeee;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 12px;
  }

  .header-left {
    gap: 0;
    justify-content: space-around;
  }

  .header-left a {
    margin: 3px 10px;
  }

  .header-left.active {
    display: flex;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
    cursor: pointer;
    display: none;
  }

  .header-right a {
    flex: 1;
    text-align: center;
  }

  .top_nav {
    display: flex;
    justify-content: space-between;
  }

  a#site_title {
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
  }

  .header a.selectable {
    text-decoration: none;
    display: inline-block;
    color: #fff;

    transition: all 0.3s ease;
    font-size: 13px;
    padding: 0;
  }
}

.resize-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 960px;
  margin: 40px auto;
}

.resize-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 120px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resize-card:hover {
  transform: translateY(-3px);
  border-color: #2196F3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.resizer-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff1f3;
  font-size: 27px;
}

.resizer-info {
  min-width: 0;
 
}

.resizer-info h3 {
  margin: 0 0 7px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.resizer-info p {
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

.resizer-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 22px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.resize-card:hover .resizer-arrow {
  color: #ff1744;
  transform: translate(3px, -50%);
}

.container {
 
  margin: 0 auto;
  padding: 0 20px;
}

.content {
  width: 100%;
}

.resizer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resize-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  text-decoration: none;
}

.resizer-info h2 {
  margin: 0 0 8px;
      color: #2196F3;

}

.resizer-info p {
  margin: 0;
  line-height: 1.6;
}


.seo-content {
  max-width: 950px;
  margin: 0 auto;
  line-height: 1.8;
}

.seo-content h2 {
  margin: 42px 0 14px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: #009688;
}

.seo-content h2:first-child {
  margin-top: 0;
}

.seo-content h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

.seo-content p {
  margin: 0 0 14px;
}

.seo-content ul {
  margin: 0 0 20px;
  padding-left: 24px;
}

.seo-content li {
  margin-bottom: 6px;
}

.seo-content a {
  text-decoration: none;
}



@media screen and (max-width: 768px) {


  .resize-cards {
      grid-template-columns: repeat(1, 1fr);
      width: auto;
  }


  html:not([lang="zh"]) .options span {
    font-size: 13px;
  }

  html[lang="ru"] .options span {
    font-size: 11px;
  }

 
  .common-output-info {
    gap: 4px;
    display: block;
  }

  .options {
    margin: 3px;
  }

  .options span {
    padding: 8px 6px;
  }

  .preview-control {
    padding: 6px 14px;
  }

  .preview-label {
    padding: 8px 16px;
  }

  .preview-label span:first-of-type {
    font-size: 16px;
  }

  nav a {
    padding: 6px 16px;
  }

  .header .domain {
    font-size: 22px;
  }

  .alert-shortcut-hint {
    display: none;
  }

  .delete-btn {
    visibility: visible;
  }

  .container h2 {
    font-size: 15px;
    width: auto;
    margin: 16px 0;
    line-height: 22px;
  }

  .toolbar button {
    width: min(145px, 45%);
  }

  .section .drag-tips {
    flex-direction: column;
    display: none;
  }

  .toolbar {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .content {
    gap: 16px;
  }

  nav {
    margin-top: 32px;
  }

  .user-faq .info {
    line-height: 24px;
    padding: 0 16px;
  }

  .section a img {
    float: left;
  }

  .section a svg {
    float: left;
  }

  .section a span {
    display: block; 
    padding-left: 68px;
    margin: 3px;
  }

  html[lang="en"] div.detail ul li {
    line-height: 20px;
  }

  div.detail {
    margin-left: 0;
  }

  .resizer-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 30px auto;
    padding: 0 16px;
  }

  .resize-card {
    min-height: 100px;
    padding: 20px;
  }

 

  .resizer-info p {
    font-size: 13px;
  }

   .container {
    padding: 0 ;
  }

  .resizer-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .resize-card {
    padding: 18px;
  }

  .seo-content {
    line-height: 1.75;
    padding: 16px;
  }

  .seo-content h2 {
    margin-top: 34px;
    font-size: 21px;
  }

  .seo-content h3 {
    margin-top: 24px;
    font-size: 17px;
  }
}

@media screen and (max-width: 360px) and (orientation: portrait) {
  
  div.detail ul li {
    font-size: 14px;
  }
}
