﻿:root {
  --bg: #0b1020;
  --bg-soft: #121a2f;
  --panel: rgba(13, 20, 39, 0.88);
  --panel-strong: #121b34;
  --panel-soft: rgba(255, 255, 255, 0.045);
  --text: #f7f8fc;
  --muted: #b7c0d8;
  --soft: #8b96b4;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --primary: #60e6cf;
  --primary-strong: #1db7a3;
  --accent: #72a8ff;
  --danger: #f87171;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.22);
  --radius: 22px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section,
.tool-header,
.content-box,
.tool-box,
.ad-slot {
  scroll-margin-top: 92px;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(96, 230, 207, 0.15), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(114, 168, 255, 0.16), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(29, 183, 163, 0.12), transparent 28%),
    linear-gradient(180deg, #070d1b 0%, #0b1222 48%, #10182c 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(96, 230, 207, 0.22);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 12, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.site-topbar {
  position: relative;
  z-index: 41;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 9, 18, 0.92);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: inline-grid;
  gap: 3px;
  font-size: 1.52rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.01em;
}

.logo-wordmark {
  color: var(--text);
}

.logo-wordmark span {
  color: var(--primary);
}

.logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.logo-slogan {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links {
  justify-content: flex-end;
}

.nav-links a,
.footer-links a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.tools-list a:hover,
.card-link:hover,
.home-link:hover {
  color: var(--primary);
}

.nav-links a:hover,
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-links a.is-active,
.footer-links a.is-active {
  background: rgba(96, 230, 207, 0.12);
  border: 1px solid rgba(96, 230, 207, 0.2);
  color: var(--text);
}

.hero {
  padding: 94px 0 48px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -10px 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018));
  pointer-events: none;
}

.hero-grid,
.tool-layout,
.why-grid,
.monetization-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.hero-copy h1 {
  max-width: 860px;
  margin: 12px 0 18px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero-copy > p,
.section-heading p,
.section-text,
.tool-intro,
.tool-card p,
.feature-item span,
.content-box p,
.faq-list p,
.mini-card span,
.ad-slot p,
.helper-text,
.tool-note {
  color: var(--muted);
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-microcopy {
  margin-top: 14px;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-popular {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-stat {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
}

.hero-stat strong {
  color: var(--text);
  font-size: 1.08rem;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.button-row,
.tool-actions,
.tool-header-actions,
.inline-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn,
.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 14px;
  padding: 13px 19px;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover,
.home-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #87f5e4);
  color: #06231f;
  box-shadow: 0 14px 30px rgba(29, 183, 163, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7df1de, #a3fff0);
  box-shadow: 0 22px 38px rgba(29, 183, 163, 0.32);
}

.btn-secondary,
.home-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.btn-secondary:hover,
.home-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 230, 207, 0.18);
}

.btn-warning {
  background: linear-gradient(135deg, var(--accent), #9abfff);
  color: #081623;
}

.hero-panel,
.tool-card,
.feature-item,
.tool-box,
.content-box,
.ad-slot,
.mini-card,
.why-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero-panel,
.tool-card,
.tool-box,
.content-box,
.why-item {
  padding: 26px;
}

.hero-panel,
.tool-box {
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.tool-box::before,
.content-box::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(96, 230, 207, 0.08), transparent 38%);
  pointer-events: none;
}

.tool-box > *,
.content-box > *,
.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-panel-top {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-panel-label {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel-title {
  font-size: 1.5rem;
  line-height: 1.18;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.hero-visual-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.hero-visual-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 230, 207, 0.24);
}

.hero-visual-card strong {
  font-size: 1.02rem;
}

.hero-visual-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-panel h2,
.section-heading h2,
.content-box h2,
.faq-list h2,
.monetization-grid h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.check-list,
.tools-list,
.faq-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li,
.tools-list a,
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.check-list li,
.faq-item {
  padding: 14px;
}

.section {
  padding: 66px 0;
}

.section-tight {
  padding: 18px 0 8px;
}

.section-alt {
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.012));
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading h2 {
  text-wrap: balance;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.tool-card:hover,
.feature-item:hover,
.why-item:hover,
.mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 230, 207, 0.26);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(96, 230, 207, 0), rgba(96, 230, 207, 0.85), rgba(114, 168, 255, 0));
  transform: scaleX(0.25);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.tool-card:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.tool-tag {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(94, 234, 212, 0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.tool-card-icon,
.tool-hero-icon,
.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tool-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(96, 230, 207, 0.16), rgba(114, 168, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 1.8rem;
}

.tool-card h3 {
  margin: 14px 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--text);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link::after {
  content: "→";
  transition: transform 0.24s ease;
}

.tool-card:hover .card-link::after,
.feature-item:hover .card-link::after {
  transform: translateX(3px);
}

.feature-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-item,
.why-item {
  display: grid;
  gap: 8px;
  padding: 22px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-item strong,
.why-item h3 {
  line-height: 1.28;
}

.feature-item strong,
.why-item h3,
.mini-card strong,
.faq-item h3 {
  color: var(--text);
}

.ad-slot {
  display: grid;
  place-items: center;
  margin: 28px 0;
  padding: 24px;
  text-align: center;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.028);
}

.ad-slot strong {
  display: block;
  margin-bottom: 6px;
}

.browser-strip {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 207, 0.14);
  background: linear-gradient(90deg, rgba(96, 230, 207, 0.12), rgba(114, 168, 255, 0.06));
  box-shadow: var(--shadow-soft);
}

.browser-strip strong {
  color: var(--text);
  font-size: 1rem;
}

.browser-strip span {
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 230, 207, 0.2);
  box-shadow: var(--shadow);
}

.category-card-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.category-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(96, 230, 207, 0.16), rgba(114, 168, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 2rem;
}

.category-card h3 {
  margin-bottom: 6px;
  font-size: 1.24rem;
}

.category-card p,
.category-links a {
  color: var(--muted);
}

.category-links {
  display: grid;
  gap: 10px;
}

.category-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.24s ease, border-color 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.category-links a::after {
  content: "→";
  color: var(--primary);
}

.category-links a:hover {
  transform: translateX(3px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 230, 207, 0.16);
}

.site-footer {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 38px 0 44px;
  background: rgba(255, 255, 255, 0.015);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid > p {
  max-width: 480px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h3 {
  font-size: 0.95rem;
  color: var(--text);
}

.footer-column a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.24s ease, transform 0.24s ease;
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.tool-main {
  padding: 52px 0 34px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 0.94rem;
}

.tool-header {
  max-width: 920px;
  margin-bottom: 26px;
}

.tool-header-brand {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(96, 230, 207, 0.12), rgba(11, 18, 34, 0.3));
  box-shadow: var(--shadow-soft);
}

.tool-hero-icon {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(96, 230, 207, 0.22), rgba(114, 168, 255, 0.16));
  font-size: 3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-header-copy {
  min-width: 0;
}

.tool-header-copy p {
  margin-top: 6px;
}

.tool-header h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  text-wrap: balance;
}

.tool-layout {
  align-items: start;
}

.tool-box {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.26);
}

.sidebar-stack {
  display: grid;
  gap: 18px;
}

.tools-list a {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.tools-list a:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(96, 230, 207, 0.14);
}

.content-box h3,
.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.content-box p + p {
  margin-top: 12px;
}

.tool-box label,
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #ebeffa;
  font-weight: 700;
}

