:root {
  --primary: #86A697;
  --primary-dark: #6B8A7C;
  --primary-light: #A8C4B7;
  --primary-pale: #E8F0EC;
  --primary-ghost: #F3F8F5;
  --primary-dim: rgba(134, 166, 151, 0.10);
  --primary-dim2: rgba(134, 166, 151, 0.18);
  --bg: #FFFFFF;
  --bg-page: #FAFBFA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F7FAF8;
  --bg-elevated: #F4F6F5;
  --border: #E2E6E4;
  --border-hover: #C8CEC9;
  --border-light: #EEF1EF;
  --text-primary: #1A2B23;
  --text-secondary: #646A58;
  --text-muted: #646A58;
  --tag-claude: #7C5CBF;
  --tag-claude-bg: #F0EBF8;
  --tag-gemini: #3B7DD8;
  --tag-gemini-bg: #EBF2FC;
  --tag-antigravity: #D4710E;
  --tag-antigravity-bg: #FDF1E3;
  --tag-figma: #D4710E;
  --tag-figma-bg: #FDF1E3;
  --tag-design: #C24E80;
  --tag-design-bg: #FCEEF4;
  --tag-research: #2A9D6E;
  --tag-research-bg: #E6F7EF;
  --tag-analysis: #C4890A;
  --tag-analysis-bg: #FDF6E6;
  --tag-dashboard: #1789B5;
  --tag-dashboard-bg: #E5F4FA;
  --tag-trend: #3B7DD8;
  --tag-trend-bg: #EBF2FC;
  --tag-tutorial: #2A9D6E;
  --tag-tutorial-bg: #E6F7EF;
  --tag-case: #C24E80;
  --tag-case-bg: #FCEEF4;
  --tag-tool: #D4710E;
  --tag-tool-bg: #FDF1E3;
  --star: #D4A017;
  --star-bg: rgba(212, 160, 23, 0.1);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --font-sans: 'Outfit', 'Noto Sans TC', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(26, 43, 35, 0.04);
  --shadow: 0 2px 8px rgba(26, 43, 35, 0.06);
  --shadow-lg: 0 8px 24px rgba(26, 43, 35, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); background: var(--bg-page); color: var(--text-primary); line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.app { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.header { background: var(--bg); border-bottom: 1px solid var(--border-light); padding: 0 24px; position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; background: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: #fff; }
.logo-text h1 { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.2; }
.logo-text span { font-size: 11px; color: var(--text-muted); font-weight: 400; letter-spacing: 0.5px; }
.nav { display: flex; gap: 2px; }
.nav-item { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); border: none; background: none; font-family: var(--font-sans); white-space: nowrap; }
.nav-item:hover { color: var(--text-primary); background: var(--bg-elevated); }
.nav-item.active { color: var(--primary-dark); background: var(--primary-pale); }

/* PAGES */
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }
.page-content { padding: 32px 0 64px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* HERO */
.hero { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 40px; margin-bottom: 36px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 320px; height: 100%; background: linear-gradient(135deg, var(--primary-ghost) 0%, transparent 70%); pointer-events: none; }
.hero h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; position: relative; }
.hero h2 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; position: relative; }

/* SEARCH */
.search-bar { position: relative; max-width: 520px; }
.search-bar input { width: 100%; padding: 12px 16px 12px 44px; background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); font-size: 14px; font-family: var(--font-sans); outline: none; transition: all var(--transition); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-dim); background: var(--bg); }
.search-bar .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); width: 16px; height: 16px; display: flex; align-items: center; }
.search-bar .search-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* SECTION */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }
.section-link { font-size: 13px; color: var(--primary); text-decoration: none; cursor: pointer; font-weight: 500; transition: color var(--transition); }
.section-link:hover { color: var(--primary-dark); }

