/* ImgStop theme. Colors, fonts and sizes come from Customizer variables printed in <head>. */
:root {
  --primary: #4f46e5; --accent: #ec4899; --bg: #f6f7fb; --surface: #fff; --text: #0f172a; --muted: #64748b;
  --border: #e3e6ef; --soft: #f1f3f9; --header-bg: #fff; --footer-bg: #0b1020; --footer-text: #cbd2e3;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --font-head: var(--font);
  --fs: 16px; --container: 1200px; --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -14px rgba(15, 23, 42, .2);
  --header-h: 68px;
  color-scheme: light;
}
html[data-theme="dark"] { color-scheme: dark; --footer-bg: #070a14; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--primary) 80%, var(--text)); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.015em; margin: 1.6em 0 .6em; font-weight: 750; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: var(--surface); border-radius: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; border-radius: calc(var(--radius) - 4px); border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .1s, background .15s, box-shadow .15s; }
.btn:hover { color: var(--primary); border-color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { color: #fff; background: color-mix(in srgb, var(--primary) 88%, #000); box-shadow: 0 8px 22px -10px var(--primary); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--soft); border-color: var(--border); }

/* Header */
.site-header { background: color-mix(in srgb, var(--header-bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); z-index: 100; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.scrolled .site-header { box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.site-brand { flex: none; display: flex; align-items: center; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark svg { display: block; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; }
.custom-logo { max-height: 44px; width: auto; }
.main-nav { flex: 1; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: var(--soft); color: var(--primary); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 10; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: block; }
html[data-theme="dark"] .theme-toggle .i-sun { display: none; }
.theme-toggle span { display: grid; }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.header-search { border-top: 1px solid var(--border); padding: 14px 0; background: var(--header-bg); }
.search-form { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); max-width: 680px; margin: 0 auto; }
.search-form .svg-icon { color: var(--muted); flex: none; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 0; }
.search-form .btn { border-radius: 999px; }

/* Hero */
.hero { position: relative; z-index: 5; overflow: visible; padding: clamp(48px, 9vw, 104px) 0 clamp(40px, 7vw, 80px); text-align: center; isolation: isolate; }
.hero-mesh::before, .hero-mesh::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .45; }
.hero-mesh::before { width: 520px; height: 520px; left: -120px; top: -180px; background: var(--primary); }
.hero-mesh::after { width: 480px; height: 480px; right: -140px; top: -60px; background: var(--accent); opacity: .3; }
html[data-theme="dark"] .hero-mesh::before { opacity: .35; }
.hero-gradient { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 50%, var(--accent)) 60%, var(--accent)); color: #fff; }
.hero-gradient .hero-text, .hero-gradient .hero-badge { color: rgba(255, 255, 255, .9); }
.hero-gradient .hl { -webkit-text-fill-color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 8px; }
.hero-inner { max-width: 900px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--muted); margin: 0 0 22px; }
.hero-badge .svg-icon { color: #16a34a; width: 18px; height: 18px; }
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 18px; letter-spacing: -.035em; font-weight: 850; line-height: 1.06; }
.hl { background: linear-gradient(100deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto; padding: 7px 7px 7px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 18px 50px -20px color-mix(in srgb, var(--primary) 55%, transparent); color: var(--text); }
.hero-search .svg-icon { color: var(--muted); flex: none; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.02rem; padding: 10px 0; }
.hero-search .btn { border-radius: 999px; min-height: 46px; padding: 10px 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.hero-chips a { padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 600; transition: .15s; }
.hero-chips a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.hero-gradient .hero-chips a { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }

/* Sections */
.section { padding: clamp(36px, 6vw, 72px) 0; }
.tools-section { padding-top: 10px; }
.tools-section.has-hero-search .imgstop-grid .is-search { display: none; }
.section-title { text-align: center; margin: 0 0 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head .section-title { text-align: left; margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); }
.feature h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.notice-box { padding: 16px; border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* Page hero & content */
.page-hero { padding: clamp(28px, 5vw, 52px) 0 clamp(18px, 3vw, 30px); }
.page-hero-tool { text-align: center; padding-bottom: 26px; position: relative; isolation: isolate; }
.page-hero-tool::before { content: ''; position: absolute; inset: -40px 0 auto; height: 260px; z-index: -1; background: radial-gradient(60% 100% at 50% 0, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%); }
.page-hero-tool .breadcrumbs ol { justify-content: center; }
.page-title { margin: 0; }
.page-lead { color: var(--muted); font-size: 1.08rem; max-width: 720px; margin: 12px auto 0; }
.page-hero:not(.page-hero-tool) .page-lead { margin-left: 0; }
.breadcrumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.tool-page .entry-content { padding-bottom: 60px; }
.page-standard .entry-content, .single-post .entry-content { padding-bottom: 30px; }
.entry-content > * { max-width: 100%; }
.entry-content img { border-radius: calc(var(--radius) - 4px); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--primary); color: var(--muted); }
.entry-content pre { background: var(--soft); padding: 16px; border-radius: 10px; overflow: auto; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.entry-content .alignwide { width: min(100vw - 40px, var(--container)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-button__link { background: var(--primary); border-radius: calc(var(--radius) - 4px); }
.entry-thumb { margin: 0 0 24px; }
.entry-thumb img { border-radius: var(--radius); width: 100%; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--muted); text-align: center; }
.full-width-content { padding-top: 30px; padding-bottom: 60px; }

/* Layout with sidebar */
.layout { display: grid; gap: 40px; padding-bottom: 60px; }
.layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
.sidebar-left .layout.has-sidebar { grid-template-columns: 320px minmax(0, 1fr); }
.sidebar-left .layout.has-sidebar .layout-side { order: -1; }
.layout.no-sidebar .layout-main { max-width: 820px; margin: 0 auto; width: 100%; }
.layout-side { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.widget-title { margin: 0 0 12px; font-size: 1.02rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 5px 0; }
.single-post .entry-header { padding-top: 34px; }
.entry-title { margin: 0 0 10px; }
.entry-meta { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: .85rem; text-decoration: none; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0; }
.post-navigation a { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); height: 100%; }
.post-navigation .nav-next a { text-align: right; }
.post-navigation small { color: var(--muted); }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-grid-2 { grid-template-columns: repeat(2, 1fr); }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 18px 20px 20px; }
.post-card-body .entry-meta { margin-bottom: 6px; font-size: .82rem; }
.post-card-title { margin: 0 0 8px; font-size: 1.15rem; }
.post-card-title a { color: var(--text); text-decoration: none; }
.post-card-title a:hover { color: var(--primary); }
.post-card-body p { color: var(--muted); margin: 0; font-size: .94rem; }
.pagination .nav-links { display: flex; gap: 6px; justify-content: center; margin: 36px 0 0; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty-state { text-align: center; padding: 40px 0; }
.empty-state .imgstop { text-align: left; margin: 26px 0; }
.big-404 { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.search-again { margin-top: 18px; }
.search-again .search-form { margin: 0; }

/* Comments */
.comments { margin: 40px 0; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-top: 1px solid var(--border); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.comment-form .submit { background: var(--primary); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px; font-weight: 650; cursor: pointer; }

/* Ads */
.ad { margin: 20px auto; text-align: center; overflow: hidden; clear: both; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 40px; font-size: .94rem; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand, .site-footer .brand-name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-about p { margin: 14px 0 16px; opacity: .85; max-width: 320px; }
.site-footer .widget { background: transparent; border: 0; padding: 0; }
.site-footer .widget-title, .footer-col .widget-title { color: #fff; font-size: .95rem; margin: 6px 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.social { display: flex; flex-wrap: wrap; gap: 6px; }
.social a { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); font-size: .82rem; }
.social a:hover { background: rgba(255, 255, 255, .08); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; opacity: .75; font-size: .88rem; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; font-size: .88rem; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; }

/* Responsive */
@media (max-width: 1000px) {
  .menu-toggle { display: inline-grid; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--surface); padding: 16px 20px 40px; overflow: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; z-index: 99; border-top: 1px solid var(--border); }
  .admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .menu-toggle .i-open { display: none; }
  .menu-open .menu-toggle .i-close { display: block; }
  .main-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 1.02rem; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; }
  .main-nav .sub-open > .sub-menu { display: block; }
  .sub-toggle { display: block; position: absolute; right: 4px; top: 6px; width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 1rem; color: var(--muted); }
  .header-cta { display: none; }
  .layout.has-sidebar, .sidebar-left .layout.has-sidebar { grid-template-columns: 1fr; }
  .sidebar-left .layout.has-sidebar .layout-side { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 46px; } }
@media (max-width: 680px) {
  .features { grid-template-columns: 1fr; }
  .post-grid, .post-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-search { padding-left: 14px; }
  .hero-search .btn { padding: 10px 14px; }
  .hero-search .svg-icon { display: none; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ===== v1.1: brand, live search, tool hero ===== */
.brand-accent { color: var(--primary); }
html[data-theme="dark"] .brand-accent { color: #a5b4fc; }
.site-footer .brand-accent { color: #a5b4fc; }
.custom-logo { max-height: 42px; width: auto; display: block; }
.logo-dark { display: none !important; }
html[data-theme="dark"] .logo-dark { display: block !important; }
html[data-theme="dark"] .logo-light { display: none !important; }
.site-footer .custom-logo { max-height: 38px; }

.live-search { position: relative; max-width: 640px; margin: 0 auto; text-align: left; z-index: 20; }
.live-search.is-open .hero-search { border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); }
.ls-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .35); padding: 6px; max-height: min(70vh, 480px); overflow: auto; }
.ls-head { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 8px 12px 4px; }
.ls-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none; }
.ls-item:hover, .ls-item.is-active { background: color-mix(in srgb, var(--primary) 9%, transparent); color: var(--text); }
.ls-dot { flex: none; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 14%, transparent); position: relative; }
.ls-dot::after { content: ''; position: absolute; inset: 11px; border-radius: 4px; background: var(--primary); }
.ls-convert .ls-dot { background: rgba(8, 145, 178, .14); } .ls-convert .ls-dot::after { background: #0891b2; }
.ls-edit .ls-dot { background: rgba(219, 39, 119, .12); } .ls-edit .ls-dot::after { background: #db2777; }
.ls-social .ls-dot { background: rgba(234, 88, 12, .12); } .ls-social .ls-dot::after { background: #ea580c; }
.ls-ai .ls-dot { background: rgba(124, 58, 237, .14); } .ls-ai .ls-dot::after { background: #7c3aed; border-radius: 50%; }
.ls-utility .ls-dot { background: rgba(5, 150, 105, .12); } .ls-utility .ls-dot::after { background: #059669; }
.ls-guide .ls-dot { background: var(--soft); } .ls-guide .ls-dot::after { background: var(--muted); inset: 10px 12px; border-radius: 2px; }
.ls-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ls-body strong { font-size: .95rem; line-height: 1.3; }
.ls-body small { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-item em { font-style: normal; font-size: .72rem; font-weight: 650; color: var(--muted); background: var(--soft); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.ls-item mark { background: color-mix(in srgb, var(--accent) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.ls-empty { padding: 14px 12px; color: var(--muted); font-size: .9rem; }
.ls-all { display: block; padding: 10px 12px; margin-top: 4px; border-top: 1px solid var(--border); font-size: .88rem; font-weight: 600; text-decoration: none; }
.header-search .live-search { max-width: 680px; }
.header-search .hero-search { box-shadow: none; }

.hero-tool { padding: clamp(26px, 5vw, 48px) 0 clamp(26px, 4vw, 40px); }
.hero-tool .breadcrumbs ol { justify-content: center; }
.hero-tool .hero-badge { margin-bottom: 16px; }
.hero-tool .hero-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.hero-tool .hero-text { margin-bottom: 22px; }
.hero-tool .hero-chips { margin-top: 16px; }
.hero-tool.hero-mesh::before { width: 420px; height: 420px; top: -200px; }
.hero-tool.hero-mesh::after { width: 380px; height: 380px; top: -160px; }
.tool-page .entry-content { padding-top: 6px; }
@media (max-width: 680px) { .ls-item em { display: none; } }
.entry-content .answer-box { padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), color-mix(in srgb, var(--accent) 8%, transparent)); border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border)); font-size: 1.05rem; }
.entry-content table:not(.is-facts) { font-size: .95rem; display: block; overflow-x: auto; }
.entry-content thead th { background: var(--soft); }
.entry-content h2 { margin-top: 1.8em; }

.hero-mesh::before, .hero-mesh::after { pointer-events: none; }
.hero .live-search { z-index: 30; }

.ls-icon { flex: none; width: 36px; height: 36px; display: block; }
.ls-icon svg { display: block; width: 36px; height: 36px; border-radius: 10px; }
.hero-tool-icon { display: block; width: 64px; height: 64px; margin: 0 auto 14px; filter: drop-shadow(0 14px 22px rgba(79, 70, 229, .28)); }
.hero-tool-icon svg { display: block; }
.search-form input, .comment-form input[type=email] { font: inherit; }

/* Pages that already have the live search at the top don't need a second search box. */
.tool-page .imgstop-grid .is-search { display: none; }
