.stcln-list {
	box-sizing: border-box;
	max-width: 100%;
	margin: 2rem 0;
}

.stcln-list *,
.stcln-list *::before,
.stcln-list *::after {
	box-sizing: inherit;
}

.stcln-list__title {
	margin: 0 0 1.15rem;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid #dbeafe;
	font-size: 1.4rem;
	line-height: 1.4;
	color: #111827;
}

.stcln-list__empty {
	margin: 0;
	padding: 1rem;
	border: 1px solid #d8dee4;
	border-radius: 6px;
	background: #f6f8fa;
	color: #57606a;
}

.stcln-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1rem;
	max-width: 100%;
}

.stcln-tabs__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0.48rem 0.78rem;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #fff;
	color: #1f2937;
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
}

.stcln-tabs__button:hover,
.stcln-tabs__button:focus {
	border-color: #2563eb;
	color: #1d4ed8;
}

.stcln-tabs__button.is-active {
	border-color: #1d4ed8;
	background: #1d4ed8;
	color: #fff;
}

.stcln-tab-panel[hidden] {
	display: none;
}

.stcln-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	max-width: 100%;
}

@media (min-width: 782px) {
	.stcln-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

.stcln-card {
	display: grid;
	grid-template-columns: minmax(78px, 88px) minmax(0, 1fr) minmax(9rem, 9.5rem);
	gap: 0.95rem 0.75rem;
	align-items: start;
	min-width: 0;
	max-width: 100%;
	padding: 1rem 1.1rem;
	border: 1px solid #d8dee4;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
	color: #1f2937;
	overflow-wrap: anywhere;
}

.stcln-card__profile,
.stcln-card__main,
.stcln-card__memo,
.stcln-card__memo-placeholder,
.stcln-card__actions {
	min-width: 0;
}

.stcln-card__profile {
	display: grid;
	grid-column: 1;
	grid-row: 1;
	align-self: start;
	justify-items: center;
	gap: 0.38rem;
	padding-top: 0.08rem;
}

.stcln-card__avatar {
	display: block;
	width: 66px;
	height: 66px;
	background-image: url("../images/silhouette-female.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.stcln-card__main {
	display: grid;
	grid-column: 2;
	grid-row: 1;
	gap: 0.34rem;
	padding-top: 0.22rem;
}

.stcln-card__name {
	margin: 0;
	max-width: 100%;
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: #111827;
	overflow-wrap: anywhere;
}

.stcln-card__goal {
	display: grid;
	gap: 0.72rem;
	align-items: start;
	color: #1f2937;
	font-size: 0.95rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.stcln-card__goal-placeholder {
	min-height: 4.65rem;
	visibility: hidden;
}

.stcln-card__goal-message {
	position: relative;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	margin: 0.1rem 0 0.18rem;
	padding: 0.82rem 1rem;
	border: 0;
	border-radius: 14px;
	background: #fff0f5;
	box-shadow: 0 8px 18px rgba(190, 24, 93, 0.08);
	color: #2f1720;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.7;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}

.stcln-card__goal-message::before,
.stcln-card__goal-message::after {
	position: absolute;
	content: "";
}

.stcln-card__goal-message::before {
	top: 0.82rem;
	left: -8px;
	border-top: 8px solid transparent;
	border-right: 8px solid #fff0f5;
	border-bottom: 8px solid transparent;
}

.stcln-card__goal-message::after {
	top: calc(0.82rem + 1px);
	left: -6px;
	border-top: 7px solid transparent;
	border-right: 7px solid #fff0f5;
	border-bottom: 7px solid transparent;
}

.stcln-card__goal-needed {
	color: #1f2937;
	font-weight: 400;
	overflow-wrap: anywhere;
}

.stcln-card__viewers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0;
	align-items: baseline;
	font-size: 0.95rem;
	line-height: 1.4;
}

.stcln-card__viewers span {
	color: #1f2937;
	font-weight: 400;
}

.stcln-card__viewers strong {
	color: #1f2937;
	font-weight: 400;
}

.stcln-card__memo {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-top: 0.1rem;
	padding: 0.68rem 0.8rem;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fafafa;
}

.stcln-card__memo-placeholder {
	display: none;
}

.stcln-card__memo-label {
	display: block;
	margin-bottom: 0.28rem;
	color: #4b5563;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.35;
}

.stcln-card__memo-text {
	color: #374151;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.stcln-card__actions {
	display: flex;
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	justify-self: end;
	justify-content: flex-end;
	width: auto;
	max-width: 100%;
}

@media (min-width: 782px) {
	.stcln-card {
		grid-template-columns: minmax(68px, 76px) minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: start;
		height: 100%;
	}

	.stcln-card__main {
		grid-column: 2 / -1;
		grid-row: 1;
	}

	.stcln-card__memo,
	.stcln-card__memo-placeholder {
		grid-column: 1 / 3;
		grid-row: 2;
		min-height: 4.4rem;
	}

	.stcln-card__memo-placeholder {
		display: block;
		visibility: hidden;
	}

	.stcln-card__actions {
		grid-column: 3;
		grid-row: 2;
		align-self: start;
		justify-self: end;
		align-items: flex-start;
		margin-top: 0.1rem;
		margin-left: 0.75rem;
	}
}

.stcln-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	min-height: 40px;
	padding: 0.58rem 0.86rem;
	border: 1px solid #1d4ed8;
	border-radius: 7px;
	background: #1d4ed8;
	box-shadow: 0 2px 6px rgba(29, 78, 216, 0.14);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

@media (min-width: 782px) {
	.stcln-card__cta {
		min-height: 4.05rem;
	}
}

.stcln-card__cta:hover,
.stcln-card__cta:focus {
	border-color: #1e40af;
	background: #1e40af;
	color: #fff;
	text-decoration: none;
}

.stcln-card__cta--disabled {
	border-color: #8c959f;
	background: #8c959f;
	box-shadow: none;
	cursor: not-allowed;
}

.stcln-card__cta--disabled:hover,
.stcln-card__cta--disabled:focus {
	border-color: #8c959f;
	background: #8c959f;
}

@media (max-width: 781px) {
	.stcln-list {
		margin: 1.5rem 0;
	}

	.stcln-tabs {
		flex-wrap: nowrap;
		gap: 0.4rem;
		margin-bottom: 0.9rem;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.stcln-tabs__button {
		flex: 0 0 auto;
		min-height: 34px;
		padding: 0.45rem 0.68rem;
		font-size: 0.88rem;
	}

	.stcln-card {
		grid-template-columns: minmax(66px, 74px) minmax(0, 1fr);
		align-items: start;
		gap: 0.85rem 0.65rem;
		padding: 1rem;
	}

	.stcln-card__profile {
		grid-column: 1;
		grid-row: 1;
		padding-top: 0;
	}

	.stcln-card__main {
		grid-column: 2;
		grid-row: 1;
		padding-top: 0.1rem;
	}

	.stcln-card__goal-message {
		width: 100%;
	}

	.stcln-card__goal-placeholder {
		display: none;
	}

	.stcln-card__viewers {
		flex-wrap: nowrap;
		white-space: nowrap;
	}

	.stcln-card__memo {
		grid-column: 1 / -1;
		grid-row: 2;
		padding: 0.68rem 0.8rem;
	}

	.stcln-card__memo-placeholder {
		display: none;
	}

	.stcln-card__actions {
		grid-column: 1 / -1;
		grid-row: 3;
		align-self: stretch;
		justify-self: end;
		justify-content: flex-end;
		width: auto;
	}

	.stcln-card--no-memo .stcln-card__actions {
		grid-row: 2;
	}

	.stcln-card--no-goal {
		grid-template-columns: minmax(66px, 74px) minmax(0, 1fr) auto;
	}

	.stcln-card--no-goal .stcln-card__main {
		grid-column: 2;
	}

	.stcln-card--no-goal .stcln-card__actions {
		grid-column: 3;
		grid-row: 1;
		align-self: end;
		align-items: flex-end;
		margin-left: 0.5rem;
	}
}
