/* THEME:START — shared/themes.json의 "hub". scripts/apply-themes.mjs가 씀, 여기 직접 고치지 말 것 */
:root {
  --accent: #4f46e5; --accent-2: #4338ca; --glow: #f472b6;
  --radius: 18px; --btn-radius: 999px; --head-weight: 900;
  --header-bg: rgba(255,255,255,.88); --header-top: 0px;
  --hero-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect x='5' y='5' width='10' height='10' rx='3' fill='%234f46e5' fill-opacity='.1'/%3E%3Crect x='19' y='19' width='8' height='8' rx='2.5' fill='%234f46e5' fill-opacity='.08'/%3E%3C/svg%3E");
  --hero-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}
/* THEME:END */
/* toolnook 허브만의 스타일 */
.group { font-size: 1.05rem; margin: 22px 0 10px; color: var(--text-soft); }
.tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.tool a {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 14px 14px 14px 18px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); color: var(--text); text-decoration: none; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.tool a::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--c, var(--accent)); }
.tool a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c, var(--accent)) 45%, var(--border)); box-shadow: 0 10px 24px color-mix(in srgb, var(--c, var(--accent)) 18%, transparent); }
.tool strong { color: var(--c, var(--accent)); font-size: 1.02rem; }
.tool span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