/* QUICK ACCESS */
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 40px; }
.quick-card { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px; cursor: pointer; transition: all var(--transition); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.quick-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-card-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.quick-card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-inline { display: inline-flex; align-items: center; }
.icon-inline svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.quick-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.quick-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* SKILL CARDS */
.skill-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip { padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: var(--bg); color: var(--text-secondary); cursor: pointer; transition: all var(--transition); font-family: var(--font-sans); }
.filter-chip:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-chip.active { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-pale); }
.filter-divider { width: 1px; height: 20px; background: var(--border); }
.skill-count { margin-left: auto; font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.show-fav-btn { padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: var(--bg); color: var(--text-secondary); cursor: pointer; transition: all var(--transition); font-family: var(--font-sans); display: flex; align-items: center; gap: 4px; }
.show-fav-btn:hover { border-color: var(--star); color: var(--star); }
.show-fav-btn.active { border-color: var(--star); color: var(--star); background: var(--star-bg); }

.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.skill-card { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px 24px; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.skill-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.skill-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.skill-card h3 { font-size: 16px; font-weight: 600; flex: 1; margin-right: 8px; line-height: 1.4; }
.star-btn { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--text-muted); transition: all var(--transition); padding: 2px; line-height: 1; }
.star-btn:hover { color: var(--star); transform: scale(1.15); }
.star-btn.starred { color: var(--star); }
.skill-card-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.55; }
.skill-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.skill-card-author { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.skill-card-install { margin-bottom: 14px; }
.skill-card-install code { display: block; font-family: var(--font-mono); font-size: 12px; background: var(--bg-elevated); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--text-secondary); overflow-x: auto; white-space: nowrap; }
.skill-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { padding: 2px 9px; border-radius: 4px; font-size: 11px; font-weight: 500; font-family: var(--font-mono); }
.tag-claude { color: var(--tag-claude); background: var(--tag-claude-bg); }
.tag-gemini { color: var(--tag-gemini); background: var(--tag-gemini-bg); }
.tag-antigravity { color: var(--tag-antigravity); background: var(--tag-antigravity-bg); }
.tag-figma { color: var(--tag-figma); background: var(--tag-figma-bg); }
.tag-design { color: var(--tag-design); background: var(--tag-design-bg); }
.tag-research { color: var(--tag-research); background: var(--tag-research-bg); }
.tag-analysis { color: var(--tag-analysis); background: var(--tag-analysis-bg); }
.tag-dashboard { color: var(--tag-dashboard); background: var(--tag-dashboard-bg); }
.skill-card-actions { display: flex; gap: 8px; align-items: center; }
.action-btn { padding: 6px 13px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: var(--bg); color: var(--text-secondary); cursor: pointer; transition: all var(--transition); font-family: var(--font-sans); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.action-btn:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-elevated); }
.action-btn.primary { border-color: var(--primary); color: var(--primary-dark); }
.action-btn.primary:hover { background: var(--primary-pale); }
.skill-date { margin-left: auto; font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }

/* Skill Group Sections */
.skill-group { margin-bottom: 32px; }
.skill-group-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.skill-group-header h3 { font-size: 14px; font-weight: 600; color: var(--text-primary); letter-spacing: 0.3px; }
.skill-group-header .group-count { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); background: var(--bg-elevated); padding: 2px 8px; border-radius: 10px; }

/* ARTICLE CARDS */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.article-card { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); box-shadow: var(--shadow-sm); cursor: pointer; }
.article-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-1px); }
.article-card-accent { height: 3px; background: var(--primary); }
.article-card-body { padding: 20px 22px; }
.article-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.article-type-badge { padding: 2px 8px; border-radius: 3px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.article-type-external { color: var(--tag-trend); background: var(--tag-trend-bg); }
.article-type-internal { color: var(--primary-dark); background: var(--primary-pale); }
.article-card-date { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.article-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; line-height: 1.45; }
.article-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.tag-trend { color: var(--tag-trend); background: var(--tag-trend-bg); }
.tag-tutorial { color: var(--tag-tutorial); background: var(--tag-tutorial-bg); }
.tag-case { color: var(--tag-case); background: var(--tag-case-bg); }
.tag-tool { color: var(--tag-tool); background: var(--tag-tool-bg); }
.article-card-footer { display: flex; align-items: center; gap: 8px; }
.article-source { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); flex: 1; }

