/* developed by web-premium.ir */

.hmyt-tryon-section {
    margin: 28px 0;
    padding: 20px;
    border-radius: 14px;
    background: #eff3f8;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
}

.hmyt-tryon-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hmyt-tryon-lottie-wrap {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.hmyt-tryon-lottie-wrap dotlottie-player {
    width: 44px;
    height: 44px;
}

.hmyt-tryon-header-text h3 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.hmyt-tryon-header-text p {
    margin: 0;
    font-size: 12px;
    color: #888;
}

.hmyt-tryon-section > .hmyt-tryon-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: opacity 0.18s, transform 0.18s;
    justify-content: center;
}

.hmyt-tryon-trigger-btn:hover {
    opacity: 0.88;
}


.hmyt-tryon-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s, visibility 0.22s;
    margin: 0 !important;
    cursor: default;
    background: #00052a30;
    backdrop-filter: blur(1px);
}

.hmyt-tryon-overlay.active {
    opacity: 1;
    visibility: visible;
}


.hmyt-tryon-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.22s;
    direction: rtl;
}

.hmyt-tryon-overlay.active .hmyt-tryon-modal {
    transform: translateY(0) scale(1);
}

.hmyt-tryon-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f2f2f2;
    flex-shrink: 0;
    align-content: center;
}

.hmyt-tryon-modal-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.hmyt-tryon-modal-header > .hmyt-tryon-modal-close {
    width: 30px;
    height: 30px;
    min-height: unset;
    border-radius: 8px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    color: #555;
    padding: 0;
}

.hmyt-tryon-modal-close:hover {
    background: #ebebeb;
}


.hmyt-tryon-notice-bar {
    background: #0d59f10f;
    border-bottom: 1px solid #0d59f112;
    padding: 10px 20px;
    font-size: 12px;
    color: #0d59f1;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    flex-shrink: 0;
}

.hmyt-tryon-notice-bar svg {
    flex-shrink: 0;
    margin-top: 1px;
}



.hmyt-tryon-modal-body {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}


.hmyt-tryon-modal-body::-webkit-scrollbar {
  width: 4px;
}

.hmyt-tryon-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.hmyt-tryon-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hmyt-tryon-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.hmyt-tryon-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}


.hmyt-tryon-product-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eff3f8;
    margin-bottom: 16px;
}

#hmyt-tryon-product-name {
  display: block;          
  white-space: nowrap;     
  overflow: hidden;        
  text-overflow: ellipsis; 
  max-width: 100%;         
}

.hmyt-tryon-product-row img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
}

.hmyt-tryon-product-row span {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}


.hmyt-tryon-upload-zone {
    border: 1.6px dashed #d4d4d4;
    border-radius: 15px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    background: none;
    position: relative;
}

.hmyt-tryon-upload-zone:hover,
.hmyt-tryon-upload-zone.dragover {
    border-color: #000;
    background: #eff3f8;
}

.hmyt-tryon-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.hmyt-tryon-upload-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.hmyt-tryon-upload-icon svg {
    color: #fff;
}

.hmyt-tryon-upload-zone p {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.hmyt-tryon-upload-zone span {
    font-size: 12px;
    color: #aaa;
}


.hmyt-tryon-preview {
    display: none;
    position: relative;
    overflow: hidden;
}

.hmyt-tryon-preview img {
    width: 100%;
    object-fit: contain;
    max-height: 340px;
    border-radius: 12px;
    display: block;
}

.hmyt-tryon-preview .hmyt-tryon-preview-remove {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    min-height: unset;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.18s;
}

.hmyt-tryon-preview-remove:hover {
    background: rgba(200,30,30,0.8);
}


#hmyt-tryon-upload-section > .hmyt-tryon-generate-btn {
    width: 100%;
    padding: 13px;
    border-radius: 11px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.18s, transform 0.18s;
    background: #111;
    color: #fff;
}

#hmyt-tryon-upload-section > .hmyt-tryon-generate-btn.hmyt-tryon-no-file {
    cursor: pointer !important;
    opacity: 0.5;
    transform: none !important;
}

.hmyt-tryon-generate-btn:not(:disabled):hover {
    opacity: 0.85;
}


.hmyt-tryon-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 16px;
}

.hmyt-tryon-loading.active {
    display: flex;
}

.hmyt-tryon-ai-spinner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: default;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.hmyt-tryon-ai-spinner-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 30%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.06) 70%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: hmyt-tryon-shimmer-pass 1.8s ease-in-out infinite;
}

@keyframes hmyt-tryon-shimmer-pass {
    0%   { left: -100%; }
    60%  { left: 160%; }
    100% { left: 160%; }
}

