:root {
	color-scheme: light;
	--corner-page-color: #e8e1db;
	--corner-text-color: #292521;
	--corner-muted-color: #746d66;
	--corner-accent-color: #9d7d74;
	--corner-overlay-color: #e8e1db;
	--corner-overlay-opacity: 0.48;
	--corner-card-opacity: 0.55;
	--corner-card-radius: 18px;
	--corner-desktop-position: 50% 50%;
	--corner-mobile-position: var(--corner-desktop-position);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	min-width: 320px;
	background: var(--corner-page-color);
}

body {
	min-width: 320px;
	margin: 0;
	background: var(--corner-page-color);
	color: var(--corner-text-color);
}

img {
	max-width: 100%;
}

a {
	color: inherit;
}

a:focus-visible {
	outline: 3px solid var(--corner-accent-color);
	outline-offset: 4px;
}

.corner-site-shell {
	min-height: 100vh;
}

.corner-home {
	position: relative;
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	align-items: center;
	justify-content: center;
	overflow: clip;
	padding: 38px 0 28px;
	background: var(--corner-page-color);
	color: var(--corner-text-color);
	isolation: isolate;
}

.corner-background,
.corner-home__veil {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.corner-background {
	z-index: -2;
	display: block;
	overflow: hidden;
}

.corner-background__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--corner-desktop-position);
}

.corner-home__veil {
	z-index: -1;
	background-color: var(--corner-overlay-color);
	opacity: var(--corner-overlay-opacity);
	pointer-events: none;
}

.corner-home__content {
	width: min(480px, calc(100% - 48px));
	margin: auto;
}

.corner-profile__masthead {
	display: flex;
	min-height: 28px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 26px;
}

.corner-profile__brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--corner-muted-color);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
}

.corner-profile__brand-dot {
	width: 5px;
	height: 5px;
	flex: 0 0 5px;
	border-radius: 50%;
	background: var(--corner-accent-color);
}

.corner-profile__badge {
	display: inline-flex;
	min-width: 34px;
	min-height: 26px;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	border: 1px solid rgb(41 37 33 / 16%);
	border-radius: 999px;
	background: rgb(255 255 255 / 28%);
	color: var(--corner-muted-color);
	font-size: 11px;
	line-height: 1;
}

.corner-profile__identity {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 20px;
}

.corner-profile__avatar {
	position: relative;
	width: 72px;
	height: 72px;
	flex: 0 0 72px;
	overflow: hidden;
	border: 3px solid rgb(255 255 255 / 76%);
	border-radius: 50%;
	background: color-mix(in srgb, var(--corner-accent-color) 22%, white);
	box-shadow: 0 2px 12px rgb(41 37 33 / 10%);
}

.corner-profile__avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.corner-profile__avatar-initial {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: var(--corner-accent-color);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 32px;
}

.corner-profile__name-block {
	min-width: 0;
}

.corner-profile__greeting {
	margin: 0 0 2px;
	color: var(--corner-muted-color);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.5;
}

.corner-profile__name {
	margin: 0;
	font-family: Georgia, "Times New Roman", "Noto Serif CJK SC", serif;
	font-size: clamp(40px, 10vw, 54px);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.98;
	overflow-wrap: anywhere;
}

.corner-profile__name > span {
	color: var(--corner-accent-color);
}

.corner-profile__introduction {
	margin: 27px 0 25px;
}

