/* Estilos similares al original */
      :root { --main: #3b70e4; --main-dark: #254285; --accent: #d1e5ff; --bg: #f6faff; }
      body { background: var(--bg); margin: 0; font-family: "Segoe UI", Arial, sans-serif; color: #222; }
      .container { max-width: 470px; margin: 38px auto 0; background: #fff; border-radius: 17px; box-shadow: 0 4px 20px #3b70e41a; padding: 27px 17px 20px; }
      .title { text-align: center; font-size: 1.25em; color: var(--main-dark); font-weight: bold; margin-bottom: 8px; }
      .desc { text-align: center; color: #366088; font-size: 1.01em; margin-bottom: 20px; }
      .upload-area { border: 2px dashed #b9d3ff; border-radius: 12px; background: #f8faff; text-align: center; padding: 30px 9px; cursor: pointer; margin-bottom: 16px; font-size: 1.04em; color: #336; transition: border 0.19s, background 0.18s; }
      .upload-area.dragover { border-color: var(--main); background: #eaf3ff; }
      .img-preview { display: block; max-width: 96%; margin: 9px auto 8px; border-radius: 10px; box-shadow: 0 2px 12px #cbe1ff44; }
      .palette-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 11px; }
      .color-block { border-radius: 7px; min-width: 62px; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 5px; cursor: pointer; position: relative; box-shadow: 0 2px 8px #3b70e417; border: 2px solid #fff; transition: border 0.12s; }
      .color-block.active, .color-block:active { border: 2.3px solid var(--main); }
      .color-label { color: #222; background: rgba(255,255,255,0.86); border-radius: 4px; font-size: 0.97em; padding: 2px 4px; margin-top: 4px; box-shadow: 0 2px 8px #fff2; }
      .convert-row { margin: 18px 0 12px; }
      .convert-input-wrap { display: flex; gap: 9px; margin-bottom: 8px; }
      .convert-input-wrap input, .convert-input-wrap select { flex: 1; padding: 7px; border-radius: 7px; border: 1.2px solid #b4cdf3; font-size: 1.07em; }
      .btn { background: var(--main); color: #fff; border: none; border-radius: 8px; padding: 10px 0; font-size: 1em; font-weight: bold; cursor: pointer; margin-bottom: 4px; transition: background 0.14s; }
      .btn:active, .btn:hover { background: var(--main-dark); }
      .copy-btn { background: #36a373; }
      .copy-btn:active { background: #217251; }
      .footer { color: #789; text-align: center; font-size: 0.95em; margin-top: 16px; opacity: 0.88; }
      section#faq { margin-top: 30px; }
      section#faq h2 { margin-bottom: 13px; color: #3b70e4; font-size: 1.11em; text-align: center; }
      section#faq dt { font-weight: bold; margin-top: 8px; }
      section#faq dd { margin: 0 0 7px; font-size: 0.99em; color: #366088; }
      #backBtn { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: #3b70e4; color: #fff; font-weight: 700; border: none; border-radius: 2rem; padding: 0.58em 1.5em; box-shadow: 0 4px 16px #3b70e466; font-size: 1.09em; text-decoration: none; cursor: pointer; letter-spacing: 0.01em; transition: background 0.15s, transform 0.12s; z-index: 2000; }
      #backBtn:hover { background: #254285; transform: translateX(-50%) scale(1.04); }
      @media (max-width: 600px) { .container { max-width: 99vw; padding: 10px 2vw; } .img-preview { max-width: 99vw; } #backBtn { bottom: 18px; font-size: 0.98em; padding: 0.48em 1em; } }
    