/* ================================================
   TranscriptFixer — Shared Stylesheet
   https://transcriptfixer.com
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── Variables ─────────────────────────────────── */
:root {
  --bg:           #FAFAF7;
  --bg-2:         #F2F2EE;
  --surface:      #FFFFFF;
  --text:         #1A1A1A;
  --text-2:       #52525B;
  --text-muted:   #8E8E97;
  --accent:       #F4622A;
  --accent-hover: #E0521A;
  --accent-light: #FFF4EE;
  --accent-dark:  #C94018;
  --nav:          #0E0E0C;
  --border:       #E0DFD9;
  --border-focus: #F4622A;
  --success:      #16A34A;
  --success-light:#F0FDF4;
  --input-bg:     #F8F7F4;
  --output-bg:    #F0FAF5;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 1px 3px rgba(0,0,0,0.06), 0 6px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 2px 6px rgba(0,0,0,0.1), 0 12px 32px rgba(0,0,0,0.1);
  --max-width:    1200px;
  --t:            0.18s ease;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
code {
  font-family: 'DM Mono', 'Courier New', monospace;
  background: var(--bg-2);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.9em;
}

/* ── Typography ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.18;
  color: var(--text);
}

/* ── Layout ────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Navbar ────────────────────────────────────── */
.navbar {
  background: var(--nav);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--t);
}
.nav-links a:hover { color: #FFFFFF; }
.nav-cta {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--t) !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #FFF;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(244,98,42,0.35);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius);
}
.btn-ghost:hover { background: var(--bg-2); color: var(--text); }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── Badges ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-orange { background: var(--accent-light); color: var(--accent-dark); }
.badge-green  { background: var(--success-light); color: var(--success); }
.badge-gray   { background: var(--bg-2); color: var(--text-muted); }

/* ── Hero (Homepage) ───────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(244,98,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -2px;
  line-height: 1.06;
  margin: 20px 0 24px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero > .container > p {
  font-size: 19px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Tool Cards ────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--t);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.tool-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-light), transparent);
  opacity: 0;
  transition: opacity var(--t);
  border-radius: var(--radius-lg);
}
.tool-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.tool-card:hover::after { opacity: 0.4; }
.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  z-index: 1;
}
.tool-card h3 {
  font-size: 17px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.tool-card p {
  font-size: 14px;
  color: var(--text-2);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.tool-arrow {
  font-size: 20px;
  color: var(--accent);
  align-self: flex-end;
  position: relative;
  z-index: 1;
  transition: transform var(--t);
}
.tool-card:hover .tool-arrow { transform: translateX(4px); }

/* ── Section Headers ───────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1px;
  margin-top: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 14px auto 0;
}

/* ── Features Grid ─────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 40px 32px;
}
.feature-item { display: flex; flex-direction: column; gap: 10px; }
.feature-icon { font-size: 30px; }
.feature-item h3 { font-size: 16px; }
.feature-item p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Steps ─────────────────────────────────────── */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h3 { font-size: 16px; margin-bottom: 5px; }
.step-content p  { font-size: 14px; color: var(--text-2); }

/* ── FAQ ───────────────────────────────────────── */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color var(--t);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  font-size: 22px;
  color: var(--accent);
  transition: transform var(--t);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── Ad Slots ──────────────────────────────────── */
.ad-slot {
  background: var(--bg-2);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ad-leaderboard { width: 100%; max-width: 728px; height: 90px; margin: 20px auto; }
.ad-rectangle   { width: 300px; height: 250px; }
.ad-mobile      { width: 100%; height: 50px; margin: 12px auto; display: none; }

/* ── Footer ────────────────────────────────────── */
.footer {
  background: var(--nav);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand .nav-logo { font-size: 20px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; max-width: 240px; line-height: 1.7; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--t);
}
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Page Hero (tool pages) ────────────────────── */
.page-hero {
  background: var(--nav);
  background-image: linear-gradient(135deg, #0E0E0C 0%, #1A0F08 100%);
  color: #FFFFFF;
  padding: 52px 0 44px;
  border-bottom: 1px solid rgba(244,98,42,0.2);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--t); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }
.page-hero h1 {
  color: #FFFFFF;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.page-hero .subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 580px;
  font-weight: 300;
}
.page-hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ── Cleaner Tool ──────────────────────────────── */
.tool-section { padding: 36px 0 64px; }

.tool-options {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.tool-options-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.option-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: all var(--t);
  user-select: none;
  color: var(--text-2);
  background: var(--surface);
}
.option-chip input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}
.option-chip:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
}
.option-chip:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* tool workspace split */
.tool-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.workspace-panel { display: flex; flex-direction: column; gap: 10px; }
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.word-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-2);
  padding: 3px 10px;
  border-radius: 100px;
}
.transcript-textarea {
  width: 100%;
  height: 400px;
  padding: 18px 20px;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.85;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  resize: vertical;
  transition: border-color var(--t), box-shadow var(--t);
  background: var(--input-bg);
  color: var(--text);
}
.transcript-textarea::placeholder { color: var(--text-muted); }
.transcript-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,98,42,0.1);
}
.transcript-textarea.output {
  background: var(--output-bg);
  border-color: rgba(22,163,74,0.25);
}
.transcript-textarea.output:focus {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}
.panel-actions { display: flex; gap: 6px; }

/* Clean button bar */
.tool-bar {
  display: flex;
  gap: 12px;
  align-items: center;
}
.tool-bar .btn-primary { flex: 1; justify-content: center; }