/* ARTICLE READER */
.article-reader { display: none; }
.article-reader.open { display: block; animation: fadeIn 0.3s ease; }
.article-reader-header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.back-btn { padding: 7px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--bg); color: var(--text-secondary); cursor: pointer; transition: all var(--transition); font-family: var(--font-sans); }
.back-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.article-content { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 48px; max-width: 760px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.article-content h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px; line-height: 1.35; }
.article-content .article-content-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); display: flex; gap: 16px; }
.article-content h2 { font-size: 20px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; color: var(--primary-dark); }
.article-content h3 { font-size: 16px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.article-content p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 20px; margin-bottom: 16px; }
.article-content li { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 4px; }
.article-content pre { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; margin: 16px 0; line-height: 1.6; color: var(--text-primary); }
.article-content code { font-family: var(--font-mono); font-size: 13px; background: var(--bg-elevated); padding: 2px 6px; border-radius: 3px; }
.article-content strong { color: var(--text-primary); font-weight: 600; }
.article-content blockquote { border-left: 3px solid var(--primary); padding: 12px 20px; margin: 16px 0; background: var(--primary-ghost); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article-content blockquote p { color: var(--primary-dark); margin-bottom: 0; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(26, 43, 35, 0.3); backdrop-filter: blur(6px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 32px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 720px; max-height: 80vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: modalIn 0.25s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.97) translateY(6px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--border-light); }
.modal-header h2 { font-size: 15px; font-weight: 600; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; padding: 4px; transition: color var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 24px; overflow-y: auto; font-size: 14px; line-height: 1.8; }
.modal-body pre { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; margin: 10px 0; color: var(--text-primary); }
.modal-body code { font-family: var(--font-mono); font-size: 13px; background: var(--bg-elevated); padding: 2px 6px; border-radius: 3px; }
.modal-body h1, .modal-body h2, .modal-body h3 { margin-top: 18px; margin-bottom: 8px; }
.modal-body h1 { font-size: 19px; }
.modal-body h2 { font-size: 16px; color: var(--primary-dark); }
.modal-body h3 { font-size: 14px; }
.modal-body p { margin-bottom: 10px; color: var(--text-secondary); }
.modal-body ul, .modal-body ol { padding-left: 20px; margin-bottom: 10px; color: var(--text-secondary); }
.modal-body li { margin-bottom: 3px; }

/* EMPTY / PLACEHOLDER */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .icon { margin-bottom: 10px; display: flex; justify-content: center; }
.empty-state .icon svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.empty-state p { font-size: 14px; }
.placeholder-page { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 80px 40px; text-align: center; }
.placeholder-page .icon { margin-bottom: 16px; display: flex; justify-content: center; }
.placeholder-page .icon svg { width: 44px; height: 44px; stroke: var(--primary); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.placeholder-page h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.placeholder-page p { font-size: 14px; color: var(--text-muted); }

/* AI HOST PAGE */
.host-tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.host-tab { padding: 8px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--bg); color: var(--text-secondary); cursor: pointer; transition: all var(--transition); font-family: var(--font-sans); }
.host-tab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.host-tab.active { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-pale); }
.host-panel { display: none; }
.host-panel.active { display: block; animation: fadeIn 0.25s ease; }

/* Topic Cards Grid */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.topic-card { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; cursor: pointer; transition: all var(--transition); box-shadow: var(--shadow-sm); position: relative; }
.topic-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-1px); }
.topic-card.active { border-color: var(--primary); box-shadow: 0 2px 12px rgba(134, 166, 151, 0.15); }
.topic-card-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.topic-card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.topic-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.topic-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.topic-card .topic-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(0deg); transition: transform 0.25s ease; }
.topic-card.active .topic-arrow { transform: translateY(-50%) rotate(90deg); }
.topic-card .topic-arrow svg { width: 14px; height: 14px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; }

/* Expand Panel */
.topic-expand { display: none; background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px; margin-top: -6px; margin-bottom: 20px; box-shadow: var(--shadow-sm); animation: fadeIn 0.25s ease; }
.topic-expand.open { display: block; }

