﻿:root { --bg: #f4f7fb; --ink: #0f172a; --mute: #64748b; --card: #ffffff; --line: #e2e8f0; --blue: #2563eb; --blue-2: #38bdf8; --violet: #2563eb; --cyan: #0284c7; --pink: #2563eb; --ok: #059669; --err: #e11d48; --font: "Poppins", system-ui, sans-serif; --display: "Poppins", system-ui, sans-serif; --radius: 22px; --glow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 16px 40px rgba(15, 23, 42, 0.06); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0px; min-height: 100vh; color: var(--ink); font-family: var(--font); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { display: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.glow { position: fixed; width: 480px; height: 480px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 68%); transform: translate(-50%, -50%); opacity: 0.7; }
.site { position: relative; z-index: 1; width: min(1180px, 100% - 32px); margin: 0px auto; padding: 20px 0px 48px; }
.black-edition { position: relative; left: auto; width: 100vw; margin: -20px calc(50% - 50vw) 28px; padding: 22px 0px 32px; color: rgb(238, 246, 255); background: radial-gradient(900px 420px at 88% -10%, rgba(56, 189, 248, 0.35), transparent 50%), radial-gradient(700px 380px at 8% 110%, rgba(37, 99, 235, 0.35), transparent 50%), linear-gradient(rgb(7, 20, 40) 0%, rgb(11, 42, 107) 100%); }
.black-edition .site-header, .black-edition .hero, .black-edition .stats { width: min(1180px, 100% - 32px); margin-left: auto; margin-right: auto; }
.black-edition .logo { color: rgb(255, 255, 255); }
.black-edition .logo-text span { background: linear-gradient(90deg, rgb(125, 211, 252), rgb(56, 189, 248)) text; color: transparent; }
.black-edition .logo-mark { box-shadow: rgba(56, 189, 248, 0.28) 0px 8px 20px; }
.black-edition .site-header { background: transparent; border: 0px; box-shadow: none; padding: 0px; }
.black-edition .menu { background: rgba(15, 40, 90, 0.7); border-color: rgba(125, 211, 252, 0.2); box-shadow: none; }
.black-edition .menu a { color: rgb(219, 234, 254); }
.black-edition .menu a:hover { color: rgb(255, 255, 255); background: rgba(56, 189, 248, 0.2); }
.black-edition .hero { margin-bottom: 20px; }
.black-edition .hero h1 { color: rgb(255, 255, 255); }
.black-edition .hero h1 span { background: linear-gradient(120deg, rgb(125, 211, 252) 0%, rgb(96, 165, 250) 45%, rgb(255, 255, 255) 100%) text; color: transparent; }
.black-edition .eyebrow { color: rgb(125, 211, 252); }
.black-edition .eyebrow::before { background: rgb(56, 189, 248); box-shadow: rgb(56, 189, 248) 0px 0px 12px; }
.black-edition .lede { color: rgb(191, 219, 254); }
.black-edition .hero-chips span { background: rgba(15, 40, 90, 0.55); border-color: rgba(125, 211, 252, 0.28); color: rgb(224, 242, 254); }
.black-edition .stats { margin-bottom: 0px; }
.black-edition .stats > div { background: rgba(15, 40, 90, 0.45); border-color: rgba(125, 211, 252, 0.22); box-shadow: none; }
.black-edition .stats b { background: linear-gradient(90deg, rgb(255, 255, 255), rgb(125, 211, 252)) text; color: transparent; }
.black-edition .stats span { color: rgb(147, 197, 253); }
.black-edition .studio { border-color: rgba(125, 211, 252, 0.28); }
.site-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 28px; padding: 0px; background: none; border: 0px; box-shadow: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.28rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; grid-column: 1; }
.logo-mark { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; overflow: hidden; box-shadow: rgba(37, 99, 235, 0.22) 0px 6px 16px; }
.logo-mark svg { display: block; width: 100%; height: 100%; }
.logo-text { display: inline-flex; align-items: baseline; }
.logo-text span { background: linear-gradient(90deg, rgb(37, 99, 235), rgb(56, 189, 248)) text; color: transparent; }
.menu { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgb(239, 246, 255); border: 1px solid rgb(219, 234, 254); border-radius: 999px; grid-column: 2; justify-self: start; }
.menu a { text-decoration: none; color: rgb(71, 85, 105); font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; transition: 0.18s; }
.menu a:hover { color: rgb(15, 23, 42); background: rgb(255, 255, 255); }
.menu a.on { color: rgb(255, 255, 255); font-weight: 700; }
.menu a[data-nav="all"].on { background: linear-gradient(135deg, rgb(37, 99, 235), rgb(56, 189, 248)); }
.menu a[data-nav="video"].on { background: linear-gradient(135deg, rgb(29, 78, 216), rgb(59, 130, 246)); }
.menu a[data-nav="audio"].on { background: linear-gradient(135deg, rgb(15, 118, 110), rgb(45, 212, 191)); }
.menu a[data-nav="gif"].on { background: linear-gradient(135deg, rgb(3, 105, 161), rgb(56, 189, 248)); }
.menu a[data-nav="contact"].on { background: linear-gradient(135deg, rgb(37, 99, 235), rgb(14, 165, 233)); }
.contact-page { display: grid; gap: 16px; max-width: 40rem; }
.contact-page .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-page .contact-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.contact-page .error-btn-primary { border: 0; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }
.contact-page .error-btn-ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.lang-switch { position: relative; margin-left: 0; z-index: 50; grid-column: 3; justify-self: end; }
.lang-btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(37, 99, 235, 0.18); background: linear-gradient(rgb(255, 255, 255) 0%, rgb(248, 251, 255) 100%); color: rgb(15, 23, 42); border-radius: 14px; padding: 7px 12px 7px 8px; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 0.86rem; font-weight: 700; cursor: pointer; box-shadow: rgba(15, 23, 42, 0.08) 0px 8px 22px; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s; }
.lang-btn:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: rgba(37, 99, 235, 0.14) 0px 10px 26px; }
.lang-btn[aria-expanded="true"] { border-color: rgb(37, 99, 235); box-shadow: rgba(37, 99, 235, 0.15) 0px 0px 0px 3px; }
.lang-flag { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: rgb(239, 246, 255); border: 1px solid rgb(219, 234, 254); font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.lang-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0px; line-height: 1.15; }
.lang-name { color: rgb(15, 23, 42); font-weight: 700; font-size: 0.86rem; white-space: nowrap; }
.lang-code { color: rgb(100, 116, 139); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lang-caret { width: 0.45rem; height: 0.45rem; margin-left: 2px; border-right: 2px solid rgb(100, 116, 139); border-bottom: 2px solid rgb(100, 116, 139); transform: rotate(45deg) translateY(-2px); transition: transform 0.18s; flex-shrink: 0; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(225deg) translateY(-1px); }
.lang-menu { position: absolute; right: 0px; top: calc(100% + 10px); z-index: 60; width: min(240px, -24px + 100vw); margin: 0px; padding: 8px; list-style: none; background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); border-radius: 16px; box-shadow: rgba(15, 23, 42, 0.18) 0px 24px 50px; max-height: min(70vh, 420px); overflow: auto; }
.lang-menu-head { padding: 8px 10px 10px; color: rgb(100, 116, 139); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: rgb(15, 23, 42); font-size: 0.9rem; transition: background 0.15s; }
.lang-menu a:hover { background: rgb(241, 245, 249); }
.lang-menu a.on { background: linear-gradient(135deg, rgb(239, 246, 255), rgb(224, 242, 254)); box-shadow: rgb(191, 219, 254) 0px 0px 0px 1px inset; }
.lang-menu .lang-flag { width: 1.85rem; height: 1.85rem; font-size: 1.2rem; border-radius: 9px; }
.lang-menu .lang-name { font-size: 0.9rem; }
.lang-check { margin-left: auto; width: 0.55rem; height: 0.9rem; border-right: 2.5px solid rgb(37, 99, 235); border-bottom: 2.5px solid rgb(37, 99, 235); transform: rotate(45deg) translateY(-2px); flex-shrink: 0; }
.black-edition .lang-btn { background: rgba(15, 40, 90, 0.55); border-color: rgba(125, 211, 252, 0.28); color: rgb(224, 242, 254); box-shadow: rgba(2, 8, 28, 0.28) 0px 10px 28px; backdrop-filter: blur(10px); }
.black-edition .lang-btn:hover { border-color: rgba(125, 211, 252, 0.5); background: rgba(30, 64, 120, 0.7); }
.black-edition .lang-btn[aria-expanded="true"] { border-color: rgb(56, 189, 248); box-shadow: rgba(56, 189, 248, 0.18) 0px 0px 0px 3px; }
.black-edition .lang-flag { background: rgba(56, 189, 248, 0.12); border-color: rgba(125, 211, 252, 0.28); }
.black-edition .lang-name { color: rgb(248, 250, 252); }
.black-edition .lang-code { color: rgb(147, 197, 253); }
.black-edition .lang-caret { border-color: rgb(147, 197, 253); }
.black-edition .lang-menu { background: rgba(7, 20, 40, 0.96); border-color: rgba(125, 211, 252, 0.22); box-shadow: rgba(2, 8, 28, 0.55) 0px 28px 60px; backdrop-filter: blur(14px); }
.black-edition .lang-menu-head { color: rgb(125, 211, 252); }
.black-edition .lang-menu a { color: rgb(226, 232, 240); }
.black-edition .lang-menu a:hover { background: rgba(56, 189, 248, 0.12); }
.black-edition .lang-menu a.on { background: rgba(37, 99, 235, 0.28); box-shadow: rgba(125, 211, 252, 0.28) 0px 0px 0px 1px inset; }
.black-edition .lang-menu .lang-name { color: rgb(248, 250, 252); }
.black-edition .lang-menu .lang-code { color: rgb(147, 197, 253); }
.black-edition .lang-check { border-color: rgb(56, 189, 248); }
@media (max-width: 900px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .logo { grid-column: 1; grid-row: 1; }
  .lang-switch { grid-column: 2; grid-row: 1; }
  .menu { grid-column: 1 / -1; grid-row: 2; width: max-content; max-width: 100%; }
}
html[dir="rtl"] { --font: "Noto Sans Arabic", "Poppins", system-ui, sans-serif; --display: "Noto Sans Arabic", "Poppins", system-ui, sans-serif; }
html[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 0; justify-self: start; }
html[dir="rtl"] .lang-menu { right: auto; left: 0px; }
html[dir="rtl"] .lang-meta { align-items: flex-end; }
html[dir="rtl"] .lang-check { margin-left: 0px; margin-right: auto; }
html[dir="rtl"] .site, html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] body { font-family: var(--font); }
html[dir="rtl"] .logo, html[dir="rtl"] .logo-text, html[dir="rtl"] .foot-brand .logo, html[dir="rtl"] .foot-brand .logo-text { direction: ltr; letter-spacing: -0.04em; unicode-bidi: isolate; }
html[dir="rtl"] .hero h1, html[dir="rtl"] .tool-hero h1, html[dir="rtl"] .black-edition .hero h1 { letter-spacing: 0px; line-height: 1.25; unicode-bidi: isolate; }
html[dir="rtl"] .hero h1 bdi, html[dir="rtl"] .tool-hero h1 bdi { unicode-bidi: isolate; }
html[dir="rtl"] .eyebrow { letter-spacing: 0.06em; }
html[dir="rtl"] .lede { max-width: none; }
html[dir="rtl"] .hero-copy { text-align: right; }
html[dir="rtl"] .studio-chrome, html[dir="rtl"] .transport, html[dir="rtl"] .tracks { direction: ltr; }
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; margin-bottom: 22px; }
.eyebrow { margin: 0px 0px 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); animation: 1.8s ease-in-out 0s infinite normal none running pulse; }
@keyframes pulse { 
  50% { transform: scale(1.25); opacity: 0.7; }
}
.hero h1, .tool-hero h1 { margin: 0px 0px 12px; font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.05em; }
.hero h1 span, .tool-hero h1 span { background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-color: ; background-clip: text; color: transparent; }
.lede { margin: 0px; max-width: 34rem; color: var(--mute); font-size: 1.08rem; line-height: 1.6; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255, 255, 255); color: var(--ink); font-size: 0.8rem; font-weight: 600; }
.hero-stage { position: relative; min-height: 320px; display: grid; place-items: center; perspective: 900px; }
.studio { width: min(100%, 430px); border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(rgb(11, 27, 56), rgb(7, 18, 38)); box-shadow: rgba(3, 12, 32, 0.45) 0px 30px 60px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset; overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); position: relative; }
.studio-chrome { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.win-dots { display: flex; gap: 5px; }
.win-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(248, 113, 113); }
.win-dots i:nth-child(2) { background: rgb(251, 191, 36); }
.win-dots i:nth-child(3) { background: rgb(52, 211, 153); }
.studio-chrome strong { flex: 1 1 0%; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; color: rgb(147, 197, 253); text-align: center; }
.studio-chrome em { font-style: normal; font-size: 0.62rem; font-weight: 800; color: rgb(11, 27, 56); background: rgb(125, 211, 252); border-radius: 999px; padding: 3px 7px; }
.viewer { position: relative; height: 168px; display: grid; place-items: center; background: radial-gradient(circle at 22% 20%, rgba(125, 211, 252, 0.35), transparent 36%), linear-gradient(145deg, rgb(29, 78, 216), rgb(2, 132, 199) 55%, rgb(14, 165, 233)); overflow: hidden; }
.grid-lines { position: absolute; inset: 0px; background: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0% 0% / 18% 25%, linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px); opacity: 0.35; pointer-events: none; }
.tc { position: absolute; left: 10px; top: 8px; z-index: 2; font-size: 0.68rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: rgb(255, 255, 255); text-shadow: rgba(0, 0, 0, 0.4) 0px 1px 4px; }
.live-pill { position: absolute; right: 10px; top: 8px; z-index: 2; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; color: rgb(255, 255, 255); background: rgb(239, 68, 68); border-radius: 4px; padding: 3px 6px; animation: 1.4s ease-in-out 0s infinite normal none running recblink; }
@keyframes recblink { 
  50% { opacity: 0.45; }
}
.pip { position: absolute; right: 12px; bottom: 36px; width: 72px; height: 46px; border-radius: 8px; border: 2px solid rgb(255, 255, 255); background: linear-gradient(135deg, rgb(251, 113, 133), rgb(245, 158, 11)); box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 18px; z-index: 2; }
.go { width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, 0.96); box-shadow: rgba(15, 23, 42, 0.28) 0px 12px 28px; position: relative; z-index: 2; }
.go::after { content: ""; position: absolute; left: 21px; top: 17px; border-style: solid; border-width: 10px 0px 10px 15px; border-color: transparent transparent transparent rgb(29, 78, 216); }
.eq { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 28px; display: flex; align-items: flex-end; gap: 3px; z-index: 1; }
.eq i { flex: 1 1 0%; height: 30%; border-radius: 99px; background: rgba(255, 255, 255, 0.82); animation: 1s ease-in-out 0s infinite normal none running bounce; }
.eq i:nth-child(2n+1) { animation-delay: 0.12s; }
.eq i:nth-child(3n) { animation-delay: 0.22s; }
@keyframes bounce { 
  0%, 100% { height: 22%; }
  50% { height: 100%; }
}
.transport { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(0, 0, 0, 0.25); }
.ctrl { width: 22px; height: 22px; border-radius: 50%; background: rgb(30, 58, 138); position: relative; flex: 0 0 auto; }
.ctrl.play { background: rgb(56, 189, 248); }
.ctrl.play::after { content: ""; position: absolute; left: 8px; top: 6px; border-style: solid; border-width: 5px 0px 5px 8px; border-color: transparent transparent transparent rgb(11, 27, 56); }
.ctrl.skip::before, .ctrl.skip::after { content: ""; position: absolute; top: 7px; border-style: solid; border-width: 4px 0px 4px 6px; border-color: transparent transparent transparent rgb(191, 219, 254); }
.ctrl.skip::before { left: 5px; }
.ctrl.skip::after { left: 10px; }
.ctrl.skip.r { transform: scaleX(-1); }
.scrub { flex: 1 1 0%; height: 5px; border-radius: 99px; background: rgb(30, 58, 138); overflow: hidden; }
.scrub i { display: block; height: 100%; width: 42%; border-radius: inherit; background: linear-gradient(90deg, rgb(56, 189, 248), rgb(255, 255, 255)); animation: 2.8s ease-in-out 0s infinite normal none running load; }
@keyframes load { 
  0% { width: 18%; }
  50% { width: 72%; }
  100% { width: 18%; }
}
.transport b { font-size: 0.64rem; font-weight: 700; color: rgb(147, 197, 253); font-variant-numeric: tabular-nums; }
.nle { position: relative; display: grid; gap: 6px; padding: 10px 12px 14px; }
.lane { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; }
.lane > span { font-size: 0.58rem; font-weight: 800; color: rgb(96, 165, 250); }
.clip { height: 18px; border-radius: 5px; position: relative; overflow: hidden; }
.v1 { width: 78%; display: flex; gap: 2px; background: rgb(29, 78, 216); padding: 2px; }
.v1 i { flex: 1 1 0%; background: linear-gradient(rgb(147, 197, 253), rgb(29, 78, 216)); border-radius: 2px; }
.v2 { width: 52%; margin-left: 18%; background: linear-gradient(90deg, rgb(34, 211, 238), rgb(56, 189, 248)); }
.a1 { width: 86%; display: flex; align-items: center; gap: 3px; padding: 0px 6px; background: rgb(15, 118, 110); }
.a1 em { flex: 1 1 0%; height: 45%; background: rgb(94, 234, 212); border-radius: 2px; }
.a1 em:nth-child(2n) { height: 70%; }
.a1 em:nth-child(3n) { height: 35%; }
.a1 em:nth-child(4n) { height: 85%; }
.playhead { position: absolute; top: 10px; bottom: 14px; left: 46%; width: 2px; background: rgb(251, 191, 36); box-shadow: rgb(251, 191, 36) 0px 0px 8px; z-index: 4; animation: 3.2s ease-in-out 0s infinite normal none running head; pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: -5px; left: -4px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid rgb(251, 191, 36); }
@keyframes head { 
  0%, 100% { left: 32%; }
  50% { left: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  .eq i, .scrub i, .playhead, .live-pill { animation: auto ease 0s 1 normal none running none !important; }
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.stats > div { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgb(255, 255, 255); backdrop-filter: blur(10px); box-shadow: var(--glow); }
.stats b { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 800; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-color: ; background-clip: text; color: transparent; }
.stats span { color: var(--mute); font-size: 0.82rem; font-weight: 600; }
.crumbs { margin: 0px 0px 16px; }
.crumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 0px; margin: 0px; padding: 0px; list-style: none; font-size: 0.84rem; font-weight: 500; line-height: 1.2; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0px 10px; border-top: 1.5px solid rgb(148, 163, 184); border-right: 1.5px solid rgb(148, 163, 184); transform: rotate(45deg); flex: 0 0 auto; opacity: 0.7; }
.crumbs a { color: rgb(100, 116, 139); text-decoration: none; transition: color 0.15s; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current="page"] { color: rgb(15, 23, 42); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(280px, 55vw); }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; text-decoration: none; color: var(--cyan); font-weight: 650; font-size: 0.92rem; }
.back:hover { color: var(--pink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 16px; box-shadow: rgba(26, 20, 48, 0.04) 0px 6px 18px; }
.tabs button { border: 0px; background: transparent; color: var(--mute); font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-weight: 650; font-size: 0.88rem; padding: 8px 13px; border-radius: 12px; cursor: pointer; }
.tabs button:hover { color: var(--ink); background: rgb(244, 240, 255); }
.tabs button.is-on { color: rgb(255, 255, 255); background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.search { flex: 1 1 210px; min-width: 180px; border: 1px solid var(--line); border-radius: 16px; padding: 11px 14px; font: inherit; color: var(--ink); background: rgb(255, 255, 255); }
.search::placeholder { color: rgb(154, 148, 173); }
.search:focus { outline: none; border-color: rgba(34, 211, 238, 0.55); box-shadow: rgba(34, 211, 238, 0.12) 0px 0px 0px 4px; }
.tools { display: grid; grid-template-columns: repeat(5, minmax(0px, 1fr)); gap: 12px; }
.glow { display: none; }
.tool { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 176px; padding: 16px; text-decoration: none; color: var(--ink); background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); border-radius: var(--radius); box-shadow: rgba(26, 20, 48, 0.06) 0px 10px 28px; overflow: hidden; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s; }
.tool:focus, .tool:focus-visible { outline: none; border-color: rgb(191, 219, 254); }
.tool:hover { border-color: transparent; box-shadow: rgba(37, 99, 235, 0.12) 0px 16px 36px; transform: translateY(-2px); }
.tool-ico, .tool strong, .tool > span:last-child { position: relative; z-index: 1; }
.tool-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; line-height: 1; background: rgb(241, 245, 249); border: 0px !important; outline: none !important; box-shadow: none !important; }
.tool:hover .tool-ico, .tool:focus .tool-ico, .tool:active .tool-ico, .tool[data-cat="audio"] .tool-ico, .tool[data-cat="gif"] .tool-ico { background: rgb(241, 245, 249) !important; border: 0px !important; outline: none !important; box-shadow: none !important; }
.tool strong { font-family: var(--display); font-size: 0.98rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; }
.tool > span:last-child { color: var(--mute); font-size: 0.8rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.related { margin-top: 28px; }
.related h2 { margin: 0px 0px 12px; font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.03em; }
.related-tools { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
body.tool-page .crumbs, body.tool-page .tool-hero, body.tool-page .work { width: min(640px, 100%); margin-left: auto; margin-right: auto; }
body.tool-page .site-header { margin-bottom: 28px; }
body.tool-page .related-tools { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
body.tool-page .fields { grid-template-columns: 1fr; }
body.tool-page .fields:has(label:nth-child(2)) { grid-template-columns: 1fr 1fr; }
body.tool-page .btn { box-shadow: rgba(37, 99, 235, 0.2) 0px 10px 24px; }
.tool-hero { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(16px); box-shadow: var(--glow); }
.tool-hero-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.45rem; background: rgb(239, 246, 255); border: 1px solid rgb(219, 234, 254); flex: 0 0 auto; }
.tool-hero h1 { margin: 0px 0px 4px; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.tool-hero .lede { margin: 0px; font-size: 0.92rem; line-height: 1.45; }
.work { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 20px 22px; backdrop-filter: blur(16px); box-shadow: var(--glow); }
.block { padding: 28px 0px; border-bottom: 1px solid var(--line); }
.block:last-of-type { border-bottom: 0px; padding-bottom: 10px; }
.block h2 { display: flex; align-items: center; gap: 10px; margin: 0px 0px 18px; font-family: var(--display); font-size: 1rem; letter-spacing: -0.02em; }
.block h2 i { font-style: normal; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: rgb(255, 255, 255); font-size: 0.8rem; font-weight: 700; }
.drops { display: grid; gap: 10px; }
.drops.two { grid-template-columns: 1fr 1fr; }
.drop { position: relative; display: block; min-height: 140px; border: 1.5px dashed rgb(191, 219, 254); border-radius: 16px; background: rgb(248, 251, 255); padding: 12px; cursor: pointer; transition: 0.15s; }
.drop:hover, .drop.drag, .drop.has-file { border-color: var(--blue); background: rgb(239, 246, 255); }
.drop input { display: none; }
.drop input[type="file"] { position: absolute; inset: 0px; z-index: 2; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0px; display: block !important; }
.drop.has-file input[type="file"] { pointer-events: none; }
.gif-source-panel { margin-top: 14px; }
.gif-source-panel[hidden] { display: none !important; }
.gif-url-field { display: grid; gap: 8px; }
.gif-url-field span { font-weight: 650; font-size: 0.85rem; color: rgb(15, 23, 42); }
.gif-url-field input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgb(191, 219, 254); border-radius: 14px; background: rgb(248, 251, 255); font: inherit; color: rgb(15, 23, 42); }
.gif-url-field input:focus { outline: rgba(37, 99, 235, 0.25) solid 2px; border-color: var(--blue); }
.gif-url-help { margin: 10px 0px 0px; color: rgb(100, 116, 139); font-size: 0.86rem; line-height: 1.45; }
.gif-url-preview { margin-top: 14px; padding: 12px; border: 1px solid rgb(219, 234, 254); border-radius: 16px; background: rgb(248, 251, 255); }
.gif-url-preview img { display: block; width: 100%; max-height: 220px; object-fit: contain; border-radius: 12px; background: rgb(15, 23, 42); }
.gif-url-preview .meta { display: block; margin-top: 8px; color: rgb(71, 85, 105); font-size: 0.84rem; font-weight: 600; }
.drop-clear { position: absolute; top: 14px; right: 14px; z-index: 20; display: none; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0px; padding: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 999px; font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-numeric: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; line-height: 1; cursor: pointer; box-shadow: rgba(15, 23, 42, 0.35) 0px 6px 16px; appearance: none; background: rgb(15, 23, 42) !important; color: rgb(255, 255, 255) !important; }
.drop-clear:hover { border-color: rgb(255, 255, 255); background: rgb(220, 38, 38) !important; color: rgb(255, 255, 255) !important; }
.drop.has-file .drop-clear:not([hidden]) { display: inline-flex !important; }
.drop-clear[hidden] { display: none !important; }
.drop-empty { min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; position: relative; z-index: 1; pointer-events: none; }
.drop.has-file .drop-empty { display: none; }
.drop-empty b { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgb(255, 255, 255); border: 1px solid rgb(219, 234, 254); color: var(--blue); font-size: 1.2rem; }
.drop-empty em { font-style: normal; color: var(--mute); font-size: 0.85rem; }
.drop video, .tool-drop img { width: 100%; max-height: 190px; margin-top: 8px; border-radius: 12px; background: rgb(17, 24, 39); object-fit: contain; }
.result video, .result img { display: none; width: auto; max-width: 100%; height: auto; max-height: min(70vh, 520px); margin: 0px auto; border-radius: 12px; background: rgb(15, 23, 42); object-fit: contain; }
.drop video, .drop audio, .tool-drop audio, .tool-drop audio.drop-audio-src, .tool-drop img { display: none !important; }
.drop.has-file.has-video video, .tool-drop.has-file img { display: block !important; }
.drop.has-file.has-audio video { display: none !important; }
.tool-drop.has-file:has(> .drop-audio-player:not([hidden])) { display: flex; flex-direction: column; gap: 10px; }
.tool-drop .drop-audio-player { margin-top: 0px; width: 100%; display: none !important; }
.tool-drop .drop-audio-player:not([hidden]) { flex: 1 1 auto; align-items: center; align-self: stretch; min-height: 180px; padding: 18px 16px; border: 0px; border-radius: 14px; color: rgb(226, 232, 240); background: radial-gradient(120% 140% at 10% 0%, rgba(56, 189, 248, 0.22), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(37, 99, 235, 0.28), transparent 50%), linear-gradient(165deg, rgb(15, 23, 42), rgb(30, 41, 59) 55%, rgb(11, 18, 32)); box-shadow: rgba(148, 163, 184, 0.18) 0px 0px 0px 1px inset; display: flex !important; }
.tool-drop .drop-audio-player .ap-time { color: rgb(203, 213, 225); }
.tool-drop .drop-audio-player .ap-wave i { background: linear-gradient(rgb(125, 211, 252), rgb(37, 99, 235)); opacity: 0.9; }
.tool-drop .drop-audio-player .ap-seek { background: linear-gradient(90deg, #38bdf8 var(--ap-pct, 0%), #2563eb var(--ap-pct, 0%), rgba(148, 163, 184, 0.35) var(--ap-pct, 0%)); }
.tool-drop .drop-audio-player .ap-volume { background: linear-gradient(90deg, #38bdf8 var(--ap-vol, 90%), rgba(148, 163, 184, 0.35) var(--ap-vol, 90%)); }
.tool-drop .drop-audio-player .ap-mute { color: rgb(226, 232, 240); background: rgba(255, 255, 255, 0.08); }
.tool-drop .drop-audio-player .ap-mute:hover { background: rgba(56, 189, 248, 0.22); }
.tool-drop .drop-audio-player .ap-label { margin: 0px 0px 2px; color: rgb(147, 197, 253); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tool-drop .drop-audio-player .ap-wave { height: 36px; }
.tool-drop.has-file:has(> .drop-audio-player:not([hidden])) .meta { margin-top: 0px; order: 2; }
.field-note { grid-column: 1 / -1; margin: 0px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgb(219, 234, 254); background: rgb(239, 246, 255); color: rgb(30, 64, 175); font-size: 0.86rem; line-height: 1.45; }
.meta { display: none; margin-top: 8px; color: var(--mute); font-size: 0.8rem; word-break: break-word; }
.drop.has-file .meta, .result .meta { display: block; }
.file-order { display: none; margin-top: 16px; }
.file-order.show { display: grid; gap: 12px; }
.file-order-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.file-order-head strong { color: var(--ink); }
.file-order-head span { color: var(--mute); font-size: 0.78rem; }
.file-order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.file-order-card { display: flex; flex-direction: column; gap: 8px; min-width: 0px; padding: 8px; border: 1px solid rgb(219, 234, 254); border-radius: 14px; background: rgb(255, 255, 255); box-shadow: rgba(15, 23, 42, 0.04) 0px 8px 18px; cursor: grab; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.file-order-card:hover { border-color: rgb(147, 197, 253); box-shadow: rgba(37, 99, 235, 0.1) 0px 10px 22px; }
.file-order-card.dragging { opacity: 0.45; cursor: grabbing; transform: scale(0.98); }
.file-order-card.drag-over { border-color: var(--blue); box-shadow: rgba(37, 99, 235, 0.16) 0px 0px 0px 3px; }
.file-order-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 10px; background: rgb(15, 23, 42); }
.file-order-thumb video, .file-order-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.file-order-audio { display: grid; place-items: center; width: 100%; height: 100%; color: rgb(147, 197, 253); font-size: 1.8rem; }
.file-order-number { position: absolute; top: 8px; left: 8px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: rgb(37, 99, 235); color: rgb(255, 255, 255); font-size: 0.75rem; font-weight: 800; box-shadow: rgba(37, 99, 235, 0.35) 0px 4px 10px; }
.file-order-remove { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0px; padding: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 999px; background: rgb(15, 23, 42); color: rgb(255, 255, 255); cursor: pointer; box-shadow: rgba(15, 23, 42, 0.3) 0px 4px 10px; }
.file-order-remove:hover { background: rgb(220, 38, 38); }
.file-order-details { min-width: 0px; display: flex; flex-direction: column; gap: 2px; padding: 0px 2px; }
.file-order-details strong { overflow: hidden; color: var(--ink); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.file-order-details span { color: var(--mute); font-size: 0.72rem; }
.file-order-actions { display: flex; gap: 6px; }
.file-order-actions button { flex: 1 1 0%; height: 30px; border: 1px solid rgb(219, 234, 254); border-radius: 8px; background: rgb(248, 251, 255); color: rgb(29, 78, 216); font-weight: 700; cursor: pointer; }
.file-order-actions button:hover:not(:disabled) { background: rgb(239, 246, 255); border-color: rgb(147, 197, 253); }
.file-order-actions button:disabled { opacity: 0.35; cursor: default; }
.uploads { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.uploads-decide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 56px; padding: 8px 4px; }
.uploads-rail { width: 2px; flex: 1 1 24px; min-height: 28px; border-radius: 999px; background: linear-gradient(transparent, rgb(147, 197, 253), transparent); }
.uploads-hint { color: rgb(100, 116, 139); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.swap-btn { flex: 0 0 auto; width: 48px; height: 48px; border: 1px solid rgb(191, 219, 254); border-radius: 50%; background: rgb(255, 255, 255); color: var(--blue); cursor: pointer; font-size: 1.05rem; box-shadow: rgba(37, 99, 235, 0.1) 0px 8px 18px; transition: 0.15s; }
.swap-btn:hover { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; color: rgb(255, 255, 255); }
.layouts { display: flex; align-items: stretch; gap: 10px; padding: 10px; border: 1px solid rgb(226, 232, 240); border-radius: 18px; background: linear-gradient(rgb(248, 251, 255) 0%, rgb(241, 245, 249) 100%); }
.layout-card { flex: 1 1 0px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0px; border: 1px solid transparent; background: transparent; border-radius: 14px; padding: 14px 12px 16px; text-align: center; cursor: pointer; color: var(--ink); transition: background 0.18s, border-color 0.18s, box-shadow 0.18s; }
.layout-card:hover { background: rgba(255, 255, 255, 0.72); border-color: rgb(219, 234, 254); }
.layout-card.active { background: rgb(255, 255, 255); border-color: rgb(147, 197, 253); box-shadow: rgba(37, 99, 235, 0.12) 0px 10px 24px; }
.layout-card.active .preview { box-shadow: rgba(37, 99, 235, 0.18) 0px 0px 0px 2px inset; }
.layout-copy { display: flex; flex-direction: column; gap: 3px; width: 100%; min-width: 0px; }
.layout-copy strong { display: block; margin: 0px; font-family: var(--display); font-size: 0.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.layout-copy span { color: rgb(100, 116, 139); font-size: 0.78rem; line-height: 1.3; }
.preview { flex: 0 0 64px; display: flex; align-items: center; justify-content: center; width: 108px; height: 64px; margin: 0px; border-radius: 12px; overflow: hidden; background: rgb(219, 234, 254); box-shadow: rgba(37, 99, 235, 0.08) 0px 0px 0px 1px inset; }
.preview svg { display: block; width: 108px; height: 64px; }
.fields, .settings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fields label, .settings label, .field { display: flex; flex-direction: column; gap: 8px; min-width: 0px; }
.fields label span, .settings label > span, .field span { display: block; margin-bottom: 0px; font-weight: 650; font-size: 0.85rem; }
.field-label { align-items: center; gap: 8px; margin: 0px; font-weight: 650; font-size: 0.85rem; color: rgb(15, 23, 42); display: inline-flex !important; }
.tip-btn { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0px; padding: 0px; border: 1px solid rgb(147, 197, 253); border-radius: 999px; background: rgb(239, 246, 255); color: rgb(29, 78, 216); font: 700 0.72rem/1 var(--sans, inherit); cursor: help; flex: 0 0 auto; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.tip-btn:hover, .tip-btn:focus-visible, .has-tip:focus-within .tip-btn { background: rgb(37, 99, 235); border-color: rgb(37, 99, 235); color: rgb(255, 255, 255); transform: scale(1.08); outline: none; }
.has-tip { position: relative; }
.fields label .tip-bubble, .settings label .tip-bubble { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0px; right: 0px; padding: 12px 14px; border: 1px solid rgb(191, 219, 254); border-radius: 12px; background: rgb(255, 255, 255); color: rgb(71, 85, 105); box-shadow: rgba(15, 23, 42, 0.12) 0px 12px 28px; font-size: 0.8rem; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s; }
.fields label .tip-bubble strong, .settings label .tip-bubble strong { display: block; margin-top: 8px; color: rgb(15, 23, 42); font-weight: 600; }
.tip-bubble strong:first-child { margin-top: 0px; }
.has-tip:hover .tip-bubble, .has-tip:focus-within .tip-bubble, .field-label:has(.tip-btn:hover) ~ .tip-bubble, .field-label:has(.tip-btn:focus-visible) ~ .tip-bubble { opacity: 1; visibility: visible; transform: translateY(0px); }
select, input[type="number"] { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: rgb(255, 255, 255); padding: 12px 14px; font: inherit; color: var(--ink); }
select:focus, input:focus { outline: none; border-color: rgba(37, 99, 235, 0.55); box-shadow: rgba(37, 99, 235, 0.12) 0px 0px 0px 4px; }
.pip-only.hidden, .audio-only.hidden { display: none; }
.more { margin-top: 18px; border: 1px solid rgb(191, 219, 254); border-radius: 14px; padding: 4px 16px 16px; background: rgb(248, 251, 255); }
.more summary { cursor: pointer; font-weight: 650; color: var(--blue); padding: 14px 0px; }
.more .settings, .more .fields { margin-top: 4px; padding-bottom: 4px; }
.gap-field { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgb(226, 232, 240); border-radius: 14px; background: rgb(248, 251, 255); }
.gap-field.hidden { display: none; }
.gap-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gap-head > span { margin: 0px; font-weight: 650; font-size: 0.85rem; color: rgb(15, 23, 42); }
.gap-head em { font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.gap-field input[type="range"] { appearance: none; width: 100%; height: 6px; margin: 4px 0px 2px; border-radius: 999px; background: linear-gradient(90deg, rgb(191, 219, 254), rgb(147, 197, 253)); outline: none; cursor: pointer; }
.gap-field input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: rgb(255, 255, 255); border: 2px solid var(--blue); box-shadow: rgba(37, 99, 235, 0.25) 0px 4px 10px; cursor: pointer; }
.gap-color-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.fields .level-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; margin: 0px; padding: 14px 16px; border: 1px solid rgb(226, 232, 240); border-radius: 14px; background: rgb(248, 251, 255); }
.fields .mode-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.mode-label { font-weight: 650; font-size: 0.85rem; color: rgb(15, 23, 42); }
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px; border: 1px solid rgb(191, 219, 254); border-radius: 14px; background: rgb(239, 246, 255); }
.mode-opt { position: relative; display: flex; align-items: center; justify-content: center; margin: 0px; cursor: pointer; }
.mode-opt input { position: absolute; opacity: 0; pointer-events: none; }
.mode-opt span { display: block; width: 100%; padding: 11px 12px; border-radius: 10px; text-align: center; font-weight: 650; font-size: 0.9rem; color: rgb(100, 116, 139); transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
.mode-opt.on span, .mode-opt:has(input:checked) span { background: rgb(255, 255, 255); color: rgb(29, 78, 216); box-shadow: rgba(37, 99, 235, 0.12) 0px 4px 12px; }
.manual-only { display: contents; }
.manual-only.hidden { display: none !important; }
.manual-only.hidden .level-field, .manual-only.hidden > label { display: none !important; }
.level-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.level-head > span { margin: 0px; font-weight: 650; font-size: 0.85rem; color: rgb(15, 23, 42); }
.level-head em { font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.level-field input[type="range"] { appearance: none; width: 100%; height: 6px; margin: 4px 0px 2px; border-radius: 999px; background: linear-gradient(90deg, rgb(147, 197, 253), rgb(37, 99, 235) 55%, rgb(30, 58, 138)); outline: none; cursor: pointer; }
.level-field input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: rgb(255, 255, 255); border: 2px solid var(--blue); box-shadow: rgba(37, 99, 235, 0.25) 0px 4px 10px; cursor: pointer; }
.level-ends { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.level-ends small { color: rgb(100, 116, 139); font-size: 0.75rem; font-weight: 500; }
.gap-color-row > span { font-weight: 650; font-size: 0.85rem; color: rgb(15, 23, 42); }
.gap-color-row input[type="color"] { width: 52px; height: 36px; padding: 3px; border: 1px solid rgb(191, 219, 254); border-radius: 10px; background: rgb(255, 255, 255); cursor: pointer; }
.fields input[type="color"] { width: 100%; height: 44px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgb(255, 255, 255); cursor: pointer; }
.btn { width: 100%; border: 0px; border-radius: 14px; padding: 0px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: rgb(255, 255, 255); cursor: pointer; font: inherit; box-shadow: rgba(124, 58, 237, 0.22) 0px 14px 32px; transition: transform 0.15s, filter 0.15s; }
.btn span { display: block; padding: 13px 16px; font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-hot { width: auto; display: inline-flex; text-decoration: none; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: rgb(255, 255, 255); padding: 11px 16px; font-weight: 700; border-radius: 12px; box-shadow: rgba(8, 145, 178, 0.22) 0px 10px 24px; }
.btn-line { border: 1px solid var(--line); background: rgb(255, 255, 255); color: var(--ink); border-radius: 12px; padding: 11px 14px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-weight: 650; cursor: pointer; }
.btn-preview { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-weight: 650; letter-spacing: 0px; line-height: 1.2; cursor: pointer; color: var(--ink); background: rgb(255, 255, 255); box-shadow: none; transition: border-color 0.15s, color 0.15s; }
.btn-preview svg { width: 11px; height: 11px; fill: currentcolor; flex-shrink: 0; }
.btn-preview:hover { border-color: var(--blue); color: var(--blue); }
.btn-preview:active { filter: none; }
.status { display: none; margin-top: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: rgb(248, 251, 255); color: var(--mute); }
.status.show { display: block; margin-bottom: 12px; }
.status.error { background: rgba(251, 113, 133, 0.12); color: var(--err); border-color: rgba(251, 113, 133, 0.35); }
.status.ok { background: rgba(52, 211, 153, 0.12); color: var(--ok); border-color: rgba(52, 211, 153, 0.35); }
.status.busy { background: rgb(239, 246, 255); color: rgb(29, 78, 216); border-color: rgb(191, 219, 254); }
.loadbar { display: none; margin-top: 12px; gap: 10px; align-items: center; }
.loadbar.show { display: flex; }
.loadbar-track { flex: 1 1 auto; height: 10px; overflow: hidden; border-radius: 999px; background: rgb(226, 232, 240); box-shadow: rgba(15, 23, 42, 0.06) 0px 1px 2px inset; }
.loadbar-fill { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, rgb(37, 99, 235), rgb(56, 189, 248), rgb(37, 99, 235)) 0% 0% / 200% 100%; box-shadow: rgba(37, 99, 235, 0.35) 0px 0px 12px; transition: width 0.35s; animation: 1.2s linear 0s infinite normal none running loadbar-shine; }
.loadbar-fill.done { animation: auto ease 0s 1 normal none running none; background: linear-gradient(90deg, rgb(5, 150, 105), rgb(52, 211, 153)); box-shadow: none; width: 100% !important; }
.loadbar-label { flex: 0 0 auto; min-width: 3.2em; text-align: right; font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
@keyframes loadbar-shine { 
  0% { background-position: 100% 0px; }
  100% { background-position: -100% 0px; }
}
.result { display: none; margin-top: 16px; }
.result.show { display: flex; flex-direction: column; gap: 16px; }
.done { display: flex; gap: 10px; align-items: center; margin: 0px; padding: 12px; border: 1px solid rgba(52, 211, 153, 0.35); border-radius: 14px; background: rgba(52, 211, 153, 0.1); }
.done > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: rgb(255, 255, 255); font-weight: 700; }
.done h2 { margin: 0px; font-size: 1rem; font-family: var(--display); }
.done .meta { margin: 0px; display: block; }
.result video, .result img { display: none; }
.result.show-mp4 video, .result.show-gif img, .result.show #preview-video[src], .result.show #preview-gif[src] { display: block; margin: 0px auto; }
.result.show #audio-player:not([hidden]) { display: flex; }
.result #preview-audio { display: none !important; }
.audio-player { display: none; align-items: center; gap: 14px; width: 100%; margin: 0px; padding: 16px 18px; border-radius: 20px; border: 1px solid rgba(37, 99, 235, 0.14); background: radial-gradient(120% 140% at 0% 0%, rgba(56, 189, 248, 0.16), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(37, 99, 235, 0.12), transparent 50%), linear-gradient(rgb(255, 255, 255), rgb(247, 251, 255)); box-shadow: rgba(37, 99, 235, 0.08) 0px 10px 28px; }
.ap-play { flex: 0 0 auto; width: 52px; height: 52px; border: 0px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: rgb(255, 255, 255); background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: rgba(37, 99, 235, 0.35) 0px 8px 20px; transition: transform 0.15s, box-shadow 0.15s; }
.ap-play:hover { transform: translateY(-1px) scale(1.03); box-shadow: rgba(37, 99, 235, 0.42) 0px 10px 24px; }
.ap-play:active { transform: scale(0.97); }
.ap-play svg { width: 22px; height: 22px; fill: currentcolor; }
.ap-play .ap-ico-pause, .audio-player.is-playing .ap-play .ap-ico-play { display: none; }
.audio-player.is-playing .ap-play .ap-ico-pause { display: block; }
.ap-body { flex: 1 1 auto; min-width: 0px; display: grid; gap: 8px; }
.ap-wave { display: flex; align-items: flex-end; gap: 3px; height: 28px; padding: 0px 2px; }
.ap-wave i { flex: 1 1 0px; min-width: 2px; max-width: 6px; height: 28%; border-radius: 99px; background: linear-gradient(180deg, var(--blue-2), var(--blue)); opacity: 0.35; transform-origin: center bottom; transition: height 0.2s, opacity 0.2s; }
.ap-wave i:nth-child(3n) { height: 55%; }
.ap-wave i:nth-child(4n) { height: 72%; }
.ap-wave i:nth-child(5n) { height: 40%; }
.ap-wave i:nth-child(7n) { height: 88%; }
.audio-player.is-playing .ap-wave i { opacity: 0.9; animation: 0.9s ease-in-out 0s infinite normal none running ap-bounce; }
.audio-player.is-playing .ap-wave i:nth-child(2n) { animation-duration: 0.75s; }
.audio-player.is-playing .ap-wave i:nth-child(3n) { animation-duration: 1.05s; }
.audio-player.is-playing .ap-wave i:nth-child(4n) { animation-delay: 0.08s; }
.audio-player.is-playing .ap-wave i:nth-child(5n) { animation-delay: 0.14s; }
@keyframes ap-bounce { 
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.ap-track-wrap { position: relative; height: 18px; display: flex; align-items: center; }
.ap-seek, .ap-volume { appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--ap-pct, 0%), var(--blue-2) var(--ap-pct, 0%), #dbe7f5 var(--ap-pct, 0%)); outline: none; cursor: pointer; }
.ap-volume { width: 84px; background: linear-gradient(90deg, var(--blue) var(--ap-vol, 90%), #dbe7f5 var(--ap-vol, 90%)); }
.ap-seek::-webkit-slider-thumb, .ap-volume::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(255, 255, 255); background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: rgba(37, 99, 235, 0.45) 0px 2px 8px; cursor: pointer; }
.ap-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap-time { font-size: 0.78rem; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.ap-vol { display: flex; align-items: center; gap: 8px; }
.ap-mute { width: 32px; height: 32px; border: 0px; border-radius: 10px; background: rgba(37, 99, 235, 0.08); color: var(--blue); display: grid; place-items: center; cursor: pointer; }
.ap-mute:hover { background: rgba(37, 99, 235, 0.14); }
.ap-mute svg { width: 16px; height: 16px; fill: currentcolor; }
.ap-mute .ap-ico-muted, .audio-player.is-muted .ap-mute .ap-ico-vol { display: none; }
.audio-player.is-muted .ap-mute .ap-ico-muted { display: block; }
@media (max-width: 560px) {
  .audio-player { padding: 14px; gap: 12px; }
  .ap-play { width: 46px; height: 46px; }
  .ap-volume { width: 64px; }
  .ap-wave { height: 22px; }
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0px; }
.panel { margin-top: 24px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(16px); }
.panel h2 { margin: 0px 0px 14px; font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.03em; }
.panel > p { margin: 0px; color: var(--mute); line-height: 1.65; }
.seo-panel { margin-top: 28px; background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); }
.seo-kicker { margin: 0px 0px 6px; color: var(--blue); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.seo-panel h2 { margin: 0px 0px 16px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.seo-copy { color: rgb(51, 65, 85); font-size: 0.98rem; line-height: 1.7; }
.seo-copy p { margin: 0px 0px 14px; }
.seo-copy h3 { margin: 22px 0px 10px; color: rgb(15, 23, 42); font-family: var(--display); font-size: 1.12rem; letter-spacing: -0.02em; }
.seo-copy ol, .seo-copy ul { margin: 0px 0px 16px; padding-left: 1.2rem; }
.seo-copy li { margin: 0px 0px 8px; }
.seo-copy a { color: var(--blue); font-weight: 600; text-decoration: none; }
.seo-copy a:hover { text-decoration: underline; }
.faq details { background: rgb(248, 251, 255); }
.faq details[open] { background: rgb(239, 246, 255); border-color: rgb(147, 197, 253); }
.faq summary::after { color: var(--blue); }
.how { overflow: visible; background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); }
.how-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.how-head h2 { margin: 0px; color: rgb(15, 23, 42); font-size: 1.35rem; }
.how-head p { margin: 0px; color: rgb(71, 85, 105); font-weight: 600; font-size: 0.95rem; }
.flow { list-style: none; margin: 18px 0px 0px; padding: 0px; display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 16px; position: relative; }
.flow::before { display: none; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 0px; padding: 20px 18px; border-radius: 16px; background: rgb(255, 255, 255); border: 1px solid rgb(203, 213, 225); overflow: visible; box-shadow: none; color: rgb(15, 23, 42); }
.flow li:nth-child(1), .flow li:nth-child(2), .flow li:nth-child(3), .flow li:nth-child(4) { background: rgb(255, 255, 255); border-color: rgb(203, 213, 225); color: rgb(15, 23, 42); box-shadow: none; }
.flow .step { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; font-weight: 800; color: rgb(255, 255, 255); background: rgb(37, 99, 235); }
.flow li b { display: none; }
.flow strong { display: block; margin: 0px; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; color: rgb(15, 23, 42); }
.flow span:last-child { color: rgb(51, 65, 85); font-size: 0.9rem; line-height: 1.5; max-width: none; }
.flow li:first-child span:last-child { color: rgb(51, 65, 85); }
.flow li::after { content: ""; position: absolute; right: -12px; top: 50%; z-index: 3; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6 3l5 5-5 5'/%3E%3C/svg%3E") center center / 11px no-repeat rgb(37, 99, 235); border: 0px; box-shadow: rgb(255, 255, 255) 0px 0px 0px 4px; }
.flow li:first-child::after { background-color: rgb(37, 99, 235); border: 0px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6 3l5 5-5 5'/%3E%3C/svg%3E"); }
.flow li:last-child::after { display: none; }
.topics-panel { position: relative; overflow: visible; margin-top: 8px; margin-bottom: 22px; padding: 22px; background: rgb(255, 255, 255); border: 1px solid rgb(203, 213, 225); border-radius: 20px; }
.topics-panel::before { display: none; }
.topics-panel .how-head { position: relative; z-index: 1; margin-bottom: 16px; align-items: center; }
.topics-kicker { margin: 0px 0px 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(37, 99, 235); }
.topics-panel .how-head h2 { margin: 0px; color: rgb(15, 23, 42); font-size: 1.35rem; }
.slide-nav { display: flex; gap: 8px; }
.slide-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgb(203, 213, 225); background: rgb(248, 250, 252); color: rgb(15, 23, 42); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: 0.15s; box-shadow: none; }
.slide-btn:hover { background: rgb(37, 99, 235); border-color: rgb(37, 99, 235); color: rgb(255, 255, 255); transform: none; box-shadow: none; }
.topics-slide { position: relative; z-index: 1; overflow: hidden; margin: 0px -2px; padding: 2px 2px 6px; }
.topics-track { display: flex; gap: 14px; align-items: stretch; transition: transform 0.4s; }
.topic { flex: 0 0 calc(25% - 10.5px); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; text-decoration: none; color: rgb(15, 23, 42); background: rgb(248, 250, 252); border: 1px solid rgb(203, 213, 225); border-radius: 16px; box-shadow: none; min-width: 0px; overflow: visible; box-sizing: border-box; transition: border-color 0.15s, background 0.15s; }
.topic::before { display: none; }
.topic:hover { transform: none; border-color: rgb(37, 99, 235); background: rgb(239, 246, 255); box-shadow: none; }
.topic:hover .topic-top i { transform: none; background: rgb(219, 234, 254); border-color: rgb(37, 99, 235); }
.topic:hover .topic-go { color: rgb(29, 78, 216); background: transparent; padding: 6px 0px; }
.topic:hover .topic-top em { background: rgb(37, 99, 235); color: rgb(255, 255, 255); }
.slide-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
.slide-dots button { width: 8px; height: 8px; padding: 0px; border: 0px; border-radius: 99px; background: rgb(203, 213, 225); cursor: pointer; transition: 0.15s; }
.slide-dots button:hover { background: rgb(100, 116, 139); }
.slide-dots button.on { width: 24px; background: rgb(37, 99, 235); }
.topic-top { grid-area: auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.topic-top i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 1.2rem; background: rgb(255, 255, 255); border: 1px solid rgb(203, 213, 225); transition: 0.15s; }
.topic-top em { font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(37, 99, 235); background: rgb(255, 255, 255); border: 1px solid rgb(191, 219, 254); border-radius: 999px; padding: 3px 8px; transition: 0.15s; }
.topic h3 { grid-column: auto; margin: 8px 0px 0px; font-family: var(--display); font-size: 0.98rem; font-weight: 700; letter-spacing: -0.02em; color: rgb(15, 23, 42); }
.topic p { grid-column: auto; margin: 0px; color: rgb(51, 65, 85); font-size: 0.82rem; line-height: 1.4; flex: 1 1 0%; }
.topic-go { grid-column: auto; margin-top: 4px; place-self: start; font-size: 0.8rem; font-weight: 700; color: rgb(37, 99, 235); border-radius: 999px; padding: 6px 0px; background: transparent; transition: color 0.15s; }
.topic-go::after { content: " →"; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgb(250, 248, 255); padding: 0px 14px; }
.faq details[open] { background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.4); }
.faq summary { cursor: pointer; list-style: none; padding: 13px 0px; font-weight: 700; font-family: var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0px 0px 13px; color: var(--mute); line-height: 1.55; font-size: 0.92rem; }
.site-footer { position: relative; z-index: 1; width: 100%; margin-top: 8px; padding: 28px 0px 0px; overflow: hidden; border-radius: 0px; color: rgb(51, 65, 85); border-top: 1px solid rgb(219, 234, 254); background: rgb(248, 251, 255); }
.foot-wrap { width: min(1280px, 100% - 40px); margin: 0px auto; }
.foot-body { display: grid; grid-template-columns: 0.85fr 1.55fr; gap: 28px; padding: 24px 0px; }
.foot-brand .logo { color: rgb(15, 23, 42); font-size: 1.28rem; }
.foot-brand .logo-text span { background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-color: ; background-clip: text; color: transparent; }
.foot-brand p { margin: 10px 0px 0px; color: rgb(100, 116, 139); font-size: 0.9rem; line-height: 1.6; max-width: 46ch; }
.foot-nav { display: grid; grid-template-columns: repeat(5, minmax(0px, 1fr)); gap: 16px; }
.site-footer h2 { margin: 0px 0px 10px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.foot-more-title { color: rgb(22, 163, 74) !important; }
.foot-links { display: grid; gap: 6px; }
.foot-links a { display: block; color: rgb(51, 65, 85); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--blue); }
.foot-more-links a:hover { color: rgb(22, 163, 74); }
.foot-bar { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0px; border-top: 1px solid rgb(219, 234, 254); text-align: center; }
.foot-bar p { margin: 0px; font-size: 0.8rem; color: rgb(148, 163, 184); text-align: center; width: 100%; }
.to-top { --to-top-size: 56px; position: fixed; right: 22px; bottom: 26px; z-index: 40; width: var(--to-top-size); height: var(--to-top-size); padding: 0px; border: 1px solid rgb(219, 234, 254); border-radius: 18px; background: rgb(255, 255, 255); box-shadow: rgba(15, 23, 42, 0.1) 0px 12px 28px, rgba(37, 99, 235, 0.06) 0px 0px 0px 4px; cursor: pointer; opacity: 0; transform: translateY(16px) scale(0.94); pointer-events: none; overflow: visible; transition: opacity 0.25s, transform 0.25s, box-shadow 0.2s, border-color 0.2s; }
.to-top.on { opacity: 1; transform: translateY(0px) scale(1); pointer-events: auto; }
.to-top-ship { position: relative; z-index: 2; display: grid; place-items: center; width: 100%; height: 100%; transition: transform 0.25s; }
.to-top-ship svg { display: block; overflow: visible; }
.to-top-rocket .to-top-body { fill: url("#rocketBody"); }
.to-top-rocket .to-top-fin { fill: url("#rocketFin"); }
.to-top-rocket .to-top-shine { fill: url("#rocketNose"); opacity: 0.95; }
.to-top-rocket .to-top-stripe { fill: rgb(147, 197, 253); opacity: 0.9; }
.to-top-rocket .to-top-window { fill: rgb(224, 242, 254); stroke: rgb(255, 255, 255); stroke-width: 1.4; }
.to-top-rocket .to-top-window-inner { fill: rgb(56, 189, 248); }
.to-top-rocket .to-top-window-glint { fill: rgb(255, 255, 255); opacity: 0.9; }
.to-top-rocket .to-top-nozzle { fill: rgb(30, 58, 138); }
.to-top-plume { position: absolute; left: 50%; top: calc(100% - 10px); z-index: 1; width: 0px; height: 0px; pointer-events: none; }
.to-top-plume i { position: absolute; left: 0px; top: 0px; width: 7px; height: 10px; margin-left: -3.5px; border-radius: 999px; background: linear-gradient(rgb(255, 251, 235) 0%, rgb(251, 191, 36) 40%, rgb(251, 146, 60) 72%, transparent 100%); opacity: 0; filter: blur(0.4px); transform-origin: 50% 0%; --x: 0px; --r: 0deg; --h: 1; }
.to-top-plume i:nth-child(1) { --x: 0px; --r: 0deg; --h: 1.15; width: 8px; margin-left: -4px; }
.to-top-plume i:nth-child(2) { --x: -7px; --r: -12deg; --h: 0.95; }
.to-top-plume i:nth-child(3) { --x: 7px; --r: 12deg; --h: 0.95; }
.to-top-plume i:nth-child(4) { --x: -13px; --r: -22deg; --h: 0.75; width: 6px; margin-left: -3px; }
.to-top-plume i:nth-child(5) { --x: 13px; --r: 22deg; --h: 0.75; width: 6px; margin-left: -3px; }
.to-top:hover { border-color: rgb(147, 197, 253); box-shadow: rgba(37, 99, 235, 0.16) 0px 16px 34px, rgba(37, 99, 235, 0.1) 0px 0px 0px 4px; }
.to-top:hover .to-top-ship { transform: translateY(-3px); }
.to-top:hover .to-top-plume i { opacity: 0.95; animation: 0.28s ease-in-out 0s infinite alternate none running to-top-flicker; transform: translate(var(--x), 2px) rotate(var(--r)) scaleY(calc(var(--h) * 1.05)); }
.to-top:hover .to-top-plume i:nth-child(2) { animation-delay: 0.04s; }
.to-top:hover .to-top-plume i:nth-child(3) { animation-delay: 0.08s; }
.to-top:hover .to-top-plume i:nth-child(4) { animation-delay: 0.12s; }
.to-top:hover .to-top-plume i:nth-child(5) { animation-delay: 0.16s; }
.to-top.launch { pointer-events: none; border-color: transparent; background: transparent; box-shadow: none; animation: 1.05s cubic-bezier(0.22, 0.82, 0.2, 1) 0s 1 normal forwards running to-top-lift; }
.to-top.launch .to-top-ship { animation: 1.05s cubic-bezier(0.22, 0.82, 0.2, 1) 0s 1 normal forwards running to-top-boost; }
.to-top.launch .to-top-plume i { opacity: 1; animation: 1.05s ease-out 0s 1 normal forwards running to-top-spread; }
.to-top.launch .to-top-plume i:nth-child(2) { animation-delay: 0.03s; }
.to-top.launch .to-top-plume i:nth-child(3) { animation-delay: 0.05s; }
.to-top.launch .to-top-plume i:nth-child(4) { animation-delay: 0.07s; }
.to-top.launch .to-top-plume i:nth-child(5) { animation-delay: 0.09s; }
.to-top:focus-visible { outline: rgba(37, 99, 235, 0.35) solid 3px; outline-offset: 3px; }
@keyframes to-top-flicker { 
  0% { opacity: 0.65; transform: translate(var(--x), 2px) rotate(var(--r)) scaleY(calc(var(--h) * 0.85)); }
  100% { opacity: 1; transform: translate(var(--x), 5px) rotate(var(--r)) scaleY(calc(var(--h) * 1.25)); }
}
@keyframes to-top-spread { 
  0% { opacity: 0.95; filter: blur(0.2px); transform: translate(0px, 0px) rotate(0deg) scale(0.7, 0.6); }
  28% { opacity: 1; filter: blur(0.4px); transform: translate(var(--x), 8px) rotate(var(--r)) scale(1.1, calc(var(--h) * 1.6)); }
  100% { opacity: 0; filter: blur(3px); transform: translate(calc(var(--x) * 2.4), 48px) rotate(calc(var(--r) * 1.5)) scale(1.45, calc(var(--h) * 2.8)); }
}
@keyframes to-top-boost { 
  0% { transform: translateY(0px) scale(1); }
  12% { transform: translateY(5px) scale(0.96); }
  100% { transform: translateY(-118vh) scale(0.86); }
}
@keyframes to-top-lift { 
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top.launch, .to-top.launch .to-top-ship, .to-top.launch .to-top-plume i, .to-top:hover .to-top-plume i { animation: auto ease 0s 1 normal none running none !important; }
}
@media (max-width: 1100px) {
  .tools { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
  .related-tools, body.tool-page .related-tools { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-stage { max-width: 420px; }
  .foot-nav { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
}
@media (max-width: 900px) {
  .tools { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
  .flow, .stats { grid-template-columns: 1fr 1fr; }
  .topic { flex: 0 0 calc(50% - 7px); }
  .flow::before, .flow li::after { display: none; }
  .foot-body, .foot-nav { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tools, .related-tools, body.tool-page .related-tools { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  .flow, .stats { grid-template-columns: 1fr; }
  .topic { flex: 0 0 100%; }
  .drops.two, .fields, .settings, .uploads { grid-template-columns: 1fr; gap: 18px; }
  .uploads-decide { flex-direction: row; min-width: 0px; width: 100%; padding: 4px 0px; }
  .uploads-rail { width: auto; height: 2px; flex: 1 1 auto; min-height: 0px; background: linear-gradient(90deg, transparent, rgb(147, 197, 253), transparent); }
  .layouts { flex-direction: column; }
  body.tool-page .fields:has(label:nth-child(2)) { grid-template-columns: 1fr; }
  .swap-btn { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }
  .glow { display: none; }
}
.trim-studio { margin-top: 16px; padding: 16px; border: 1px solid rgb(219, 234, 254); border-radius: 18px; background: linear-gradient(rgb(248, 251, 255), rgb(239, 246, 255)); }
.trim-studio[hidden] { display: none !important; }
.trim-player video { display: block; width: 100%; max-height: 360px; border-radius: 14px; background: rgb(11, 18, 32); }
.trim-player-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; color: rgb(71, 85, 105); font-size: 0.86rem; font-weight: 600; }
.trim-player-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trim-player-actions .btn-line, .trim-player-actions .btn-preview { font-size: 0.82rem; padding: 8px 12px; border-radius: 10px; }
.trim-player-actions .btn-preview svg { width: 10px; height: 10px; }
.trim-help { margin: 0px 0px 10px; color: rgb(100, 116, 139); font-size: 0.88rem; }
.trim-timeline-wrap { margin-top: 16px; }
.trim-viewport { overflow: auto hidden; border: 1px solid rgb(191, 219, 254); border-radius: 12px; background: rgb(11, 18, 32); scrollbar-width: thin; }
.trim-track { position: relative; min-width: 100%; height: 72px; user-select: none; touch-action: none; }
.trim-track canvas { display: block; width: 100%; height: 72px; pointer-events: none; }
.trim-overlay { position: absolute; inset: 0px; }
.trim-dim { position: absolute; top: 0px; bottom: 0px; background: rgba(15, 23, 42, 0.62); pointer-events: none; }
.trim-dim.left { left: 0px; }
.trim-dim.right { right: 0px; }
.trim-sel { position: absolute; top: 0px; bottom: 0px; border-top: 2px solid rgb(56, 189, 248); border-bottom: 2px solid rgb(56, 189, 248); background: rgba(56, 189, 248, 0.16); cursor: grab; }
body.trim-dragging .trim-sel { cursor: grabbing; }
.trim-handle { position: absolute; top: 0px; bottom: 0px; width: 14px; margin: 0px; padding: 0px; border: 0px; border-radius: 4px; transform: translateX(-50%); background: rgb(56, 189, 248); box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px; cursor: ew-resize; z-index: 3; }
.trim-handle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 22px; transform: translate(-50%, -50%); background: rgba(15, 23, 42, 0.45); }
.trim-handle.start { background: rgb(34, 197, 94); }
.trim-handle.end { background: rgb(239, 68, 68); }
.trim-playhead { position: absolute; top: 0px; bottom: 0px; width: 2px; margin-left: -1px; background: rgb(248, 250, 252); box-shadow: rgba(15, 23, 42, 0.35) 0px 0px 0px 1px; pointer-events: none; z-index: 2; }
.trim-ruler { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; color: rgb(100, 116, 139); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.manual-times.manual-emphasis span { color: rgb(29, 78, 216); }
@media (max-width: 720px) {
  .trim-player-actions { flex-direction: column; }
  .trim-player-actions .btn-line, .trim-player-actions .btn-preview { width: 100%; justify-content: center; }
}
.work:has(#trim-studio:not([hidden])) .tool-drop video { display: none !important; }
.work:has(#trim-studio:not([hidden])) .tool-drop.has-file { min-height: 88px; }
.cut-audio-studio .cut-audio-player { display: flex; margin-bottom: 14px; }
.cut-audio-studio #cut-preview { display: none !important; }
.cut-audio-studio #cut-waveform { display: block; width: 100%; height: 88px; pointer-events: none; }
.cut-audio-studio .trim-track { height: 88px; }
.drop-audio-player.cut-drop-hidden { display: none !important; }
.work:has(#add-audio-studio:not([hidden])) .tool-drop[data-index="1"].has-file { min-height: 0px; }
.add-audio-studio #aa-preview { display: none !important; }
.add-audio-studio #aa-waveform { display: block; width: 100%; height: 88px; pointer-events: none; }
.cut-nudge { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cut-nudge .btn-line { font-size: 0.82rem; padding: 8px 12px; }
@media (max-width: 720px) {
  .cut-nudge { flex-direction: column; }
  .cut-nudge .btn-line { width: 100%; }
}
.trim-timeline-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 10px; }
.trim-timeline-head .trim-help { margin: 0px; flex: 1 1 220px; }
.trim-strip-status { position: absolute; inset: 0px; z-index: 4; display: grid; place-items: center; pointer-events: none; background: rgba(11, 18, 32, 0.55); color: rgb(226, 232, 240); font-size: 0.82rem; font-weight: 650; }
.trim-strip-status[hidden] { display: none !important; }
.trim-zoom-bar { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid rgb(203, 213, 225); border-radius: 999px; background: rgb(255, 255, 255); box-shadow: rgba(15, 23, 42, 0.06) 0px 1px 2px; }
.trim-zoom-btn { width: 32px; height: 32px; margin: 0px; padding: 0px; border: 0px; border-radius: 50%; background: rgb(241, 245, 249); color: rgb(15, 23, 42); font-size: 1.15rem; font-weight: 700; line-height: 1; cursor: pointer; }
.trim-zoom-btn:hover { background: rgb(226, 232, 240); }
.trim-zoom-btn:active { background: rgb(219, 234, 254); color: rgb(29, 78, 216); }
.trim-zoom-label { min-width: 2.2rem; padding: 0px 2px; text-align: center; color: rgb(51, 65, 85); font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.auto-only.hidden { display: none !important; }
.crop-size-card { margin-top: 12px; padding: 12px 14px; border: 1px solid rgb(191, 219, 254); border-radius: 14px; background: rgb(248, 251, 255); }
.crop-size-line { display: flex; justify-content: space-between; gap: 12px; margin: 0px; font-size: 0.9rem; color: rgb(100, 116, 139); }
.crop-size-line + .crop-size-line { margin-top: 8px; }
.crop-size-line strong { color: rgb(15, 23, 42); font-variant-numeric: tabular-nums; }
.crop-help { margin: 0px 0px 12px; color: rgb(100, 116, 139); font-size: 0.9rem; }
.crop-empty-hint { margin: 8px 0px 0px; color: rgb(148, 163, 184); font-size: 0.88rem; }
.crop-empty-hint[hidden], .crop-stage[hidden] { display: none !important; }
.crop-stage { margin-top: 4px; }
.crop-frame { position: relative; display: grid; place-items: center; min-height: 220px; border-radius: 16px; border: 1px solid rgb(191, 219, 254); background: rgb(11, 18, 32); overflow: hidden; }
.crop-frame video { display: block; max-width: 100%; max-height: min(52vh, 420px); width: auto; height: auto; background: rgb(0, 0, 0); }
.crop-box { position: absolute; z-index: 3; box-sizing: border-box; border: 2px solid rgb(56, 189, 248); box-shadow: rgba(15, 23, 42, 0.55) 0px 0px 0px 9999px; cursor: move; touch-action: none; }
.crop-handle { position: absolute; width: 14px; height: 14px; border: 2px solid rgb(255, 255, 255); border-radius: 3px; background: rgb(37, 99, 235); box-sizing: border-box; }
.crop-handle.nw { left: -7px; top: -7px; cursor: nwse-resize; }
.crop-handle.ne { right: -7px; top: -7px; cursor: nesw-resize; }
.crop-handle.sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.crop-handle.se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.crop-manual-size { margin-top: 10px; padding: 10px 12px; border: 1px solid rgb(226, 232, 240); border-radius: 12px; background: rgb(255, 255, 255); }
.work:has(#manual-crop-panel:not(.hidden)) .tool-drop video { display: none !important; }
.work:has(#manual-crop-panel:not(.hidden)) .tool-drop.has-file { min-height: 88px; }
#auto-crop-panel { grid-column: 1 / -1; display: grid; gap: 12px; }
#auto-crop-panel.hidden { display: none !important; }
#manual-crop-panel { margin-top: 14px; }
.askai-ad-wrap { width: 100%; margin: 16px 0 8px; padding: 0; background: none; border: 0; box-shadow: none; min-height: 90px; overflow: hidden; }
.askai-ad-wrap ins.adsbygoogle { display: block; }

.hero h1 span, .tool-hero h1 span, .stats b, .foot-brand .logo-text span {
    background-image: linear-gradient(120deg, #38bdf8 0%, #2563eb 55%, #1d4ed8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.black-edition .hero h1 span {
    background-image: linear-gradient(120deg, #7dd3fc 0%, #60a5fa 45%, #fff 100%);
}

body.error-screen .error-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
    padding: 36px 32px;
}
body.error-screen .error-page h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--ink);
}
body.error-screen .error-code {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
    color: var(--blue);
}
body.error-screen .error-lead {
    margin: 0 0 8px;
    max-width: 36rem;
    color: var(--mute);
    font-size: 1.05rem;
    line-height: 1.6;
}
body.error-screen .error-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}
body.error-screen .error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
}
body.error-screen .error-btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    box-shadow: rgba(37, 99, 235, 0.22) 0 10px 24px;
}
body.error-screen .error-btn-primary:hover {
    filter: brightness(1.06);
}
body.error-screen .error-btn-ghost {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}
body.error-screen .error-btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
}
html[dir="rtl"] body.error-screen .error-page {
    align-items: flex-end;
}
@media (max-width: 640px) {
    body.error-screen .error-page { padding: 24px 18px; }
    body.error-screen .error-btn { width: 100%; }
}
