:root {
	--primary: #15c464;
	--primary-soft: #e9f9f1;
	--text-main: #222222;
	--text-muted: #888888;
	--border-soft: #e5e5e5;
	--bg: #f5f6fa;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	background: var(--bg);
	color: var(--text-main);
}

a {
	color: inherit;
	text-decoration: none;
}

/* HEADER (fixed) */
.app-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 56px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	z-index: 1000;
}

.app-header-title {
	font-weight: 600;
}

.app-header-left,
.app-header-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.icon-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	cursor: pointer;
	color: #444;
}

.icon-btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.icon-arrow {
	transform: translateX(1px);
}

/* MAIN WRAPPER */
.page {
	padding: 68px 12px 20px; /* top = header, bottom = comment bar */
}

.article-container {
	max-width: 640px;
	margin: 0 auto;
}

.card {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	padding: 20px 18px 24px;
}

.card + .card {
	margin-top: 12px;
}

/* ARTICLE HEADER */
.badge-category {
	font-size: 0.85rem;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 6px;
}

.article-title {
	font-size: 1.5rem;
	line-height: 1.35;
	font-weight: 700;
	margin: 0 0 16px;
}

.author-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	background: #ccc;
	flex-shrink: 0;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.author-name {
	font-size: 0.95rem;
	font-weight: 600;
}

.author-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	color: var(--text-muted);
}

.badge-influencer {
	background: var(--primary);
	color: #ffffff;
	font-size: 0.7rem;
	padding: 2px 6px;
	border-radius: 999px;
	font-weight: 600;
}

.divider {
	border: none;
	border-top: 1px solid var(--border-soft);
	margin: 16px 0;
}

.article-body p {
	margin: 0 0 14px;
	line-height: 1.6;
	font-size: 0.98rem;
}

.article-image {
	margin: 12px 0 6px;
	border-radius: 14px;
	overflow: hidden;
	background: #ddd;
}

.article-image img {
	display: block;
	width: 100%;
	height: auto;
}

.image-caption {
	font-size: 0.8rem;
	color: var(--text-muted);
	text-align: center;
	margin-bottom: 14px;
}

.section-heading {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 18px 0 12px;
}

.quote-block {
	text-align: center;
	margin: 24px 0 16px;
}

.quote-icon {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: 6px;
}

.quote-text {
	font-style: italic;
	font-size: 1rem;
	line-height: 1.6;
}

.hashtags {
	margin: 4px 0 0;
	font-size: 0.9rem;
	color: #4f4f4f;
}

.hashtags a {
	color: #4f4f4f;
	margin-right: 6px;
}

/* LIKES / COMMENTS SUMMARY */
.stats-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9rem;
	padding: 10px 0 2px;
}

.stats-row strong {
	font-weight: 700;
}

.stats-row span {
	color: #555;
}

/* ACTION CARDS */
.actions-card {
	background: #f8fafb;
	border-radius: 18px;
	padding: 18px 16px 16px;
}

.action-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}

.action-item {
	background: #ffffff;
	border-radius: 15px;
	padding: 12px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	cursor: pointer;
	transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.action-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.action-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--primary-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 20px;
}

.action-label {
	font-size: 0.86rem;
	font-weight: 500;
}

.more-articles {
	margin-top: 6px;
	background: #ffffff;
	border-radius: 14px;
	padding: 10px 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid #ececec;
}

.more-articles span {
	margin-right: 4px;
}

/* FLOATING ACTION BUTTON */
.fab {
	position: fixed;
	right: 18px;
	bottom: 72px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 26px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	z-index: 900;
}

.fab span {
	transform: translateY(-1px);
}

/* BOTTOM COMMENT BAR (fixed) */
.bottom-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ffffff;
	border-top: 1px solid var(--border-soft);
	padding: 8px 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 950;
}

.comment-input-fake {
	flex: 1;
	background: #f3f4f6;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 0.9rem;
	color: #b0b0b0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bottom-icons {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8rem;
}

.bottom-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 30px;
	cursor: pointer;
	color: #555;
}

.bottom-icon-symbol {
	font-size: 1.1rem;
}

.bottom-icon-count {
	font-size: 0.7rem;
}

.like-btn.active .bottom-icon-symbol {
	color: #ff3b30;
}

/* RESPONSIVE */
@media (min-width: 768px) {
	.app-header {
		height: 60px;
		padding: 0 40px;
	}
	.page {
		padding: 76px 16px 86px;
	}
	.article-title {
		font-size: 1.8rem;
	}
}