﻿/* base */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4f6fb;
  --text: #1e293b;
  --sub: #64748b;
  --primary: #4f46e5;
  --primary-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --card: #ffffff;
  --radius: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 20px 24px;
  display: flex;
  flex-direction: column;
}

/* profile */
.profile {
  text-align: center;
  margin-bottom: 28px;
}
.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 28px;
  background: var(--primary-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}
.avatar svg { width: 40px; height: 40px; }
.event-badge {
  display: inline-block;
  background: #e0e7ff;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.hitokoto {
  font-size: 0.88rem;
  color: var(--sub);
}

/* sections */
.section { margin-bottom: 26px; }
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sub);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.section-title svg { width: 16px; height: 16px; color: var(--primary); }

.card-list { display: flex; flex-direction: column; gap: 12px; }

/* card */
.card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.card:active { transform: scale(0.98); }

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; }

.text-box { flex: 1; min-width: 0; }
.text-box h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 2px; }
.text-box p { font-size: 0.78rem; color: var(--sub); }
.email-text { word-break: break-all; }

.arrow { color: #cbd5e1; width: 20px; height: 20px; flex-shrink: 0; }

/* primary card */
.card-primary {
  background: var(--primary-grad);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}
.card-primary .primary-icon { background: rgba(255,255,255,0.2); color: #fff; }
.card-primary .text-box p { color: rgba(255,255,255,0.9); }
.card-primary .arrow { color: rgba(255,255,255,0.85); }

/* muted/placeholder card */
.card-muted { background: #fafbfe; border: 1px dashed #d7dce8; box-shadow: none; }
.card-muted .icon-box { background: #eef2f7; color: #94a3b8; }

/* footer */
.footer {
  margin-top: auto;
  padding-top: 10px;
  text-align: center;
  font-size: 0.74rem;
  color: #94a3b8;
}
