/* ==========================================================================
   MeowPack Public Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* =========================================================
   View Count Badge
   ========================================================= */
.meowpack-view-count {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 16px;
	font-family: 'Inter', sans-serif;
}
.meowpack-view-count svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	color: #6366f1;
}

/* =========================================================
   Share Buttons
   ========================================================= */
.meowpack-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 24px 0;
	font-family: 'Inter', -apple-system, sans-serif;
}

.meowpack-share__label {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	margin-right: 2px;
}

/* Base button */
.meowpack-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: #fff;
	background: var(--btn-color, #888);
	transition: opacity .2s, transform .15s, box-shadow .2s;
	line-height: 1;
	white-space: nowrap;
}
.meowpack-share__btn:hover {
	opacity: .88;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,.15);
	color: #fff;
}
.meowpack-share__btn:active {
	transform: translateY(0);
	opacity: 1;
}
.meowpack-share__icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* ── Icon Only style ── */
.meowpack-share--icon-only .meowpack-share__btn {
	padding: 9px;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	justify-content: center;
}
.meowpack-share--icon-only .meowpack-share__icon svg {
	width: 17px;
	height: 17px;
}

/* ── Pill Button style ── */
.meowpack-share--pill-button .meowpack-share__btn {
	border-radius: 999px;
	padding: 8px 18px;
}

/* =========================================================
   Trending Widget
   ========================================================= */
.meowpack-trending {
	margin: 0;
}
.meowpack-trending__title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 12px;
}
.meowpack-trending__list {
	list-style: decimal;
	padding-left: 20px;
	margin: 0;
}
.meowpack-trending__item {
	padding: 6px 0;
	font-size: 14px;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.meowpack-trending__item:last-child { border-bottom: none; }
.meowpack-trending__item a {
	text-decoration: none;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.meowpack-trending__views {
	font-size: 12px;
	color: #64748b;
	white-space: nowrap;
}

/* =========================================================
   Public Counter Widget
   ========================================================= */
.meowpack-counter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	font-family: 'Inter', sans-serif;
}

.meowpack-counter-box {
	background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
	border-radius: 12px;
	padding: 16px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: #fff;
	box-shadow: 0 4px 12px rgba(99,102,241,.25);
	transition: transform .2s;
}
.meowpack-counter-box:hover {
	transform: translateY(-2px);
}
.meowpack-counter-box__icon {
	font-size: 22px;
	line-height: 1;
}
.meowpack-counter-box__number {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
}
.meowpack-counter-box__label {
	font-size: 11px;
	font-weight: 500;
	opacity: .85;
	text-align: center;
	line-height: 1.3;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 480px) {
	.meowpack-share { gap: 6px; }
	.meowpack-share__btn { font-size: 12px; padding: 7px 11px; }
	.meowpack-counter-grid { grid-template-columns: repeat(2, 1fr); }
}