.hmyt-tryon-ai-spinner-btn svg {
    animation: hmyt-tryon-star-pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hmyt-tryon-ai-spinner-btn span,
.hmyt-tryon-ai-spinner-btn p {
    position: relative;
    z-index: 1;
}

@keyframes hmyt-tryon-star-pulse {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50%       { opacity: 0.6; transform: scale(1.15) rotate(20deg); }
}

.hmyt-tryon-loading p {
    font-size: 12px;
    color: #999;
    margin: 0;
}


.hmyt-tryon-result {
    display: none;
}

.hmyt-tryon-result.active {
    display: block;
}

.hmyt-tryon-result-image {
    overflow: hidden;
    position: relative;
}

.hmyt-tryon-result-image img {
    max-height: 340px;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}


.hmyt-tryon-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 12px;
}

.hmyt-tryon-particle {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: hmyt-particle-fall 1.2s ease-out forwards;
    opacity: 0;
}

@keyframes hmyt-particle-fall {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(60px) scale(0.3); }
}

.hmyt-tryon-result-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.hmyt-tryon-result-actions button,
.hmyt-tryon-result-actions a {
    flex: 1;
    padding: 10px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.18s;
    border: 1px solid #e8e8e8;
    background: #f7f7f7;
    color: #333;
}

.hmyt-tryon-result-actions a.hmyt-tryon-download {
    background: #111;
    color: #fff;
    border-color: #111;
}

.hmyt-tryon-result-actions button:hover,
.hmyt-tryon-result-actions a:hover {
    opacity: 0.8;
}


