/* 쿠하치 링크 페이지 — 색은 06_automation/render/src/brand.ts 와 같음 */
:root {
  --sky: #2D6CF0;
  --sky-deep: #1F55CC;
  --paper: #FFFDF7;
  --ink: #141619;
  --muted: #5F646C; /* brand.ts 보다 조금 진하게: 작은 글씨 대비 4.5:1 이상 */
  --line: #D9D6CC;
  --yellow: #FFD93B;
  --red: #E23B3B;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 18px max(40px, env(safe-area-inset-bottom));
}

/* 프로필 */
.profile { text-align: center; margin-bottom: 28px; }
.avatar {
  width: 76px; height: 76px; margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 800;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--sky);
}
.profile h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.handle { display: inline-block; margin-top: 2px; font-size: 14px; color: var(--muted); text-decoration: none; }
.bio { margin: 10px 0 0; font-size: 15px; line-height: 1.5; }

/* 광고 안내 */
.notice {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FFF4C2;
  font-size: 13px; line-height: 1.5;
}
.notice b { color: var(--red); margin-right: 4px; }

/* 묶음 */
.group { margin-bottom: 28px; }
.group h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.group h2 span { background: linear-gradient(transparent 55%, var(--yellow) 55%); padding: 0 2px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* 링크 버튼 */
.link {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ink);
  text-decoration: none;
  transition: transform .08s ease, box-shadow .08s ease;
  -webkit-tap-highlight-color: transparent;
}
.link:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
@media (hover: hover) { .link:hover { background: #F4F8FF; } }
.text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.title { font-size: 16px; font-weight: 700; line-height: 1.35; }
.note { font-size: 13px; color: var(--muted); line-height: 1.35; }
.arrow { font-size: 18px; font-weight: 700; color: var(--sky); }
.ad {
  font-style: normal; font-size: 11px; font-weight: 700;
  color: var(--red); border: 1px solid currentColor; border-radius: 4px;
  padding: 0 4px; margin-left: 4px; vertical-align: 2px;
}

.empty { text-align: center; color: var(--muted); padding: 40px 0; }
footer { margin-top: 8px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.5; }
