/* Simple Link Page — 公開ページ（スマホ前提） */
html,
body.slp-body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}
body.slp-body {
	background: #fff;
	-webkit-text-size-adjust: 100%;
}
.slp-root,
.slp-root * {
	box-sizing: border-box;
}
.slp-root {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	color: var(--slp-text);
	font-family: var(--slp-font);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	isolation: isolate;
}
.slp-root img {
	max-width: 100%;
	height: auto;
	border: 0;
}

/* 背景（画面に固定） */
.slp-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: var(--slp-bg-color);
}
.slp-bg-overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--slp-overlay);
}

.slp-wrap {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	padding: 0 18px calc(48px + env(safe-area-inset-bottom));
}

/* カバー画像 */
.slp-cover {
	margin: 0 -18px;
	aspect-ratio: 16 / 8;
	overflow: hidden;
}
.slp-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (min-width: 481px) {
	.slp-cover {
		margin: 0;
		border-radius: 0 0 20px 20px;
	}
}

/* プロフィール */
.slp-profile {
	text-align: center;
	padding-top: 44px;
}
.slp-has-cover .slp-profile {
	padding-top: 0;
}
.slp-has-cover .slp-avatar {
	margin-top: -48px;
}
.slp-avatar {
	display: block;
	width: 96px;
	height: 96px;
	margin: 0 auto;
	object-fit: cover;
	background: #fff;
	border: 3px solid #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	position: relative;
}
.slp-avatar-circle {
	border-radius: 50%;
}
.slp-avatar-square {
	border-radius: 24px;
}
.slp-name {
	margin: 12px 0 2px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: inherit;
}
.slp-bio {
	margin: 6px 0 0;
	font-size: 14px;
	white-space: pre-line;
	opacity: 0.85;
}

/* SNS アイコン */
.slp-sns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 10px;
	margin: 16px 0 0;
}
.slp-sns a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--slp-text);
	border-radius: 50%;
	transition: transform 0.15s, opacity 0.15s;
}
.slp-sns a:hover {
	opacity: 0.75;
}
.slp-sns a:active {
	transform: scale(0.92);
}
.slp-sns svg {
	width: 26px;
	height: 26px;
}

/* ブロック */
.slp-blocks {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 26px;
}

/* リンクボタン */
.slp-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 10px 22px;
	border-radius: var(--slp-radius);
	background: var(--slp-btn);
	color: var(--slp-btn-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	word-break: break-word;
	transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
	-webkit-tap-highlight-color: transparent;
}
.slp-btn.has-thumb {
	padding-left: 66px;
	padding-right: 66px;
}
.slp-thumb {
	position: absolute;
	left: 7px;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: calc(var(--slp-radius) * 0.75);
}
.slp-shape-pill .slp-thumb {
	border-radius: 50%;
}
.slp-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a.slp-btn:hover,
a.slp-card:hover {
	transform: translateY(-2px);
}
a.slp-btn:active,
a.slp-card:active {
	transform: scale(0.98);
}

/* 大きい画像カード */
.slp-card {
	display: block;
	overflow: hidden;
	border-radius: min(var(--slp-radius), 18px);
	background: var(--slp-btn);
	color: var(--slp-btn-text);
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s;
}
.slp-card-img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.slp-card-title {
	display: block;
	padding: 13px 16px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
}

/* ボタンのスタイル */
.slp-style-outline .slp-btn,
.slp-style-outline .slp-card {
	background: transparent;
	border: 2px solid var(--slp-btn);
}
.slp-style-soft .slp-btn,
.slp-style-soft .slp-card {
	background: color-mix(in srgb, var(--slp-btn) 55%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.slp-style-shadow .slp-btn,
.slp-style-shadow .slp-card {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.slp-style-shadow a.slp-btn:hover,
.slp-style-shadow a.slp-card:hover {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}
.slp-style-hard .slp-btn,
.slp-style-hard .slp-card {
	border: 2px solid var(--slp-btn-text);
	box-shadow: 4px 4px 0 var(--slp-btn-text);
}
.slp-style-hard a.slp-btn:hover,
.slp-style-hard a.slp-card:hover {
	transform: translate(-1px, -1px);
	box-shadow: 5px 5px 0 var(--slp-btn-text);
}
.slp-style-hard a.slp-btn:active,
.slp-style-hard a.slp-card:active {
	transform: translate(3px, 3px);
	box-shadow: 1px 1px 0 var(--slp-btn-text);
}
.slp-shape-pill .slp-card {
	border-radius: 22px;
}

/* 見出し・テキスト・画像・区切り線・YouTube */
.slp-heading {
	margin: 14px 0 -2px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: inherit;
}
.slp-text {
	margin: 0;
	font-size: 14px;
	text-align: center;
	white-space: pre-line;
	opacity: 0.9;
}
.slp-image {
	display: block;
	overflow: hidden;
	border-radius: min(var(--slp-radius), 18px);
}
.slp-image img {
	display: block;
	width: 100%;
}
.slp-divider {
	width: 40%;
	margin: 6px auto;
	border: 0;
	border-top: 1px solid currentColor;
	opacity: 0.3;
}
.slp-yt {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: min(var(--slp-radius), 18px);
	background: #000;
}
.slp-yt iframe,
.slp-yt img {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}
.slp-yt-play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 60px;
	height: 42px;
	margin: -21px 0 0 -30px;
	border-radius: 12px;
	background: rgba(255, 0, 0, 0.9);
}
.slp-yt-play::after {
	content: "";
	position: absolute;
	left: 24px;
	top: 12px;
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
}

.slp-is-preview .slp-btn.is-empty,
.slp-is-preview .slp-card.is-empty {
	opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
	.slp-root * {
		transition: none !important;
	}
}