.hmyt-tryon-success-bar {
    position: absolute;
    bottom: -60px;
    right: 0;
    left: 0;
    background: #16a34a;
    color: #fff;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0 0 18px 18px;
    transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.hmyt-tryon-success-bar.visible {
    bottom: 0;
}

@media (max-width: 480px) {
    .hmyt-tryon-modal {
        border-radius: 16px 16px 0 0;
        max-height: 96vh;
    }

    .hmyt-tryon-overlay {
        align-items: flex-end;
        padding: 0;
    }
}

@media (max-width: 768px) {
  .hmyt-tryon-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .hmyt-tryon-section > .hmyt-tryon-trigger-btn {
    width: 100%;
  }
}


.hmyt-tryon-modeengine { margin-top: 8px; }


.hmyt-tryon-modetype {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.hmyt-tryon-radio {
  position: relative;
  display: block;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
  transition: all .2s ease;
}
.hmyt-tryon-radio:hover { opacity: .9; }
.hmyt-tryon-radio > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.hmyt-tryon-radio.active { border-color: #0d59f1; }
.hmyt-tryon-radio-check {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0d59f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: all .2s ease;
}
.hmyt-tryon-radio.active .hmyt-tryon-radio-check { opacity: 1; transform: scale(1); }
.hmyt-tryon-radio-title {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  color: #50575e;
  background: #e8ebf2;
  padding: 2px 10px;
  border-radius: 4px;
}
.hmyt-tryon-radio.active .hmyt-tryon-radio-title { color: #f6f7f7; background: #0d59f1; }
.hmyt-tryon-radio-desc { display: block; font-size: 12px; color: #7d8a9c; margin-top: 8px; line-height: 1.6; }

.hmyt-tryon-panel { margin-top: 6px; }

.hmyt-tryon-mode-card {
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
}

.hmyt-tryon-mode-fields { display: flex; flex-direction: column; gap: 16px; }
.hmyt-tryon-field { display: flex; flex-direction: column; gap: 6px; }
.hmyt-tryon-flabel { font-weight: 600; font-size: 13px; color: #3a3f4b; }
.hmyt-tryon-field .description { margin: 2px 0 0; }

.hmyt-tryon-grid2,
.hmyt-tryon-grid3 { display: grid; gap: 14px; }
.hmyt-tryon-grid2 { grid-template-columns: 1fr 1fr; }
.hmyt-tryon-grid3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 782px) {
  .hmyt-tryon-grid2,
  .hmyt-tryon-grid3 { grid-template-columns: 1fr; }
}


.hmyt-tryon-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.hmyt-tryon-preset-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px 13px;
  border: 1px solid #dfe2ea;
  border-radius: 6px;
  font-size: 13px;
  color: #50575e;
  cursor: pointer;
  background: #fff;
  transition: all .15s;
  user-select: none;
}
.hmyt-tryon-preset-chip:hover { border-color: #0d59f1; color: #0d59f1; }
.hmyt-tryon-preset-chip.active {
  border-color: #0d59f1;
  background: #0d59f10f;
  color: #0d59f1;
  font-weight: 600;
}
.hmyt-tryon-preset-chip > input { position: absolute; opacity: 0; pointer-events: none; }

.hmyt-tryon-prompt { font-family: inherit; line-height: 1.7; direction: ltr; text-align: left; }

.hmyt-tryon-single-cats { padding-top: 16px; margin-top: 2px; }

.hmyt-tryon-texts {
  border: 1px dashed #d8dbe3;
  border-radius: 8px;
  padding: 10px 14px;
  background: #f8fafd;
}
.hmyt-tryon-texts > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #0d59f1;
  user-select: none;
}
.hmyt-tryon-texts[open] > summary { margin-bottom: 12px; }


.hmyt-tryon-rules-hint {
  background: #fff8e6;
  border: 1px solid #f5e3b3;
  border-radius: 8px;
  padding: 10px 12px;
  color: #7a5d12 !important;
}
#hmyt-tryon-rules-container { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }


.hmyt-tryon-rule-card {
  border: 1px solid #e6e8ee;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.hmyt-tryon-rule-card.expanded { border-color: #0d59f1; box-shadow: 0 2px 12px rgba(13, 89, 241, .07); }


.hmyt-tryon-rule-card.is-disabled { background: #f6f7f9; border-color: #e6e8ee; }
.hmyt-tryon-rule-card.is-disabled .hmyt-tryon-rule-row > *:not(.hmyt-tryon-rule-actions) { opacity: .55; filter: grayscale(0.4); }
.hmyt-tryon-rule-card.is-disabled .hmyt-tryon-rule-badge { background: #e9ebef; color: #8a8f9c; }
.hmyt-tryon-rule-card.is-disabled.expanded { border-color: #d7dbe2; box-shadow: none; }

.hmyt-tryon-rule-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
}
.hmyt-tryon-sort-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #9aa0ad;
  cursor: grab;
  flex-shrink: 0;
}
.hmyt-tryon-sort-handle:hover { background: #f1f3f7; color: #555b66; }
.hmyt-tryon-rule-titlewrap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.hmyt-tryon-rule-actions { display: flex; align-items: center; }
.hmyt-tryon-rule-title { font-weight: 700; font-size: 14px; color: #1f2330; }
.hmyt-tryon-rule-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 5px;
  background: #e8f0fe;
  color: #0d59f1;
}
.hmyt-tryon-rule-actions { gap: 6px; }
.hmyt-tryon-rule-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555b66;
  cursor: pointer;
  padding: 0 6px;
  user-select: none;
}
.hmyt-tryon-rule-toggle input { accent-color: #0d59f1; }
.hmyt-tryon-rule-edit,
.hmyt-tryon-rule-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e6e8ee;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  color: #555b66;
  flex-shrink: 0;
}
.hmyt-tryon-rule-edit:hover { border-color: #0d59f1; color: #0d59f1; background: #0d59f10a; }
.hmyt-tryon-rule-remove { color: #d2484b; border-color: #f0d6d6; }
.hmyt-tryon-rule-remove:hover { background: #fdeaea; }
.hmyt-tryon-rule-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid #eef0f4;
}

.hmyt-tryon-rule-placeholder {
  border: 1.5px dashed #0d59f1;
  border-radius: 10px;
  background: #0d59f108;
  margin-bottom: 10px;
}

.hmyt-tryon-add-rule-btn { margin-top: 4px !important; }
.hmyt-tryon-rule-cat + .select2-container { width: 100% !important; }




.hmyt-tryon-aurora {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    perspective: 1200px;
    transition: opacity 1s ease, visibility 0s 1s;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 45%, rgba(0,0,0,0.3) 70%, transparent 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 45%, rgba(0,0,0,0.3) 70%, transparent 100%);
}

.hmyt-tryon-modal.is-thinking .hmyt-tryon-aurora {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0s 0s;
}

.hmyt-tryon-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    mix-blend-mode: normal;
    will-change: transform, background-color;
}

.hmyt-tryon-b1 { width: 300px; height: 170px; bottom: -60px; right: -50px; opacity: 0.72; filter: blur(60px) saturate(1.65); animation: hmyt-tdrift1 5s ease-in-out infinite, hmyt-thue1 9s linear 0s infinite; }
.hmyt-tryon-b2 { width: 250px; height: 140px; bottom: -45px; right: -80px; opacity: 0.5;  filter: blur(55px) saturate(1.55); animation: hmyt-tdrift2 6.5s ease-in-out infinite, hmyt-thue2 9s linear -0.6s infinite; }
.hmyt-tryon-b3 { width: 220px; height: 190px; bottom: -80px; right: 100px; opacity: 0.78; filter: blur(65px) saturate(1.7);  animation: hmyt-tdrift3 4.5s ease-in-out infinite, hmyt-thue3 9s linear -1.2s infinite; }
.hmyt-tryon-b4 { width: 240px; height: 130px; bottom: -30px; right: 40px;  opacity: 0.55; filter: blur(52px) saturate(1.55); animation: hmyt-tdrift4 3.5s ease-in-out infinite, hmyt-thue4 9s linear -1.8s infinite; }
.hmyt-tryon-b5 { width: 190px; height: 160px; bottom: -55px; right: 175px; opacity: 0.68; filter: blur(60px) saturate(1.65); animation: hmyt-tdrift5 5.5s ease-in-out infinite, hmyt-thue5 9s linear -2.4s infinite; }


@keyframes hmyt-tdrift1 {
    0%   { transform: translate3d(200px, -30px, 0)     rotate(0deg)   scale(1); }
    25%  { transform: translate3d(30px, 60px, 140px)   rotate(-16deg) scale(1.55); }
    55%  { transform: translate3d(-150px, -20px, 50px) rotate(12deg)  scale(0.8); }
    80%  { transform: translate3d(70px, 75px, -40px)   rotate(-6deg)  scale(1.3); }
    100% { transform: translate3d(200px, -30px, 0)     rotate(0deg)   scale(1); }
}
@keyframes hmyt-tdrift2 {
    0%   { transform: translate3d(150px, 45px, -60px)  rotate(6deg)   scale(1.1); }
    30%  { transform: translate3d(-120px, -40px, 90px) rotate(22deg)  scale(1.5); }
    60%  { transform: translate3d(80px, 70px, 30px)    rotate(-10deg) scale(0.85); }
    100% { transform: translate3d(150px, 45px, -60px)  rotate(6deg)   scale(1.1); }
}
@keyframes hmyt-tdrift3 {
    0%   { transform: translate3d(90px, -55px, 40px)   rotate(-8deg)  scale(1.3); }
    35%  { transform: translate3d(-160px, 80px, -50px) rotate(14deg)  scale(0.75); }
    65%  { transform: translate3d(50px, -75px, 110px)  rotate(-4deg)  scale(1.55); }
    100% { transform: translate3d(90px, -55px, 40px)   rotate(-8deg)  scale(1.3); }
}
@keyframes hmyt-tdrift4 {
    0%   { transform: translate3d(170px, 15px, -30px)  rotate(15deg)  scale(1); }
    30%  { transform: translate3d(-80px, -60px, 110px) rotate(-14deg) scale(1.65); }
    70%  { transform: translate3d(110px, 65px, 20px)   rotate(8deg)   scale(0.9); }
    100% { transform: translate3d(170px, 15px, -30px)  rotate(15deg)  scale(1); }
}
@keyframes hmyt-tdrift5 {
    0%   { transform: translate3d(130px, -20px, 50px)  rotate(-6deg)  scale(1.15); }
    25%  { transform: translate3d(-170px, 90px, 170px) rotate(18deg)  scale(1.7); }
    55%  { transform: translate3d(40px, -70px, -30px)  rotate(-12deg) scale(0.8); }
    85%  { transform: translate3d(-70px, 55px, 80px)   rotate(6deg)   scale(1.35); }
    100% { transform: translate3d(130px, -20px, 50px)  rotate(-6deg)  scale(1.15); }
}

@keyframes hmyt-thue1 { 0%{background:#2563eb;} 17%{background:#0891b2;} 33%{background:#7c3aed;} 50%{background:#db2777;} 67%{background:#f59e0b;} 83%{background:#10b981;} 100%{background:#2563eb;} }
@keyframes hmyt-thue2 { 0%{background:#3b82f6;} 17%{background:#0e7490;} 33%{background:#8b5cf6;} 50%{background:#ec4899;} 67%{background:#f97316;} 83%{background:#059669;} 100%{background:#3b82f6;} }
@keyframes hmyt-thue3 { 0%{background:#6366f1;} 17%{background:#06b6d4;} 33%{background:#a855f7;} 50%{background:#f43f5e;} 67%{background:#fbbf24;} 83%{background:#14b8a6;} 100%{background:#6366f1;} }
@keyframes hmyt-thue4 { 0%{background:#0ea5e9;} 17%{background:#0284c7;} 33%{background:#9333ea;} 50%{background:#e11d48;} 67%{background:#fb923c;} 83%{background:#22c55e;} 100%{background:#0ea5e9;} }
@keyframes hmyt-thue5 { 0%{background:#4f46e5;} 17%{background:#155e75;} 33%{background:#6d28d9;} 50%{background:#be185d;} 67%{background:#ea580c;} 83%{background:#34d399;} 100%{background:#4f46e5;} }

.hmyt-tryon-grain {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
    background-image: radial-gradient(rgba(0,0,0,0.45) 1px, transparent 1px);
    background-size: 4px 4px;
}