.form-group {
  margin-bottom: 18px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(9, 15, 30, 0.92);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8f9ab8;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(94, 234, 212, 0.85);
  box-shadow: 0 0 0 4px rgba(96, 230, 207, 0.08);
  background: rgba(10, 17, 32, 0.98);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.check-option input {
  width: auto;
}

.inline-controls .form-group {
  flex: 1 1 160px;
}

.stats-grid,
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stats-grid.stats-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-box,
.mini-card {
  padding: 14px;
}

.stat-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat-box strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.2;
}

.stat-box span,
.result-label,
.helper-text {
  font-size: 0.9rem;
}

.result {
  min-height: 58px;
  margin-top: 16px;
  border: 1px solid rgba(96, 230, 207, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(96, 230, 207, 0.08), rgba(255, 255, 255, 0.03));
  color: var(--text);
  padding: 16px;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.file-info,
.notice-box,
.result,
.tool-note {
  line-height: 1.65;
}

.result-label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-weight: 700;
  text-transform: uppercase;
}

.tool-note {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.error-message {
  min-height: 24px;
  margin-top: 10px;
  color: var(--danger);
  font-weight: 700;
}

.timer-display,
.stopwatch-display {
  margin: 14px 0 8px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #07101f, #0b1528);
  color: var(--primary);
  font-family: "Courier New", monospace;
  font-size: clamp(2.25rem, 6vw, 4.3rem);
  font-weight: 900;
  text-align: center;
}

.qr-preview {
  display: grid;
  min-height: 250px;
  place-items: center;
  margin-top: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.qr-preview img {
  width: min(240px, 100%);
  height: auto;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px;
}

.converter-preview,
.table-preview,
.file-info,
.notice-box {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.converter-preview img {
  display: block;
  max-width: min(320px, 100%);
  height: auto;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.converter-preview canvas {
  display: block;
  width: min(100%, 720px);
  height: auto;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.file-info strong,
.notice-box strong {
  display: block;
  margin-bottom: 8px;
}

.file-info p,
.notice-box p {
  color: var(--muted);
}

.range-row {
  display: grid;
  gap: 8px;
}

.range-value {
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.table-wrap th,
.table-wrap td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.table-wrap th {
  background: rgba(255, 255, 255, 0.06);
}

.laps {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  list-style-position: inside;
}

.faq-list {
  margin-top: 18px;
}

.faq-item h3 {
  margin-bottom: 6px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--text);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .tool-layout,
  .why-grid,
  .feature-grid,
  .tool-grid,
  .monetization-grid,
  .hero-stats,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-popular,
  .hero-visual-grid,
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .stats-grid.stats-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-header-brand,
  .category-card-head {
    grid-template-columns: 1fr;
  }

  .tool-hero-icon,
  .category-icon {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    width: 100%;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-links a {
    justify-content: center;
    text-align: center;
    padding-inline: 10px;
  }

  .logo {
    font-size: 1.38rem;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .button-row,
  .tool-actions,
  .tool-header-actions,
  .inline-controls {
    flex-direction: column;
  }

  .btn,
  .home-link {
    width: 100%;
  }

  .checkbox-grid,
  .stats-grid,
  .stats-grid.stats-grid-4,
  .mini-grid,
  .hero-popular,
  .hero-visual-grid,
  .footer-columns,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-tight {
    padding: 14px 0 4px;
  }

  .tool-main {
    padding-top: 42px;
  }

  .hero-panel,
  .tool-box,
  .content-box,
  .tool-card,
  .feature-item,
  .why-item,
  .category-card,
  .tool-header-brand {
    padding: 20px;
  }

  .ad-slot {
    padding: 20px;
  }

  .tool-card-icon {
    width: 54px;
    height: 54px;
    font-size: 1.55rem;
  }
}

