.hsh-collections {
	margin: 8px auto 72px;
	color: #3d3a36;
	font-family: 'nanumgothic', 'Nanum Gothic', sans-serif;
}

.hsh-collections__search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 36px;
}

.hsh-collections__search label {
	color: #888;
	font-size: 13px;
}

.hsh-collections .hsh-collections__search input[type="search"] {
	width: 16em;
	max-width: 100%;
	flex: 0 1 16em;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #e4dfd8;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 14px;
}

.hsh-collections .hsh-collections__search button,
.hsh-collections .hsh-collections__search button:hover,
.hsh-collections .hsh-collections__search button:focus,
.hsh-collections .hsh-collections__search button:active {
	height: 36px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: #2f2c29;
	color: #fff;
	font-size: 13px;
	line-height: 36px;
	white-space: nowrap;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

.hsh-collections__empty {
	margin: 24px 0;
	color: #888;
	font-size: 14px;
}

.hsh-collection {
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
	gap: 36px 42px;
	align-items: start;
	margin: 0 0 64px;
	padding-bottom: 48px;
	border-bottom: 1px solid #efeae4;
}

.hsh-collection__identity {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;
}

.hsh-collections .hsh-collection__photo,
.hsh-collection__initials {
	width: 84px;
	height: 84px;
	flex: 0 0 auto;
	border-radius: 50%;
}

.hsh-collections .hsh-collection__photo {
	object-fit: cover;
}

.hsh-collection__initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f0ea;
	color: #8d8378;
	font-size: 22px;
	letter-spacing: 0.04em;
}

.hsh-collection__name {
	margin: 0;
	color: #2c2926;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.3;
}

.hsh-collection__count {
	margin: 4px 0 0;
	color: #9a938a;
	font-size: 12px;
	letter-spacing: 0.08em;
}

.hsh-collection__memo,
.hsh-collection__intro {
	margin: 0 0 16px;
	color: #5c564f;
	font-size: 14px;
	line-height: 1.75;
	white-space: pre-line;
}

.hsh-collection__memo {
	padding: 16px 18px;
	border-radius: 16px;
	background: #f7f4ef;
}

.hsh-collection__memo span,
.hsh-collection__intro span {
	display: block;
	margin-bottom: 8px;
	color: #a3988c;
	font-size: 11px;
	letter-spacing: 0.12em;
}

.hsh-collection__intro p {
	margin: 0;
}

.hsh-collection__instagram {
	color: #b56a62;
	font-size: 14px;
	text-decoration: none;
}

.hsh-collection__scroller {
	min-width: 0;
	overflow-x: auto;
	padding-bottom: 8px;
}

.hsh-collection__works {
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0 2px 8px;
	list-style: none;
}

.hsh-collection__work {
	flex: 0 0 auto;
	width: min(320px, 72vw);
}

.hsh-collections button.hsh-collection__open,
.hsh-collections button.hsh-collection__open:hover,
.hsh-collections button.hsh-collection__open:focus,
.hsh-collections button.hsh-collection__open:active {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	color: #3d3a36;
	font: inherit;
	font-size: 13px;
	line-height: 1.45;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
}

.hsh-collection__frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 420px;
	overflow: hidden;
	border-radius: 18px;
	background: #f6f3ee;
}

.hsh-collections .hsh-collection__frame img,
.hsh-collection-modal__photo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}

.hsh-collection__mark,
.hsh-collection-modal__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='180'%3E%3Ctext x='18' y='104' transform='rotate(-28 140 90)' fill='white' fill-opacity='0.28' stroke='%23000' stroke-opacity='0.1' stroke-width='0.45' font-size='12' font-family='sans-serif' letter-spacing='1.2'%3EHUR%20SEUNG%20HEE%3C/text%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 280px 180px;
}

.hsh-collections .hsh-collection__title,
.hsh-collections .hsh-collection__meta {
	display: block;
	white-space: normal;
	overflow-wrap: anywhere;
}

.hsh-collections .hsh-collection__title {
	margin-top: 10px;
	color: #2f2c29;
	font-size: 13px;
	line-height: 1.45;
	text-transform: none;
}

.hsh-collection__meta {
	margin-top: 4px;
	color: #8d8680;
	font-size: 13px;
}

.hsh-collections__pages {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.hsh-collections__pages a,
.hsh-collections__pages span {
	display: inline-block;
	min-width: 32px;
	padding: 6px 10px;
	border-radius: 999px;
	color: #666;
	font-size: 13px;
	text-align: center;
	text-decoration: none;
}

.hsh-collections__pages .current {
	background: #2f2c29;
	color: #fff;
}

.hsh-collection-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(40, 36, 32, 0.46);
}

.hsh-collection-modal[hidden] {
	display: none;
}

.hsh-collection-modal__dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	grid-template-rows: minmax(0, 1fr);
	width: min(1080px, 100%);
	height: min(860px, calc(100vh - 48px));
	max-height: min(860px, calc(100vh - 48px));
	overflow: hidden;
	border-radius: 24px;
	background: #fbf9f6;
}

.hsh-popup button.hsh-collection-modal__close,
.hsh-popup button.hsh-collection-modal__close:hover,
.hsh-popup button.hsh-collection-modal__close:focus,
.hsh-popup button.hsh-collection-modal__close:active {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #444;
	font-size: 22px;
	line-height: 36px;
	text-transform: none;
	white-space: nowrap;
	box-shadow: none;
	cursor: pointer;
}

.hsh-collection-modal__body {
	display: contents;
}

.hsh-collection-modal__photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	max-height: 100%;
	padding: 28px;
	background: #f3f0eb;
	overflow: hidden;
}

.hsh-collection-modal__info {
	min-width: 0;
	min-height: 0;
	max-height: 100%;
	overflow: auto;
	padding: 56px 32px 28px;
}

.hsh-collection-modal__title {
	margin: 0 0 6px;
	color: #945542;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.35;
}

.hsh-collection-modal__year {
	margin: 0 0 18px;
	color: #8d8680;
	font-size: 14px;
}

.hsh-detail {
	margin: 0 0 18px;
	padding-top: 16px;
	border-top: 1px solid #ece7e1;
}

.hsh-detail__label {
	margin: 0 0 4px;
	color: #a3988c;
	font-size: 11px;
	letter-spacing: 0.12em;
}

.hsh-detail__value {
	margin: 0 0 8px;
	color: #333;
	font-size: 15px;
	line-height: 1.6;
}

.hsh-detail__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 0 0 8px;
}

.hsh-detail__links a,
.hsh-detail__value a {
	color: #b56a62;
	font-size: 13px;
	text-decoration: none;
}

.hsh-detail__value a.hsh-detail__works {
	color: #ef7171;
	font-size: 15px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hsh-detail__note {
	margin: 0;
	color: #444;
	font-size: 14px;
	line-height: 1.75;
	white-space: pre-line;
}

@media (max-width: 860px) {
	.hsh-collection {
		grid-template-columns: 1fr;
	}

	.hsh-collection-modal__dialog {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 42vh) minmax(0, 1fr);
	}

	.hsh-collection__frame {
		height: 320px;
	}

	.hsh-collection-modal {
		padding: 12px;
	}

	.hsh-collection-modal__dialog {
		height: calc(100vh - 24px);
		max-height: calc(100vh - 24px);
		overflow: hidden;
	}
}
