:root {
  --links-bg: #ffffff;
  --links-ink: #17234d;
  --links-muted: #5f625f;
  --links-card: rgba(255, 255, 255, 0.78);
  --links-border: rgba(23, 35, 77, 0.1);
  --links-shadow: 0 20px 55px rgba(23, 35, 77, 0.12);
  --links-yellow: #f5c518;
  --links-coral: #e8532f;
  --links-teal: #4f9484;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--links-ink);
  background: var(--links-bg);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.links-shell { width: min(100% - 32px, 620px); margin: 0 auto; padding: 24px 0 38px; }
.links-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin-bottom: 28px; }
.links-home { display: inline-flex; align-items: center; gap: 8px; color: var(--links-ink); font-size: 13px; font-weight: 700; text-decoration: none; opacity: 0.78; transition: opacity 180ms ease, transform 180ms ease; }
.links-home:hover, .links-home:focus-visible { opacity: 1; transform: translateX(-2px); }
.links-home svg { width: 16px; height: 16px; }
.links-profile { text-align: center; }
.links-avatar { display: grid; place-items: center; width: 108px; height: 108px; margin: 0 auto 18px; border: 1px solid rgba(23, 35, 77, 0.08); border-radius: 32px; background: #ffffff; box-shadow: 0 10px 28px rgba(23, 35, 77, 0.08); transform: rotate(-3deg); }
.links-avatar img { width: 76px; height: 76px; object-fit: contain; transform: rotate(3deg); }
.links-profile h1 { margin: 0; color: var(--links-ink); font-family: "Archivo", "Noto Sans TC", sans-serif; font-size: clamp(25px, 7vw, 34px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.2; }
.links-handle { margin: 9px 0 0; color: var(--links-coral); font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.links-bio { max-width: 430px; margin: 15px auto 0; color: var(--links-muted); font-size: 16px; line-height: 1.8; }
.links-list { display: grid; gap: 13px; margin: 34px 0 0; }
.links-item { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 13px 18px 13px 14px; overflow: hidden; border: 1px solid var(--links-border); border-radius: 18px; background: var(--links-card); box-shadow: 0 5px 18px rgba(23, 35, 77, 0.05); text-decoration: none; backdrop-filter: blur(12px); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.links-item::before { position: absolute; inset: 0 auto 0 0; width: 4px; content: ""; background: var(--item-accent, var(--links-yellow)); }
.links-item:hover, .links-item:focus-visible { border-color: rgba(23, 35, 77, 0.22); box-shadow: var(--links-shadow); transform: translateY(-3px); }
.links-icon { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--links-ink); background: color-mix(in srgb, var(--item-accent, var(--links-yellow)) 24%, white); font-size: 21px; }
.links-icon svg { display: block; width: 30px; height: 30px; overflow: visible; }
.links-icon-yfc { background: #ffffff; }
.links-icon-yfc img { width: 30px; height: 30px; object-fit: contain; }
.links-icon-line svg { width: 36px; height: 30px; }
.links-icon-youtube svg { width: 32px; height: 28px; }
.links-icon-instagram svg { width: 30px; height: 30px; }
.links-icon-heart { font-size: 27px; }
.links-copy { min-width: 0; flex: 1; }
.links-title { display: block; color: var(--links-ink); font-size: 16px; font-weight: 800; line-height: 1.45; }
.links-description { display: block; margin-top: 3px; color: var(--links-muted); font-size: 13px; line-height: 1.5; }
.links-arrow { flex: 0 0 auto; color: var(--links-ink); font-size: 22px; line-height: 1; opacity: 0.42; transition: opacity 180ms ease, transform 180ms ease; }
.links-item:hover .links-arrow, .links-item:focus-visible .links-arrow { opacity: 1; transform: translateX(3px); }
.links-footer { margin: 34px 0 0; color: var(--links-muted); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-align: center; }
.links-footer a { text-decoration: none; }
.links-footer a:hover { color: var(--links-coral); }
@media (min-width: 700px) { .links-shell { padding-top: 34px; } .links-topbar { margin-bottom: 40px; } .links-list { gap: 15px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; } }
