/* ============================================================
   DevToolBay — site.css  (design system shared by all pages)
   ============================================================ */
:root {
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --bg: #0b0f1c;
  --bg2: #0e1322;
  --panel: #10162a;
  --surface: rgba(20, 27, 48, 0.62);
  --surface-solid: #151c33;
  --border: rgba(148, 163, 199, 0.16);
  --border-strong: rgba(148, 163, 199, 0.34);
  --text: #eef1fb;
  --muted: #97a3c4;
  --accent: #6366f1;
  --accent-2: #a855f7;
  --accent-3: #ec4899;
  --grad: linear-gradient(135deg, #6366f1, #a855f7 55%, #ec4899);
  --ok: #34d399;
  --err: #fb7185;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.5);
  --radius: 14px;
  --sb-w: 252px;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f3f5fb;
  --bg2: #eceff9;
  --panel: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --border: rgba(100, 116, 160, 0.18);
  --border-strong: rgba(100, 116, 160, 0.38);
  --text: #171c2e;
  --muted: #5b657f;
  --ok: #059669;
  --err: #e11d48;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  color-scheme: light;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(99, 102, 241, 0.35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 199, 0.3); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 8px; z-index: 100; background: var(--surface-solid); border: 1px solid var(--border-strong); padding: 6px 12px; border-radius: 8px; }
.bg-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: 0.2; pointer-events: none; }
.bg-glow.g1 { width: 480px; height: 480px; top: -160px; right: -120px; background: #6366f1; }
.bg-glow.g2 { width: 420px; height: 420px; bottom: -140px; left: -100px; background: #a855f7; opacity: 0.13; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(14px, 3vw, 28px); background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 8px; }
.brand-text { min-width: 0; }
.brand-name { display: block; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--muted); transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 17px; height: 17px; }
html[data-theme="dark"] .ic-sun { display: none; }
html[data-theme="light"] .ic-moon { display: none; }
.burger { display: none; }

/* ---------- sidebar ---------- */
.layout { min-height: calc(100vh - 57px); }
.sidebar { position: fixed; z-index: 59; top: 57px; bottom: 0; left: 0; width: var(--sb-w); overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px 30px; background: var(--panel); border-right: 1px solid var(--border); transition: transform 0.25s ease; }
.nav-group + .nav-group { margin-top: 18px; }
.nav-group h3 { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 10px 6px; }
.nav-link { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; color: var(--muted); font-size: 13px; line-height: 1.3; transition: background 0.15s ease, color 0.15s ease; }
.nav-link svg { width: 16px; height: 16px; flex: none; opacity: 0.85; }
.nav-link:hover { background: var(--surface); color: var(--text); }
.nav-link.active { background: var(--surface); color: var(--text); font-weight: 650; }
.nav-link.active svg { color: var(--accent-2); opacity: 1; }
.nav-count { margin-left: auto; font-size: 10px; color: var(--muted); opacity: 0.85; }
.sidebar-home { background: var(--surface); color: var(--text); font-weight: 650; margin-bottom: 6px; }

.main { flex: 1; margin-left: var(--sb-w); padding: 28px clamp(16px, 4vw, 44px) 70px; }
.main.no-side { margin-left: 0; }

/* ---------- home hero ---------- */
.hero { text-align: center; padding: 34px 0 8px; }
.hero .badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.03em; }
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.hero h1 { font-size: clamp(30px, 5.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin: 16px 0 12px; line-height: 1.12; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 15.5px; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.trust-strip span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 12px; color: var(--muted); }
.search-wrap { position: relative; max-width: 560px; margin: 26px auto 0; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
#toolSearch { width: 100%; padding: 13px 18px 13px 44px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 14px; }
#toolSearch::placeholder { color: var(--muted); }
.no-results { text-align: center; color: var(--muted); padding: 30px 0; font-size: 14px; display: none; }

/* ---------- tool cards ---------- */
.sec { margin-top: 38px; }
.sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.sec-head h2 { font-size: 17px; font-weight: 750; letter-spacing: -0.01em; }
.sec-head .sec-sub { font-size: 12px; color: var(--muted); }
.sec-head .sec-count { margin-left: auto; font-size: 11px; color: var(--muted); border: 1px solid var(--border); padding: 2px 9px; border-radius: 999px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tcard { display: block; padding: 15px 15px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.tcard:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.tcard .ic { width: 38px; height: 38px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.12)); color: var(--accent-2); border: 1px solid var(--border); }
.tcard .ic svg { width: 19px; height: 19px; }
.tcard h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; letter-spacing: -0.01em; }
.tcard p { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard .go { margin-top: 9px; font-size: 11.5px; font-weight: 650; color: var(--accent-2); display: inline-flex; align-items: center; gap: 4px; }
.tcard:hover .go { text-decoration: underline; }
.hidden-card { display: none !important; }

/* ---------- scrim & footer ---------- */
.scrim { position: fixed; inset: 0; z-index: 58; background: rgba(2, 6, 23, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.22s ease; }
.scrim.show { opacity: 1; pointer-events: auto; }
.site-footer { margin-top: 56px; padding: 24px clamp(16px, 4vw, 40px); border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 12.5px; }
.site-footer a { color: var(--text); font-weight: 600; }
.site-footer .f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 8px; }

/* ---------- tool page ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs b { color: var(--text); font-weight: 650; }
.tool-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 22px; }
.th-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.14)); color: var(--accent-2); }
.th-ic svg { width: 22px; height: 22px; }
.tool-head h1 { font-size: clamp(21px, 3.4vw, 27px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tool-desc { margin-top: 3px; color: var(--muted); font-size: 13.5px; max-width: 720px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.card + .card { margin-top: 14px; }
.card h2 { font-size: 15px; font-weight: 750; margin-bottom: 10px; }
.io { display: grid; gap: 10px; }
.f-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
textarea.ta, input.tin, select.tsl { width: 100%; border: 1px solid var(--border-strong); border-radius: 11px; background: var(--surface-solid); color: var(--text); padding: 11px 13px; font-size: 13.5px; font-family: inherit; line-height: 1.5; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
textarea.ta { min-height: 150px; resize: vertical; font-family: var(--font-mono); font-size: 13px; }
textarea.ta.sm { min-height: 84px; }
textarea.ta:focus, input.tin:focus, select.tsl:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toolbar .spacer { margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text); font-size: 12.5px; font-weight: 650; transition: transform 0.14s ease, border-color 0.14s ease, filter 0.14s ease, opacity 0.14s ease; }
.btn svg { width: 15px; height: 15px; }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: scale(0.96); }
.btn.primary { background: var(--grad); border: none; color: #fff; box-shadow: 0 6px 18px rgba(129, 90, 240, 0.35); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger:hover { border-color: var(--err); color: var(--err); }
.btn.small { padding: 5px 10px; font-size: 11.5px; border-radius: 8px; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.meta { margin-top: 9px; font-size: 12px; color: var(--muted); min-height: 18px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.meta.err { color: var(--err); font-weight: 600; }
.meta.ok { color: var(--ok); font-weight: 600; }
.seg { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface-solid); }
.seg button { padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 650; color: var(--muted); }
.seg button.active { background: var(--grad); color: #fff; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.controls .ctl { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.controls select { width: auto; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text); font-size: 12.5px; }
input[type="checkbox"].cb, input[type="radio"].cb { width: 15px; height: 15px; accent-color: var(--accent); }
input[type="range"].rg { width: 180px; accent-color: var(--accent); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.stat { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-solid); }
.stat b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kv { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv th, .kv td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.kv th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.kv td code, .mono { font-family: var(--font-mono); font-size: 12.5px; }
.kv tr:last-child td { border-bottom: none; }
pre.outbox { margin: 0; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 11px; background: var(--surface-solid); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; overflow: auto; max-height: 420px; white-space: pre-wrap; word-break: break-word; }
mark { background: rgba(250, 204, 21, 0.35); color: inherit; border-radius: 3px; padding: 0 1px; }
.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 20px; z-index: 90; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, translate 0.2s ease; }
.toast.show { opacity: 1; translate: -50% 0; }
.toast svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.toast.error svg { color: var(--err); }
.dropzone { border: 2px dashed var(--border-strong); border-radius: var(--radius); padding: 26px 18px; text-align: center; color: var(--muted); font-size: 13px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(99, 102, 241, 0.07); }
.preview-check { background-image: linear-gradient(45deg, rgba(148, 163, 199, 0.16) 25%, transparent 25%, transparent 75%, rgba(148, 163, 199, 0.16) 75%), linear-gradient(45deg, rgba(148, 163, 199, 0.16) 25%, transparent 25%, transparent 75%, rgba(148, 163, 199, 0.16) 75%); background-size: 18px 18px; background-position: 0 0, 9px 9px; border: 1px solid var(--border-strong); border-radius: 11px; overflow: hidden; }
.preview-check img { display: block; max-width: 100%; max-height: 340px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-solid); font-size: 11.5px; color: var(--muted); }
.badge-line { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 11px; border-radius: 999px; font-weight: 700; }
.badge-line.good { color: var(--ok); background: rgba(52, 211, 153, 0.12); }
.badge-line.bad { color: var(--err); background: rgba(251, 113, 133, 0.12); }
[data-tab-panel] { display: none; }
[data-tab-panel].active { display: block; }
@media (max-width: 980px) {
  .sidebar { transform: translateX(-105%); box-shadow: var(--shadow); padding-top: 12px; }
  .sidebar.open { transform: none; }
  .burger { display: inline-flex; }
  .main { margin-left: 0; }
}
@media (max-width: 620px) { .grid { grid-template-columns: 1fr 1fr; } .tool-head h1 { font-size: 20px; } .stat b { font-size: 17px; } }
@media (max-width: 460px) { .grid { grid-template-columns: 1fr; } .toolbar { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }
/* ---------- language switcher ---------- */
.lang-wrap { position: relative; display: flex; }
.icon-btn.lang-btn { width: auto; min-width: 36px; height: 36px; gap: 5px; padding: 0 11px; white-space: nowrap; }
.lang-btn svg { width: 17px; height: 17px; flex: none; }
#langLabel { font-size: 12px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; line-height: 1; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 130; }
.lang-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 9px 12px; border-radius: 8px; font-size: 14px; text-align: left; }
.lang-opt:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.lang-opt.active { background: color-mix(in srgb, var(--accent) 18%, transparent); font-weight: 600; }
.lang-opt .lang-code { font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; }
.lang-opt.active .lang-code { color: var(--accent); border-color: var(--accent); }

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 18px; }
.faq h2, #relatedGuides h2 { font-size: 17px; margin: 0 0 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.faq-item summary { cursor: pointer; padding: 11px 14px; font-weight: 600; font-size: 14px; list-style: none; display: flex; align-items: center; gap: 9px; border-radius: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; width: 18px; height: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 6px; font-size: 12px; color: var(--accent); }
.faq-item[open] summary::before { content: '−'; }
.faq-item[open] summary { color: var(--text); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-item[open] summary:hover { color: var(--text); }
.faq-a { padding: 2px 14px 12px 41px; }
.faq-a p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ---------- guides & articles ---------- */
.rel-guides { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.rel-guides a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14px; }
.rel-guides a:hover { text-decoration: underline; }
.post { max-width: 860px; margin: 0 auto; padding-bottom: 30px; width: 100%; }
.post-head { margin: 6px 0 18px; }
.post-meta { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.post h1 { font-size: 30px; line-height: 1.25; margin: 0 0 10px; }
.post-desc { font-size: 15.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.prose { font-size: 14.5px; line-height: 1.75; color: var(--text); }
.prose p { margin: 14px 0; }
.prose h2 { font-size: 19px; margin: 26px 0 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 6px; }
.prose li::marker { color: var(--accent); }
.prose code { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--text); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 6px; padding: 1px 6px; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.ptable { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.ptable th, .ptable td { border: 1px solid var(--border); padding: 7px 10px; text-align: left; }
.ptable th { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.post-tools { margin-top: 34px; }
.alist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 18px; }
.a-card { display: block; border: 1px solid var(--border); border-radius: 14px; padding: 16px; text-decoration: none; background: var(--surface); transition: border-color .15s ease, transform .15s ease; }
.a-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.a-card .a-date { font-size: 11.5px; color: var(--muted); }
.a-card h3 { font-size: 16px; margin: 6px 0 8px; color: var(--text); }
.a-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
/*__EOF__*/

/* ===== how-to guides, related tools & home guides strip ===== */
.guide h2, #relatedTools h2 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.guide .prose p { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0 0 10px; }
.guide .prose p:last-child { margin-bottom: 0; }
#relatedTools .rgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rgrid .tcard { padding: 12px 14px; }
.rgrid .tcard p, .rgrid .tcard .go { display: none; }
.rgrid .tcard h4 { font-size: 13.5px; margin: 8px 0 0; }
.more-guides { margin: 12px 0 0; }
.more-guides a { color: var(--brand, #818cf8); font-weight: 600; font-size: 14px; text-decoration: none; }
.more-guides a:hover { text-decoration: underline; }
.btn-a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid rgba(129, 140, 248, .35); background: rgba(99, 102, 241, .12); color: inherit; font-weight: 600; font-size: 13.5px; text-decoration: none; }
.btn-a:hover { background: rgba(99, 102, 241, .22); }
@media (max-width: 760px) { #relatedTools .rgrid { grid-template-columns: 1fr; } }