/* Find & Replace (Universal) */
.find-replace {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.find-replace label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.find-replace input {
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color var(--t);
}
.find-replace input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Custom names input */
.names-input-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 18px;
  display: none;
}
.names-input-wrap.visible { display: block; }
.names-input-wrap label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.names-input-wrap input {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color var(--t);
}
.names-input-wrap input:focus { outline: none; border-color: var(--accent); }

/* ── SEO Content Section ────────────────────────── */
.content-section {
  max-width: 760px;
  margin: 0 auto;
}
.content-section h2 { font-size: 26px; margin-bottom: 20px; letter-spacing: -0.5px; }
.content-section h3 { font-size: 19px; margin: 28px 0 12px; }
.content-section p  { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.content-section ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.content-section li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-2);
}
.content-section li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Related Tools ──────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

/* ── Toast notification ─────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--text);
  color: #FFF;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Theme Toggle Button ────────────────────────── */
.theme-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  padding: 6px 11px;
  border-radius: var(--radius);
  font-size: 15px;
  cursor: pointer;
  transition: all var(--t);
  line-height: 1;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

/* ── Dark Mode ──────────────────────────────────── */
body.dark {
  --bg:           #0F0F0D;
  --bg-2:         #181815;
  --surface:      #1E1E1B;
  --text:         #F0F0ED;
  --text-2:       #9A9A94;
  --text-muted:   #5E5E58;
  --nav:          #080807;
  --border:       #2C2C28;
  --border-focus: #F4622A;
  --input-bg:     #141412;
  --output-bg:    #0C1710;
  --success-light:#0A1F10;
  --accent-light: #1F0E06;
}

body.dark .ad-slot {
  background: #181815;
  border-color: #2C2C28;
}

body.dark .transcript-textarea {
  color: var(--text);
}

body.dark .transcript-textarea.output {
  border-color: rgba(22,163,74,0.2);
}

body.dark .option-chip:has(input:checked) {
  background: rgba(244,98,42,0.15);
}

body.dark .option-chip:hover {
  background: rgba(244,98,42,0.1);
}

body.dark .find-replace-section,
body.dark .names-section {
  background: var(--surface);
  border-color: var(--border);
}

body.dark .fr-field input,
body.dark .names-section input {
  background: var(--input-bg);
  color: var(--text);
  border-color: var(--border);
}

body.dark code {
  background: #1E1E1B;
  color: #F0A070;
}

body.dark .highlight-box {
  background: rgba(22,163,74,0.08);
  border-color: rgba(22,163,74,0.2);
}

body.dark .step-num {
  background: rgba(244,98,42,0.15);
}

body.dark .tool-options {
  background: var(--surface);
  border-color: var(--border);
}

body.dark .tool-card::after {
  background: linear-gradient(135deg, rgba(244,98,42,0.08), transparent);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .how-it-works-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .tool-workspace { grid-template-columns: 1fr; }
  .find-replace { grid-template-columns: 1fr; }
  .ad-leaderboard { display: none; }
  .ad-mobile { display: flex; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .transcript-textarea { height: 280px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { letter-spacing: -1.2px; }
  .tool-bar { flex-direction: column; }
  .tool-bar .btn-primary { width: 100%; }
  .container { padding: 0 16px; }
}

/* ── Tools Strip (secondary nav) ─────────────────── */
.tools-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tools-strip::-webkit-scrollbar { display: none; }
.tools-strip-inner {
  display: flex;
  padding: 0 max(16px, calc((100% - 1200px) / 2));
  min-width: max-content;
}
.tool-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tool-strip-link:hover { color: var(--text); border-bottom-color: var(--border); }
.tool-strip-link.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }

/* ── More Tools (bottom grid) ────────────────────── */
.more-tools-section {
  background: var(--bg-2);
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}
.more-tools-section h3 {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 20px;
  color: var(--text);
}
.more-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.more-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 10px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.more-tool-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.more-tool-card.current-tool {
  border-color: var(--accent);
  background: var(--accent-light);
  cursor: default;
  pointer-events: none;
}
.more-tool-icon { font-size: 22px; line-height: 1; }

/* Filler word section (shared) */
.filler-section{margin:0 0 20px;border:1.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
.filler-toggle{width:100%;background:var(--surface);border:none;padding:14px 18px;font-size:14px;font-weight:600;color:var(--text);cursor:pointer;text-align:left;display:flex;align-items:center;gap:6px;transition:background .2s;font-family:inherit}
.filler-toggle:hover{background:var(--bg-2)}
.filler-body{display:none;padding:16px 18px 18px;border-top:1px solid var(--border)}
.filler-body.open{display:block}
.filler-note{font-size:13px;color:var(--text-muted);margin:0 0 14px;line-height:1.5}
.filler-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.filler-chip{display:flex;align-items:center;gap:6px;background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:5px 12px;font-size:13px;cursor:pointer;transition:border-color .15s,background .15s;user-select:none}
.filler-chip:has(input:checked){border-color:var(--accent);background:var(--accent-light)}
.filler-chip input{accent-color:var(--accent);cursor:pointer}
.filler-custom-label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--text)}
.filler-custom-input{width:100%;box-sizing:border-box;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:10px 14px;font-size:14px;color:var(--text);font-family:inherit;outline:none;transition:border-color .2s}
.filler-custom-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}

@media (max-width: 720px) {
  .more-tools-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
}
@media (max-width: 480px) {
  .more-tools-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-strip-link { padding: 10px 10px; font-size: 12px; }
}