/* Reusable inner styles */
.host-section { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 12px; box-shadow: none; }
.host-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.host-section p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.host-section .note { font-size: 12px; color: var(--text-muted); background: var(--bg-elevated); border-radius: var(--radius-sm); padding: 8px 12px; margin-top: 8px; display: flex; align-items: flex-start; gap: 6px; }
.host-section .note svg { width: 14px; height: 14px; stroke: var(--tag-analysis); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 1px; }
.host-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.host-tag { padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.host-tag-daily { color: var(--tag-research); background: var(--tag-research-bg); }
.host-tag-complex { color: var(--tag-claude); background: var(--tag-claude-bg); }
.host-tag-simple { color: var(--tag-antigravity); background: var(--tag-antigravity-bg); }
.host-tag-pro { color: var(--tag-case); background: var(--tag-case-bg); }
.host-tag-rec { color: var(--primary-dark); background: var(--primary-pale); }
.host-path { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); background: var(--bg-elevated); border: 1px solid var(--border-light); border-left: 3px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 8px 14px; margin-top: 10px; margin-bottom: 4px; }
.host-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.host-feature-item { font-size: 13px; color: var(--text-secondary); padding-left: 14px; position: relative; line-height: 1.5; }
.host-feature-item::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-light); }
.host-code-block { background: #1A2B23; border: 1px solid #2a3a32; border-radius: var(--radius-sm); padding: 16px 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.65; color: #d4ddd8; overflow-x: auto; margin: 12px 0; white-space: pre; }
.host-code-block .comment { color: #6a7d74; }
.host-code-block .cmd { color: var(--primary-light); }
.host-sub-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin: 24px 0 12px; }

@media (max-width: 768px) {
  .topic-grid { grid-template-columns: 1fr; }
  .host-feature-grid { grid-template-columns: 1fr; }
}

/* AGENT PAGE */
.agent-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.agent-card { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.agent-card-header { padding: 24px 28px 0; }
.agent-card-header h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.agent-card-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.agent-card-body { padding: 0 28px 24px; }

/* Flow diagram */
.agent-flow { display: flex; align-items: center; gap: 0; padding: 16px 0; overflow-x: auto; margin-bottom: 20px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 100px; flex-shrink: 0; }
.flow-node-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); background: var(--bg); }
.flow-node-icon svg { width: 20px; height: 20px; stroke: var(--text-secondary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow-node-icon.trigger { border-color: var(--primary); background: var(--primary-ghost); }
.flow-node-icon.trigger svg { stroke: var(--primary-dark); }
.flow-node-icon.ai { border-color: var(--tag-claude); background: var(--tag-claude-bg); }
.flow-node-icon.ai svg { stroke: var(--tag-claude); }
.flow-node-icon.output { border-color: var(--tag-research); background: var(--tag-research-bg); }
.flow-node-icon.output svg { stroke: var(--tag-research); }
.flow-node-label { font-size: 11px; font-weight: 500; color: var(--text-secondary); text-align: center; max-width: 90px; line-height: 1.3; }
.flow-arrow { display: flex; align-items: center; padding: 0 4px; flex-shrink: 0; margin-bottom: 18px; }
.flow-arrow svg { width: 20px; height: 20px; stroke: var(--border-hover); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Info sections */
.agent-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agent-info-box { padding: 16px; border-radius: var(--radius); border: 1px solid var(--border-light); }
.agent-info-box h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.agent-info-box h4 svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.agent-info-box.benefit h4 { color: var(--tag-research); }
.agent-info-box.benefit { background: rgba(42, 157, 110, 0.04); border-color: rgba(42, 157, 110, 0.15); }
.agent-info-box.tech h4 { color: var(--tag-analysis); }
.agent-info-box.tech { background: rgba(196, 137, 10, 0.04); border-color: rgba(196, 137, 10, 0.15); }
.agent-info-box.trigger-info h4 { color: var(--primary-dark); }
.agent-info-box.trigger-info { background: var(--primary-ghost); border-color: rgba(134, 166, 151, 0.2); }
.agent-info-box p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 12px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-grid, .article-grid { grid-template-columns: 1fr; }
  .agent-info-grid { grid-template-columns: 1fr; }
  .agent-flow { gap: 0; }
  .nav { overflow-x: auto; width: 100%; }
  .hero { padding: 28px; }
  .article-content { padding: 28px; }
}
@media (max-width: 480px) { .quick-grid { grid-template-columns: 1fr; } }