.corner-profile__introduction h2 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.corner-profile__introduction p {
	margin: 0;
	color: var(--corner-muted-color);
	font-size: 13px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.corner-links__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.corner-link {
	display: flex;
	min-width: 0;
	min-height: 76px;
	align-items: center;
	gap: 14px;
	padding: 13px 16px;
	border: 1px solid rgb(255 255 255 / 54%);
	border-radius: var(--corner-card-radius);
	background: rgb(255 255 255 / var(--corner-card-opacity));
	box-shadow: 0 5px 18px rgb(41 37 33 / 5%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.corner-link:hover {
	transform: translateY(-2px);
	background: rgb(255 255 255 / min(0.92, calc(var(--corner-card-opacity) + 0.12)));
	box-shadow: 0 8px 22px rgb(41 37 33 / 9%);
}

.corner-link:active {
	transform: translateY(0);
}

.corner-link__icon {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	place-items: center;
	border-radius: 13px;
	background: color-mix(in srgb, var(--corner-accent-color) 11%, white);
	color: var(--corner-accent-color);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-style: italic;
	font-weight: 600;
	line-height: 1;
}

.corner-link__icon > span {
	max-width: 34px;
	overflow: hidden;
	font-family: inherit;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.corner-link__custom-icon {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.corner-link__copy {
	display: grid;
	min-width: 0;
	flex: 1 1 auto;
	gap: 3px;
}

.corner-link__label,
.corner-link__subtitle {
	display: block;
	min-width: 0;
	overflow-wrap: anywhere;
}

.corner-link__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.corner-link__subtitle {
	color: var(--corner-muted-color);
	font-size: 12px;
	line-height: 1.45;
}

.corner-link__arrow {
	width: 24px;
	flex: 0 0 24px;
	color: var(--corner-muted-color);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1;
	text-align: right;
}

.corner-home__footer {
	margin-top: 21px;
}

.corner-home__signature {
	margin: 0 0 16px;
	color: var(--corner-accent-color);
	font-family: Georgia, "Times New Roman", "Noto Serif CJK SC", serif;
	font-size: 16px;
	font-style: italic;
	line-height: 1.6;
	white-space: normal;
}

.corner-home__footer-rule {
	height: 1px;
	background: rgb(41 37 33 / 14%);
}

.corner-home__copyright {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-top: 11px;
	color: var(--corner-muted-color);
	font-size: 9px;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

.corner-home__copyright p {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

.corner-home__copyright span {
	flex: 0 0 auto;
	text-align: right;
}

.corner-status {
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px 24px;
	background: var(--corner-page-color);
	color: var(--corner-text-color);
	text-align: center;
}

.corner-status__mark {
	margin-bottom: 10px;
	color: var(--corner-accent-color);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 54px;
	line-height: 0.8;
}

.corner-status h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", "Noto Serif CJK SC", serif;
	font-size: clamp(26px, 7vw, 36px);
	font-weight: 400;
	line-height: 1.4;
}

.corner-status p {
	margin: 9px 0 0;
	color: var(--corner-muted-color);
	font-size: 14px;
	line-height: 1.7;
}

.corner-status a {
	min-height: 44px;
	margin-top: 18px;
	padding: 12px 18px;
	border-radius: 999px;
	background: rgb(255 255 255 / 58%);
	text-decoration: none;
}

.corner-content-page {
	min-height: 100vh;
	padding: 48px 24px;
	background: var(--corner-page-color);
}

.corner-content-page__inner {
	width: min(720px, 100%);
	margin: 0 auto;
}

.corner-content-page__article h1 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
}

.corner-content-page__body {
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.corner-home {
		align-items: flex-start;
		padding: max(28px, env(safe-area-inset-top)) 0 max(22px, env(safe-area-inset-bottom));
	}

	.corner-background__image {
		object-position: var(--corner-mobile-position);
	}

	.corner-home__content {
		width: min(480px, calc(100% - 40px));
		margin: 0 auto;
	}

	.corner-profile__masthead {
		margin-bottom: 22px;
	}

	.corner-profile__identity {
		gap: 15px;
	}

	.corner-profile__avatar {
		width: 64px;
		height: 64px;
		flex-basis: 64px;
	}

	.corner-profile__name {
		font-size: clamp(36px, 11vw, 52px);
		line-height: 1.02;
	}

	.corner-profile__introduction {
		margin: 24px 0 21px;
	}

	.corner-link {
		gap: 12px;
		padding-right: 13px;
		padding-left: 13px;
	}
}

@media (max-width: 359px) {
	.corner-home__content {
		width: calc(100% - 40px);
	}

	.corner-profile__identity {
		gap: 12px;
	}

	.corner-profile__avatar {
		width: 58px;
		height: 58px;
		flex-basis: 58px;
	}

	.corner-profile__name {
		font-size: 36px;
	}

	.corner-link__arrow {
		width: 19px;
		flex-basis: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
