.ya-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.ya-feed {
	display: grid;
	gap: 14px;
}

.ya-card,
.ya-publication-form,
.ya-notice,
.ya-notifications,
.ya-empty,
.ya-composer-shell {
	border: 1px solid var(--ya-border, #e3e0da);
	border-radius: var(--ya-radius, 16px);
	background: var(--ya-surface, #fff);
}

.ya-card {
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ya-card:hover {
	border-color: var(--ya-border-strong, #cdc7bc);
	box-shadow: 0 12px 30px rgba(26, 22, 18, .055);
}

.ya-card-header,
.ya-card-actions,
.ya-form-actions,
.ya-composer-intro,
.ya-editor-meta {
	display: flex;
	align-items: center;
}

.ya-card-header {
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px 8px;
}

.ya-card-author {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ya-card-author img {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	background: #eee;
}

.ya-author-copy {
	display: grid;
	min-width: 0;
}

.ya-author-line {
	display: flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.ya-author-line strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .94rem;
}

.ya-author-copy small {
	color: var(--ya-muted, #706b64);
	font-size: .78rem;
}

.ya-verified {
	display: inline-grid;
	place-items: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--ya-accent, #7b151b);
	color: #fff;
	font-size: 10px;
	font-weight: 900;
}

.ya-card-header-actions {
	display: flex;
	align-items: center;
	gap: 5px;
}

.ya-type-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 28px;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--ya-accent-soft, #f5e9ea);
	color: var(--ya-accent, #7b151b);
	font-size: .72rem;
	font-weight: 760;
}

.ya-type-badge .ya-icon {
	width: 14px;
	height: 14px;
}

.ya-card-menu {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ya-muted, #706b64);
	cursor: pointer;
}

.ya-card-menu:hover {
	background: var(--ya-surface-soft, #f7f6f3);
	color: var(--ya-text, #1d1b18);
}

.ya-card-content {
	padding: 8px 18px 17px;
}

.ya-card-content h2 {
	margin: 0 0 9px;
	font-family: var(--ya-serif, Georgia, serif);
	font-size: clamp(1.28rem, 2vw, 1.58rem);
	font-weight: 700;
	line-height: 1.24;
	letter-spacing: -.018em;
}

.ya-card-text {
	color: var(--ya-text-soft, #3d3933);
	font-size: .96rem;
	line-height: 1.62;
}

.ya-card-text p {
	margin: 0 0 .7em;
}

.ya-card-text p:last-child {
	margin-bottom: 0;
}

.ya-card--siir .ya-card-content {
	position: relative;
	padding-left: 30px;
}

.ya-card--siir .ya-card-content::before {
	content: "“";
	position: absolute;
	left: 15px;
	top: 2px;
	color: var(--ya-accent, #7b151b);
	font-family: Georgia, serif;
	font-size: 2.4rem;
	line-height: 1;
	opacity: .72;
}

.ya-poem-text {
	font-family: var(--ya-serif, Georgia, serif);
	font-size: 1.03rem;
	line-height: 1.75;
}

.ya-card--kisa-ileti .ya-card-content h2,
.ya-card--alinti .ya-card-content h2 {
	font-size: 1.15rem;
}

.ya-card--alinti .ya-card-text {
	font-family: var(--ya-serif, Georgia, serif);
	font-size: 1.08rem;
	font-style: italic;
}

.ya-card-media {
	display: block;
	margin: 15px -18px -17px;
	border-top: 1px solid var(--ya-border, #e3e0da);
	background: #f3f1ed;
}

.ya-card-media img {
	display: block;
	width: 100%;
	max-height: 470px;
	object-fit: cover;
}

.ya-topic-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 13px;
}

.ya-topic-row a {
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--ya-surface-soft, #f7f6f3);
	color: var(--ya-muted, #706b64);
	font-size: .75rem;
	font-weight: 650;
}

.ya-topic-row a:hover {
	background: var(--ya-accent-soft, #f5e9ea);
	color: var(--ya-accent, #7b151b);
}

.ya-card-actions {
	justify-content: space-between;
	gap: 4px;
	padding: 8px 11px;
	border-top: 1px solid var(--ya-border, #e3e0da);
}

.ya-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 7px 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ya-muted, #706b64);
	cursor: pointer;
	font-size: .82rem;
	font-weight: 680;
	transition: .16s ease;
}

.ya-action .ya-icon {
	width: 18px;
	height: 18px;
}

.ya-action:hover {
	background: var(--ya-surface-soft, #f7f6f3);
	color: var(--ya-text, #1d1b18);
}

.ya-action.is-active {
	color: var(--ya-accent, #7b151b);
	background: var(--ya-accent-soft, #f5e9ea);
}

.ya-action:disabled {
	opacity: .55;
	cursor: wait;
}

.ya-pagination ul {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ya-pagination a,
.ya-pagination span {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--ya-border, #e3e0da);
	border-radius: 10px;
	background: #fff;
}

.ya-pagination .current {
	background: var(--ya-accent, #7b151b);
	color: #fff;
	border-color: var(--ya-accent, #7b151b);
}

.ya-empty {
	display: grid;
	justify-items: center;
	padding: 48px 24px;
	text-align: center;
	color: var(--ya-muted, #706b64);
}

.ya-empty-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--ya-accent-soft, #f5e9ea);
	color: var(--ya-accent, #7b151b);
}

.ya-empty-icon .ya-icon {
	width: 27px;
	height: 27px;
}

.ya-empty strong {
	color: var(--ya-text, #1d1b18);
	font-size: 1.05rem;
}

.ya-empty p {
	margin: 5px 0 0;
}

.ya-composer-shell {
	overflow: hidden;
}

.ya-composer-intro {
	gap: 16px;
	padding: 23px 24px;
	border-bottom: 1px solid var(--ya-border, #e3e0da);
	background: linear-gradient(135deg, var(--ya-accent-soft, #f5e9ea), #fff 58%);
}

.ya-composer-avatar img {
	display: block;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px rgba(255,255,255,.8);
}

.ya-eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--ya-accent, #7b151b);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.ya-composer-intro h2 {
	margin: 0;
	font-family: var(--ya-serif, Georgia, serif);
	font-size: 1.38rem;
	line-height: 1.25;
}

.ya-composer-intro p {
	margin: 5px 0 0;
	color: var(--ya-muted, #706b64);
	font-size: .86rem;
}

.ya-publication-form {
	display: grid;
	gap: 19px;
	padding: 24px;
	border: 0;
	border-radius: 0;
}

.ya-type-picker {
	margin: 0;
	padding: 0;
	border: 0;
}

.ya-type-picker legend,
.ya-field-group > label {
	display: block;
	margin-bottom: 8px;
	color: var(--ya-text, #1d1b18);
	font-size: .78rem;
	font-weight: 780;
	letter-spacing: .025em;
}

.ya-type-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.ya-type-option {
	position: relative;
}

.ya-type-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ya-type-option > span:last-child,
.ya-type-option {
	font-size: .78rem;
}

.ya-type-option {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 43px;
	padding: 8px 10px;
	border: 1px solid var(--ya-border, #e3e0da);
	border-radius: 11px;
	background: var(--ya-surface-soft, #f7f6f3);
	color: var(--ya-muted, #706b64);
	cursor: pointer;
	font-weight: 700;
	transition: .16s ease;
}

.ya-type-option:hover {
	border-color: var(--ya-border-strong, #cdc7bc);
	color: var(--ya-text, #1d1b18);
}

.ya-type-option:has(input:checked) {
	border-color: var(--ya-accent, #7b151b);
	background: var(--ya-accent-soft, #f5e9ea);
	color: var(--ya-accent, #7b151b);
	box-shadow: 0 0 0 2px rgba(123,21,27,.06);
}

.ya-type-option-icon {
	display: inline-grid;
	place-items: center;
}

.ya-type-option-icon .ya-icon {
	width: 17px;
	height: 17px;
}

.ya-field-group input,
.ya-field-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ya-border, #e3e0da);
	border-radius: 11px;
	background: var(--ya-surface-soft, #f7f6f3);
	color: var(--ya-text, #1d1b18);
	outline: none;
	transition: .16s ease;
}

.ya-field-group input:focus,
.ya-field-group textarea:focus {
	border-color: var(--ya-accent, #7b151b);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(123,21,27,.07);
}

.ya-field-group textarea {
	min-height: 270px;
	resize: vertical;
	font-family: var(--ya-serif, Georgia, serif);
	font-size: 1.02rem;
	line-height: 1.72;
}

.ya-field-group small {
	display: block;
	margin-top: 6px;
	color: var(--ya-muted, #706b64);
	font-size: .75rem;
}

.ya-editor-field {
	position: relative;
}

.ya-editor-meta {
	justify-content: space-between;
	gap: 12px;
	margin-top: 7px;
}

.ya-editor-tools {
	display: flex;
	gap: 4px;
	color: var(--ya-muted, #706b64);
}

.ya-editor-tools > span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--ya-surface-soft, #f7f6f3);
}

.ya-editor-tools .ya-icon {
	width: 17px;
	height: 17px;
}

.ya-character-count {
	color: var(--ya-muted, #706b64);
	font-size: .74rem;
}

.ya-form-actions {
	justify-content: space-between;
	gap: 16px;
	padding-top: 17px;
	border-top: 1px solid var(--ya-border, #e3e0da);
}

.ya-form-status {
	color: var(--ya-muted, #706b64);
	font-size: .86rem;
}

.ya-form-status.is-error {
	color: #b42318;
}

.ya-form-status.is-success {
	color: #067647;
}

.ya-form-buttons {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.ya-secondary-button,
.ya-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	padding: 8px 17px;
	border-radius: 999px;
	font-weight: 750;
}

.ya-secondary-button {
	border: 1px solid var(--ya-border, #e3e0da);
	background: #fff;
	color: var(--ya-muted, #706b64);
}

.ya-submit-button {
	border: 1px solid var(--ya-accent, #7b151b);
	background: var(--ya-accent, #7b151b);
	color: #fff;
}

.ya-submit-button .ya-icon {
	width: 17px;
	height: 17px;
}

.ya-submit-button.is-loading {
	opacity: .65;
}

.ya-notice,
.ya-notifications {
	padding: 20px;
}

.ya-notice p {
	margin: 5px 0 13px;
	color: var(--ya-muted, #706b64);
}

.ya-primary-link {
	color: var(--ya-accent, #7b151b);
	font-weight: 750;
}

.ya-notification {
	display: flex;
	gap: 11px;
	padding: 13px 0;
	border-bottom: 1px solid var(--ya-border, #e3e0da);
}

.ya-notification:last-child {
	border-bottom: 0;
}

.ya-notification img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.ya-notification time {
	display: block;
	margin-top: 3px;
	color: var(--ya-muted, #706b64);
	font-size: .74rem;
}

.ya-notification.is-unread {
	position: relative;
}

.ya-notification.is-unread::before {
	content: "";
	position: absolute;
	left: -9px;
	top: 28px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ya-accent, #7b151b);
}

@media (max-width: 760px) {
	.ya-type-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ya-action-label {
		display: none;
	}

	.ya-composer-intro {
		align-items: flex-start;
		padding: 19px;
	}

	.ya-publication-form {
		padding: 19px;
	}
}

@media (max-width: 480px) {
	.ya-card-header {
		align-items: flex-start;
		padding: 13px 13px 7px;
	}

	.ya-card-content {
		padding: 7px 13px 14px;
	}

	.ya-card-actions {
		overflow-x: auto;
		justify-content: space-around;
	}

	.ya-type-badge span {
		display: none;
	}

	.ya-type-badge {
		width: 28px;
		height: 28px;
		padding: 0;
		justify-content: center;
	}

	.ya-type-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ya-form-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ya-form-buttons {
		width: 100%;
	}

	.ya-form-buttons button {
		flex: 1;
	}
}
