/* Links Create 共通UIコンポーネント */
:root {
  --lc-bg: #1a1a2e;
  --lc-surface: #16213e;
  --lc-border: #0f3460;
  --lc-hover: #1a4a8a;
  --lc-accent: #e94560;
  --lc-cyan: #4cc9f0;
  --lc-text: #e0e0e0;
  --lc-text-dim: #a0a0b0;
  --lc-white: #ffffff;
}

/* ===== 共通ヘッダー ===== */
.lc-header {
  background: rgba(22, 33, 62, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lc-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", sans-serif;
}

.lc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 48px;
}

.lc-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--lc-white);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.lc-header-brand svg {
  flex-shrink: 0;
}

.lc-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lc-header-nav::-webkit-scrollbar { display: none; }

.lc-header-nav a {
  color: var(--lc-text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.lc-header-nav a:hover {
  color: var(--lc-white);
  background: rgba(76, 201, 240, 0.1);
}

.lc-header-nav a.active {
  color: var(--lc-cyan);
  background: rgba(76, 201, 240, 0.12);
}

.lc-header-sep {
  width: 1px;
  height: 20px;
  background: var(--lc-border);
  margin: 0 4px;
  flex-shrink: 0;
}

/* ===== 共通フッター ===== */
.lc-footer {
  background: var(--lc-surface);
  border-top: 1px solid var(--lc-border);
  padding: 40px 16px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", sans-serif;
  color: var(--lc-text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.lc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lc-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.lc-footer-section h4 {
  color: var(--lc-white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.lc-footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.lc-footer-links a {
  color: var(--lc-text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.lc-footer-links a:hover {
  color: var(--lc-cyan);
}

.lc-footer-bottom {
  border-top: 1px solid var(--lc-border);
  padding-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--lc-text-dim);
}

/* ===== 完了画面CTA ===== */
.lc-cta-panel {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.lc-cta-title {
  color: var(--lc-text-dim);
  font-size: 0.85rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.lc-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.lc-cta-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(76, 201, 240, 0.05);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--lc-text);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.lc-cta-card:hover {
  background: rgba(76, 201, 240, 0.1);
  border-color: var(--lc-cyan);
  transform: translateY(-1px);
}

.lc-cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(76, 201, 240, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.lc-cta-info {
  min-width: 0;
}

.lc-cta-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lc-white);
}

.lc-cta-desc {
  font-size: 0.75rem;
  color: var(--lc-text-dim);
  margin-top: 2px;
}

/* ===== ツール横スクロール ===== */
.lc-tools-scroll {
  margin-top: 16px;
}

.lc-tools-scroll-title {
  color: var(--lc-text-dim);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.lc-tools-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.lc-tools-row::-webkit-scrollbar { height: 4px; }
.lc-tools-row::-webkit-scrollbar-track { background: transparent; }
.lc-tools-row::-webkit-scrollbar-thumb { background: var(--lc-border); border-radius: 2px; }

.lc-tool-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--lc-bg);
  border: 1px solid var(--lc-border);
  border-radius: 20px;
  color: var(--lc-text-dim);
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.lc-tool-chip:hover {
  border-color: var(--lc-cyan);
  color: var(--lc-white);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .lc-header-inner { padding: 0 12px; }
  .lc-header-nav a { font-size: 0.75rem; padding: 5px 8px; }
  .lc-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .lc-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .lc-footer-grid { grid-template-columns: 1fr; }
  .lc-header-brand span { display: none; }
}
