:root {
  --primary-blue: #5500a9;
  --primary-purple: #8b5cf6;
  --primary-pink: #ec4899;
  --primary-cyan: #06b6d4;
  --primary-green: #10b981;
  --primary-orange: #f59e0b;
  --bg: #f9fafb;
  --bg-alt: #f3f4f6;
  --surface: #ffffff;
  --surface-subtle: #f0f4ff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --font-display: "Playfair Display", serif;
  --font-sans: "DM Sans", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
}
:root[data-theme="dark"] {
  --bg: #111827;
  --bg-alt: #1f2937;
  --surface: #1f2937;
  --surface-subtle: #374151;
  --border: #374151;
  --border-strong: #6b7280;
  --text: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .head-info p, .item > span > i:first-of-type { font-family: var(--font-display); }
.cnt { max-width: 1260px; margin: 0 auto; padding: 0 20px; width: 100%; box-sizing: border-box; }
.site-header {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 700;
}
.site-nav a:hover { color: var(--primary-blue); }
.hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0 8px;
}
.hub-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 700;
}
.hub-chip:hover,
.hub-chip.is-on {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}
.hub-more { font-size: var(--text-sm); }
.site-info a { color: var(--primary-blue); font-weight: 700; }
.brand-link a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
}
.brand-mark { border-radius: var(--radius-md); box-shadow: 0 0 0 2px var(--primary-blue); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 210px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.lang-switch.is-open .lang-menu { display: block; }
.lang-menu li { margin: 0; }
.lang-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
}
.lang-menu a:hover,
.lang-menu a.is-on {
  background: var(--surface-subtle);
  color: var(--primary-blue);
}
#themeToggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
#themeToggle:hover {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}
.head-info { text-align: center; padding-top: 20px; }
.head-info h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.head-info p { font-size: var(--text-lg); color: var(--text-secondary); }
.input-sec { position: sticky; top: 0; z-index: 30; padding: 12px 0; background: var(--bg); }
.input-info {
  display: block;
  text-align: center;
  padding: 6px 0;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.input-wrap {
  position: relative;
}
.input {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.input:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px var(--surface-subtle);
}
#inputText {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: var(--text-lg);
  padding: 18px 48px 18px 8px;
  font-weight: 500;
  text-align: center;
  font-family: inherit;
  min-width: 0;
}
#inputCount {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  background: var(--primary-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 12px;
  line-height: 1;
}
#inputCount[hidden] { display: none !important; }
.input button {
  position: absolute;
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
#clearInput { top: 4px; right: 4px; }
.font-menu-top {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.font-menu-top::-webkit-scrollbar { display: none; }
.font-menu-top button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  font-family: inherit;
}
.font-menu-top button b { color: var(--text); }
.font-menu-top button:hover,
.font-menu-top button.active {
  color: #fff;
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}
.font-menu-top button:hover b,
.font-menu-top button.active b { color: #fff; }
.font-results {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
}
.font-category {
  flex: 0 0 160px;
  position: sticky;
  top: 160px;
  max-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
}
.font-category h4 { font-size: 0.7rem; padding: 5px; text-align: center; }
.style-slider {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 6px;
}
.style-scroll {
  flex: 0 0 auto;
  width: 100%;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--surface-subtle);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}
.style-scroll:disabled { opacity: 0.35; cursor: default; }
.style-scroll:not(:disabled):hover { background: var(--primary-blue); color: #fff; }
.style-menu-wrap {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 180px;
  max-height: calc(100vh - 280px);
}
.font-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding-right: 14px;
  scrollbar-width: none;
}
.font-menu::-webkit-scrollbar { width: 0; height: 0; display: none; }
.style-scrollbar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  pointer-events: auto;
}
.style-scrollbar-thumb {
  position: absolute;
  left: 1px;
  right: 1px;
  top: 0;
  min-height: 28px;
  background: var(--primary-blue);
  border-radius: 8px;
}
.font-menu button {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: inherit;
}
.font-menu button b {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.font-menu button.active,
.font-menu button:hover {
  border-color: var(--primary-blue);
  background: var(--surface-subtle);
}
.font-menu button.active b,
.font-menu button:hover b { color: var(--primary-blue); }
.fontslist-sec { flex: 1; min-width: 0; }
.fontslist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  padding: 0 0 24px;
}
.fontslist p:nth-child(6n+1) { border-left: 3px solid var(--primary-blue); }
.fontslist p:nth-child(6n+2) { border-left: 3px solid var(--primary-purple); }
.fontslist p:nth-child(6n+3) { border-left: 3px solid var(--primary-pink); }
.fontslist p:nth-child(6n+4) { border-left: 3px solid var(--primary-cyan); }
.fontslist p:nth-child(6n+5) { border-left: 3px solid var(--primary-green); }
.fontslist p:nth-child(6n+6) { border-left: 3px solid var(--primary-orange); }
.fontslist p,
.names-list a,
.item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.fontslist p:hover,
.names-list a:hover,
.item:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.fontslist p:hover b,
.names-list a:hover b,
.item:hover b,
.fontslist p:hover .font-label,
.fontslist p:hover .copy-btn,
.fontslist p:hover .deco-btn,
.item:hover span i,
.item:hover span button {
  color: #fff;
}
.fontslist p b,
.names-list a b {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  padding: 6px 0 20px;
  word-break: break-all;
  font-family: var(--font-sans);
}
.fontslist p span.font-label {
  position: absolute;
  bottom: 6px;
  left: 13px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fontslist p span.char-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 10px;
  line-height: 1;
}
.fontslist p .card-actions {
  position: absolute;
  bottom: 2px;
  right: 5px;
  display: flex;
  gap: 4px;
}
.fontslist p .copy-btn,
.fontslist p .deco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 3px 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.fontslist p .deco-btn {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fontslist p .copy-btn svg { display: block; }
.fontslist p .copy-btn:hover,
.fontslist p .deco-btn:hover {
  background: var(--surface-subtle);
  border-color: var(--text-muted);
  color: var(--text);
}
.styles-list .deco-btn { display: none; }
.copy-toast {
  position: absolute;
  inset: 0;
  background: var(--surface);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  font-weight: 700;
  color: var(--primary-blue);
}
.copy-toast.show { opacity: 1; }
.names-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 12px 0 28px;
}
.names-list a {
  text-decoration: none;
  text-align: center;
  min-width: 180px;
}
.names-list a b { padding: 0; }
.names-list a i { color: var(--text-muted); font-style: normal; font-size: 0.85rem; }
h3 { margin: 24px 0 8px; font-size: var(--text-xl); }
.nlv-frontend { margin: 24px 0; }
.nlv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 0;
}
.nlv-title { font-weight: 700; }
.nlv-title small { color: var(--text-secondary); font-weight: 500; }
.nlv-add-front,
.nlv-pager-btn,
.nlv-add-submit,
.nlv-add-cancel {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}
.nlv-add-front:hover,
.nlv-pager-btn:hover { border-color: var(--primary-blue); color: var(--primary-blue); }
.nlv-add-form {
  display: none;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
}
.nlv-add-form.open { display: block; }
.nlv-add-input {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  margin-bottom: 8px;
}
.nlv-add-actions { display: flex; gap: 8px; align-items: center; }
.nlv-add-submit { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }
.nlv-add-msg { margin-top: 8px; font-size: 14px; }
.items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.item { padding: 15px 15px 8px; min-width: 180px; text-align: center; }
.item > span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  gap: 5px;
}
.item > span i { color: var(--text-muted); font-size: 0.7rem; font-style: normal; }
.item > span button {
  padding: 2px 8px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  min-width: 32px;
  border-radius: 7px;
  background: transparent;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.item > span button svg { display: block; }
.item > span button em { font-style: normal; font-weight: 700; }
.item .vote-up { color: #16a34a; }
.item .vote-down { color: #dc2626; }
.item:hover .vote-up,
.item:hover .vote-down { color: inherit; }
.item:hover .vote-up { color: #bbf7d0; }
.item:hover .vote-down { color: #fecaca; }
.nlv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding: 10px;
}
.nlv-pager-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.site-info {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 48px 0;
  color: var(--text);
  line-height: 1.8;
}
.site-info h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-blue);
}
.site-info p { margin-bottom: 16px; color: var(--text-secondary); }
.site-info ul { list-style: none; margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.site-info ul li {
  padding: 12px 16px 12px 32px;
  background: var(--surface-subtle);
  border-left: 3px solid var(--primary-blue);
  border-radius: var(--radius-md);
  position: relative;
}
.site-info ul li::before {
  content: ">";
  position: absolute;
  left: 12px;
  color: var(--primary-blue);
  font-weight: 700;
}
.site-info h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
}
.site-info hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.site-info blockquote {
  border-left: 4px solid var(--primary-blue);
  background: var(--surface-subtle);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  color: var(--text-secondary);
}
.site-info code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--surface-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9em;
  color: var(--text);
}
.site-info ol {
  margin: 16px 0 20px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
}
.site-info ol:not(.seo-steps):not(.nick-list) li {
  padding: 4px 0;
}
.site-info ol.nick-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin: 16px 0 28px;
}
.site-info ol.nick-list li {
  padding: 10px 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
}
.site-info ol.nick-list li .nick-num {
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  min-width: 24px;
}
.site-info ol.nick-list li code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}

