:root {
	--font-family: 'Inter', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
	--accent: #6c5ce7;
	--text: #ffffff;
	--card: rgba(255,255,255,0.08);
	--button: #6c5ce7;
	--button-text: #ffffff;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(0,0,0,0.25);
	--max-width: 720px;
	--gap: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: var(--font-family);
	color: var(--text);
	background: #000;
	line-height: 1.6;
}

#bg {
	position: fixed;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: none;
	z-index: -2;
}

#overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.4);
	z-index: -1;
}

.container {
	min-height: 100dvh;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 40px 20px 60px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
}

.profile { text-align: center; }
.avatar {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--shadow);
	border: 3px solid rgba(255,255,255,0.6);
}
.name-row { display: flex; align-items: center; gap: 10px; justify-content: center; }
h1 { margin: 14px 0 6px; font-size: 28px; letter-spacing: 0.3px; }
.badge {
	background: var(--accent);
	color: #fff;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
	box-shadow: var(--shadow);
}
.bio { margin: 0; opacity: 0.9; }

.links {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap);
}

.link-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	background: var(--card);
	backdrop-filter: saturate(1.2) blur(6px);
	box-shadow: var(--shadow);
	transition: transform .15s ease, opacity .15s ease, box-shadow .2s ease;
}
.link-item:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,0,0,0.3); }

.link-icon {
	width: 56px; height: 56px;
	min-width: 56px; min-height: 56px;
	max-width: 56px; max-height: 56px;
	flex: 0 0 56px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 8px; background: rgba(255,255,255,0.08);
	overflow: hidden;
}
.link-icon-img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display:block; }
.link-label { font-weight: 600; }

/* Variants */
.variant-button { background: var(--button); color: var(--button-text); justify-content: center; }
.variant-card { background: var(--card); }
.variant-icon { padding: 10px; width: 56px; height: 56px; justify-content: center; }

/* Grid layout support */
.layout-grid .links { grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr)); }

.footer { opacity: 0.7; font-size: 12px; margin-top: 8px; }
.tiny { color: rgba(255,255,255,0.8); text-decoration: none; }

/* Text copy item */
.text-copy-item {
	cursor: pointer;
	position: relative;
}
.text-copy-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}
.text-copy-value {
	font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
	font-size: 14px;
	opacity: 0.8;
	word-break: break-all;
}
.text-copy-item::after {
	content: 'コピーしました！';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 200, 83, 0.95);
	color: #fff;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.text-copy-item.copied::after {
	opacity: 1;
}

@media (min-width: 760px) {
	h1 { font-size: 32px; }
	.avatar { width: 128px; height: 128px; }
}


