:root {
  color-scheme: light;
  --paper: #f7f7ef;
  --card: #ffffff;
  --ink: #222b25;
  --muted: #72776b;
  --line: #e1e4d7;
  --lime: #d6f26c;
  --error: #a83c30;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
a { color: inherit; }
button { color: inherit; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #789931; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 10; transform: translateY(-150%); padding: 12px 18px; border-radius: 8px; background: var(--ink); color: white; font-size: 14px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: none; }
section[id] { scroll-margin-top: 24px; }
.page-shell { max-width: 1120px; padding: 0 48px; margin: 0 auto; }
.site-header { min-height: 110px; display: flex; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 29px; font-weight: 750; letter-spacing: -1.4px; text-decoration: none; }
.brand-dot { color: #789931; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; background: var(--ink); color: var(--lime); border-radius: 11px; transform: rotate(-5deg); }
.brand-mark svg { width: 29px; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.header-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #586150; letter-spacing: .25px; }
.header-actions { display: flex; align-items: center; gap: 23px; }
.language-switcher select { max-width: 180px; height: 36px; padding-block: 4px; padding-inline: 10px 26px; border: 1px solid #dce1d2; border-radius: 7px; background: #f1f4e9; color: #46543b; font-size: 12px; }
.language-switcher select:disabled { opacity: .8; cursor: default; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7b9941; }
.intro { padding: 76px 0 37px; }
.eyebrow { margin: 0 0 24px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; letter-spacing: 1.5px; color: #686f5e; }
.eyebrow > span { color: #5d7134; margin-inline-end: 8px; font-size: 17px; }
h1 { margin: 0; font-size: clamp(43px, 5.4vw, 65px); font-weight: 760; letter-spacing: -2.2px; line-height: 1.3; }
.title-context { display: block; margin-bottom: 9px; font-size: .62em; font-weight: 600; letter-spacing: -1px; line-height: 1.5; }
.title-accent { padding-inline: .025em; background: linear-gradient(transparent 75%, var(--lime) 75%, var(--lime) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.intro-copy { max-width: 760px; font-size: 15px; color: var(--muted); line-height: 1.9; margin: 22px 0 0; }
.mobile-break { display: none; }
.workspace { background: var(--card); border: 1px solid var(--line); border-radius: 17px; padding: 25px 27px 22px; box-shadow: 0 6px 22px #25332204; }
.workspace-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 17px; gap: 10px 16px; }
.workspace-heading h2 { font-size: 14px; font-weight: 650; margin: 0; }
.workspace-hint { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 5px; }
.workspace-hint::before { content: "✓"; color: #6b8543; }
.input-row { display: flex; gap: 11px; align-items: stretch; }
.input-wrap { background: #fafbf7; min-width: 0; border: 1px solid #dce1d2; border-radius: 9px; display: flex; align-items: center; flex: 1; transition: border-color .15s, box-shadow .15s; padding-block: 0; padding-inline: 16px 10px; gap: 12px; }
.input-wrap:focus-within { border-color: #7d9657; box-shadow: 0 0 0 3px #d6f26c44; }
.link-icon { width: 18px; height: 18px; flex-shrink: 0; stroke: #848d7b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#post-url { min-width: 0; width: 100%; height: 57px; border: 0; background: transparent; color: var(--ink); font-size: 14px; outline: none; }
#post-url::placeholder { color: #9ba18f; }
#post-url[aria-invalid="true"] { color: var(--error); }
.paste-button { background: #eef1e6; border: 1px solid #e1e6d5; font-size: 12px; border-radius: 6px; padding: 7px 11px; flex-shrink: 0; transition: background .15s; }
.paste-button:hover { background: #e3e9d5; }
.icon-button { background: transparent; border: 0; color: #87917d; padding: 2px 4px; font-size: 25px; line-height: 1; }
.icon-button:hover { color: var(--ink); }
.primary-button { border: 1px solid var(--ink); border-radius: 9px; background: var(--ink); color: white; display: inline-flex; justify-content: center; align-items: center; gap: 17px; font-size: 14px; font-weight: 600; padding: 0 22px; min-height: 57px; min-width: 150px; transition: background .15s, transform .15s; }
.primary-button:not(:disabled):hover { background: #354234; transform: translateY(-1px); }
.primary-button svg { height: 18px; width: 18px; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.primary-button:disabled { opacity: .85; }
.spinner { width: 16px; height: 16px; border: 2px solid #ffffff4d; border-top-color: var(--lime); border-radius: 50%; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.input-help { font-size: 11px; line-height: 1.7; color: #8a9082; margin: 13px 0 0; }
.noscript-message { margin: 0 0 17px; padding: 12px 14px; border: 1px solid #dce1d2; border-radius: 7px; background: #f1f5e7; color: #556148; font-size: 13px; line-height: 1.8; }
.feedback { margin: 17px 0 0; padding: 11px 13px; border-radius: 7px; background: #f1f5e7; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.feedback[data-tone="error"] { background: #fcf0ec; color: var(--error); }
.results { padding: 38px 0 4px; }
.results-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.results-eyebrow { font-size: 10px; margin-bottom: 7px; }
.results h2 { font-size: 24px; margin: 0; letter-spacing: -.6px; }
.results h2:focus { outline: none; }
.text-link { font-size: 12px; color: #5c6c47; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.post-summary { margin: 20px 0; padding-inline-start: 15px; border-inline-start: 2px solid #c8d0b7; }
.post-author { font-size: 13px; font-weight: 650; margin: 0 0 6px; }
.post-text { font-size: 13px; line-height: 1.8; margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 155px; overflow: auto; }
.video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.video-list:has(.video-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.video-card { border: 1px solid var(--line); border-radius: 13px; background: white; overflow: hidden; }
.video-preview { background: #18211b; position: relative; }
.video-preview video { display: block; width: 100%; max-height: 430px; min-height: 180px; aspect-ratio: 16 / 9; object-fit: contain; }
.video-details { padding: 19px 20px 18px; }
.video-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.video-heading h3 { font-size: 14px; margin: 0; }
.video-meta { color: #7d8574; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; white-space: nowrap; }
.video-actions { display: flex; align-items: flex-end; gap: 10px; }
.quality-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; flex: 1; }
.quality-field label { font-size: 11px; color: #7b8371; }
.quality-field select { min-width: 0; width: 100%; height: 43px; padding-block: 0; padding-inline: 12px 30px; border: 1px solid #dce1d2; border-radius: 7px; background-color: #fafbf7; color: var(--ink); font-size: 12px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 43px; padding: 0 16px; background: var(--lime); border: 1px solid #c5df61; border-radius: 7px; text-decoration: none; white-space: nowrap; font-size: 13px; font-weight: 650; }
.download-button:hover { background: #cbe85b; }
.download-button svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-button { border: 0; background: transparent; color: #7d8574; font-size: 11px; padding: 0; margin-top: 15px; }
.copy-button:hover { color: var(--ink); }
.card-status { margin: 9px 0 0; font-size: 11px; line-height: 1.7; color: #727b65; overflow-wrap: anywhere; }
.section-title { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
.how-it-works { padding: 37px 4px 43px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 23px 0 0; padding: 0; list-style: none; }
.step { display: flex; align-items: flex-start; gap: 13px; }
.step-number { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #dce1d0; border-radius: 50%; color: #7f8a6e; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; flex-shrink: 0; margin-top: 1px; }
.step h3 { font-size: 13px; font-weight: 600; margin: 3px 0 8px; }
.step p { font-size: 12px; color: #727a67; line-height: 1.8; margin: 0; }
.faq { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); gap: 44px; padding: 31px 4px 50px; border-top: 1px solid var(--line); }
.faq-heading p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 11px 0 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { margin-top: -5px; }
.faq-list summary { padding: 16px 0; font-size: 13px; font-weight: 550; line-height: 1.7; cursor: pointer; }
.faq-list summary::marker { color: #86986a; font-size: 10px; }
.faq-list summary:hover { color: #5b713c; }
.faq-list p { font-size: 12px; line-height: 1.9; color: #68725e; margin: 0 0 17px; padding-inline-start: 14px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding: 22px 0 28px; color: #969c8c; font-size: 10px; }
.site-footer > span:first-child { color: #7c866f; display: inline-flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #68765a; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-spark { font-size: 18px; color: #8f9c71; }
.locale-links { display: flex; flex-wrap: wrap; flex-basis: 100%; align-items: center; gap: 12px 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.locale-links a { color: #68765a; font-size: 11px; text-decoration: none; padding-block: 4px; }
.locale-links a:hover { text-decoration: underline; }
.locale-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
[dir="rtl"] h1, [dir="rtl"] .title-context, [dir="rtl"] .section-title, [dir="rtl"] .results h2 { letter-spacing: normal; }
[dir="rtl"] h1 { line-height: 1.6; }
[dir="rtl"] .eyebrow { font-family: inherit; letter-spacing: normal; }
[dir="rtl"] .primary-button svg, [dir="rtl"] .text-link > span { transform: scaleX(-1); }
#post-url, .video-meta, .step-number { unicode-bidi: isolate; direction: ltr; }

@media (min-width: 1000px) { .intro { position: relative; padding-inline-end: 170px; } .intro::after { content: "↙"; position: absolute; inset-inline-end: 30px; top: 126px; font-size: 135px; font-weight: 200; line-height: 1; color: #dce3ca; transform: rotate(-8deg); } [dir="rtl"] .intro::after { transform: scaleX(-1) rotate(-8deg); } }
@media (max-width: 720px) {
  .page-shell { padding: 0 25px; }
  .site-header { min-height: 86px; gap: 14px; }
  .header-tag { display: none; }
  .header-actions { gap: 0; }
  .language-switcher select { max-width: 145px; }
  .brand { font-size: 25px; gap: 9px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
  .intro { padding-top: 55px; }
  h1 { font-size: 47px; letter-spacing: -1.5px; }
  .intro-copy { font-size: 13px; }
  .workspace { padding: 20px; }
  .input-row { flex-direction: column; gap: 12px; }
  .primary-button { min-height: 49px; }
  #post-url { height: 52px; font-size: 16px; }
  .input-wrap { gap: 10px; padding-inline-start: 12px; }
  .how-it-works { padding: 29px 0 35px; }
  .steps { gap: 22px; grid-template-columns: minmax(0, 1fr); margin-top: 21px; }
  .step { gap: 12px; }
  .step p { font-size: 12px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 28px 0 37px; }
  .video-list { grid-template-columns: minmax(0, 1fr); }
  .site-footer { flex-wrap: wrap; align-items: center; font-size: 10px; gap: 17px; }
  .site-footer .copyright { flex-basis: 100%; }
}
@media (max-width: 390px) {
  .page-shell { padding: 0 18px; }
  .header-tag { font-size: 9px; gap: 5px; }
  h1 { font-size: 40px; }
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .mobile-break { display: block; }
  .workspace { padding: 17px; }
  .input-wrap { gap: 7px; }
  .paste-button { padding: 7px 9px; }
  .video-details { padding: 16px; }
  .download-button { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