.head-checks {
  margin-top: 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary-green);
}
.pro-tip {
  background: var(--surface-subtle);
  border-left: 4px solid var(--primary-purple);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 8px 0 28px;
  color: var(--text-secondary);
}
.pro-tip b { color: var(--text); }
.seo-steps,
.site-info ol.seo-steps {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 16px 0 28px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  counter-reset: step;
}
.seo-steps li,
.site-info ol.seo-steps li {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 18px 20px !important;
  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  grid-template-rows: auto auto !important;
  column-gap: 16px !important;
  row-gap: 4px !important;
  align-items: start !important;
  list-style: none !important;
  box-sizing: border-box !important;
}
.seo-steps li::before,
.site-info ol.seo-steps li::before {
  counter-increment: step;
  content: counter(step);
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: var(--primary-purple) !important;
  color: #fff !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.35) !important;
  line-height: 1 !important;
  margin-top: 2px !important;
}
.seo-steps h3,
.seo-steps li h3,
.site-info ol.seo-steps li h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  font-size: var(--text-lg) !important;
  line-height: 1.35 !important;
  color: var(--text) !important;
}
.seo-steps p,
.seo-steps li p,
.site-info ol.seo-steps li p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  color: var(--text-secondary) !important;
  line-height: 1.5 !important;
}
.seo-table-wrap {
  overflow-x: auto;
  margin: 16px 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.seo-table th,
.seo-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.seo-table th {
  background: var(--surface-subtle);
  font-weight: 800;
  white-space: nowrap;
}
.seo-table tr:last-child td { border-bottom: none; }
.top10-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 28px;
}
.top10-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  cursor: pointer;
}
.top10-card:hover { border-color: var(--primary-blue); }
.top10-rank {
  grid-row: 1 / span 3;
  font-weight: 800;
  color: var(--primary-blue);
  font-size: var(--text-lg);
}
.top10-nick { font-size: var(--text-xl); }
.top10-card i { color: var(--text-muted); font-style: normal; font-size: var(--text-sm); }
.top10-card p { margin: 0; }
.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 28px;
}
.site-info .guide-list li {
  padding: 0;
  background: none;
  border: none;
}
.site-info .guide-list li::before { content: none; }
.guide-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
}
.guide-list a:hover { border-color: var(--primary-blue); }
.guide-meta,
.guide-list i {
  color: var(--text-muted);
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 500;
}
.guide-by {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 8px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4px 16px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] summary { color: var(--primary-purple); }
.faq-list details p { margin: 0 0 14px; }
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 36px 20px 28px;
  text-align: left;
  margin-top: 40px;
}
.site-footer p { margin-bottom: 10px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-brand { color: #fff; font-weight: 800; font-size: var(--text-lg); margin: 0; }
.foot-head { color: #fff; font-weight: 800; margin: 0 0 4px; }
.foot-col a {
  color: #d1d5db;
  text-decoration: none;
  font-size: var(--text-sm);
}
.foot-col a:hover { color: #fff; }
.foot-keys a { color: #c4b5fd; }
.foot-legal-row {
  text-align: center;
  font-size: var(--text-sm);
}
.foot-legal-row a { color: #d1d5db; }
.site-footer > .cnt:last-of-type { text-align: center; }
.foot-note {
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: var(--text-xs);
  color: #9ca3af;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}
.nav-links { display: flex; justify-content: center; gap: 16px; margin: 20px 0; }
.nav-links a { color: var(--primary-blue); font-weight: 700; }
#loadMoreContainer,
#nfDecoMoreWrap { width: 100%; text-align: center; margin: 16px 0 32px; }
#nfDecoLoadMore,
#nfLoadMore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  padding: 12px 32px;
  font-size: var(--text-base);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#nfLoadMore:hover { background: #3b5bdb; }
.mood-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  cursor: pointer;
}
.mood-container {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 700px;
  width: 100%;
  height: 80vh;
  z-index: 10000;
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  border-left: 1px solid var(--primary-blue);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.mood-container[hidden],
.mood-overlay[hidden] { display: none !important; }
.mood-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: inherit;
}
.mood-close:hover { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }
.mood-styles { flex: 1; overflow-y: auto; max-height: 100%; }
.mood-styles > h3 {
  margin: 0 0 16px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mood-menu-wrapper {
  width: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 45px;
}
.mood-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mood-categories button {
  padding: 9px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: inherit;
}
.mood-categories button b { color: var(--text); }
.mood-categories button.active,
.mood-categories button:hover {
  color: #fff;
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}
.mood-categories button.active b,
.mood-categories button:hover b { color: #fff; }
.styles-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (max-width: 768px) {
  .cnt { padding: 0 8px; }
  .head-info h1 { font-size: var(--text-3xl); }
  .font-results { gap: 8px; }
  .font-category { flex: 0 0 78px; }
  .fontslist { grid-template-columns: 1fr; }
  .font-menu button { padding: 8px; }
  .mood-container { left: 0; transform: none; max-width: 100%; border-radius: 12px 12px 0 0; }
  .mood-menu-wrapper { width: 75px; }
}

/* Custom Logo Support */
.brand-link a.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-link img.custom-logo,
.brand-link img.brand-mark-img,
.brand-link .brand-mark {
  width: 38px;
  height: 38px;
  max-height: 40px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}
.brand-link .brand-name,
.brand-link a.custom-logo-link span {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* WordPress Blog Cards Grid & Single Post Styles */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}
.blog-card-thumb {
  display: block;
  overflow: hidden;
  max-height: 200px;
}
.blog-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}
.blog-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-content h3,
.blog-card-content h4 {
  margin: 8px 0 8px;
  font-size: var(--text-lg);
  line-height: 1.35;
}
.blog-card-content h3 a,
.blog-card-content h4 a {
  color: var(--text);
  text-decoration: none;
}
.blog-card-content h3 a:hover,
.blog-card-content h4 a:hover {
  color: var(--primary-blue);
}
.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.blog-read-more {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
}
.blog-read-more:hover {
  text-decoration: underline;
}
.blog-pagination .nav-links,
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0 16px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--text-sm);
}
.blog-pagination .page-numbers.current {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}
.blog-pagination .page-numbers:hover:not(.current) {
  border-color: var(--primary-blue);
}
.single-article-wrap .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.single-article-wrap .entry-content blockquote {
  border-left: 4px solid var(--primary-purple);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--surface-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

