/**
 * Global Design Variables
 * Defines the primary color schemes, fonts, spacing, and core structural dimensions.
 */
:root {
	--primary: #f43f5e;
	--primary-dark: #be123c;
	--primary-soft: #ffe4e6;
	--secondary: #8b5cf6;
	--secondary-dark: #7c3aed;
	--text: #0f172a;
	--text-light: #475569;
	--muted: #64748b;
	--border: #e2e8f0;
	--white: #ffffff;
	--bg: #f8fafc;
	--card: #ffffff;
	--shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
	--shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
	--radius-lg: 28px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--header-height: 82px;
}

/**
 * Base Document Reset
 * Normalizes browser styling and sets document-wide typography and behaviors.
 */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Inter", Arial, sans-serif;
	background: radial-gradient(circle at top left, #fff1f2 0, transparent 34%), var(--bg);
	color: var(--text);
	min-height: 100vh;
	overflow-y: scroll;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	border: 0;
	background: none;
	cursor: pointer;
}

img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

input, textarea, select {
	font-family: inherit;
}

/**
 * Main Layout Shell
 * Responsive container to constrain the maximum width of the application.
 */
.kdn-page-shell {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

/**
 * Global Site Header
 * Sticky navigation bar, brand logo, and user access points.
 */
.kdn-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
}

.kdn-header-inner {
	height: var(--header-height);
	display: flex;
	align-items: center;
	gap: 24px;
	position: relative;
}

.kdn-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.04em;
	white-space: nowrap;
	z-index: 4;
}

.kdn-logo-mark {
	width: 42px;
	height: 42px;
	border-radius: 15px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #fff;
	font-weight: 800;
}

.kdn-logo span:last-child {
	background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.kdn-main-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.kdn-main-nav a {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	padding: 12px 14px;
	border-radius: 999px;
	transition: 180ms ease;
}

.kdn-main-nav a:hover {
	background: var(--primary-soft);
	color: var(--primary-dark);
}

.kdn-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 4;
}

/**
 * User Profile Dropdown Component
 * Handles user avatar, settings menu toggle, and session actions.
 */
.kdn-profile-wrap {
	position: relative;
}

.kdn-profile-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px 7px 7px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.kdn-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #ffe4e6, #ede9fe);
	color: var(--primary-dark);
	font-size: 14px;
	font-weight: 800;
	overflow: hidden;
}

.kdn-avatar-brand {
	background: var(--primary);
	color: #fff;
}

.kdn-avatar-deal {
	background: #f59e0b;
	color: #fff;
}

.kdn-deal-card .kdn-avatar {
	font-size: 16px;
}

.kdn-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kdn-profile-name {
	font-size: 13px;
	font-weight: 800;
}

.kdn-chevron {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b;
	transition: transform 180ms ease, background 180ms ease, color 180ms ease;
	font-size: 12px;
}

.kdn-profile-btn:hover .kdn-chevron {
	background: var(--primary-soft);
	color: var(--primary-dark);
}

.kdn-chevron svg {
	display: block;
}

.kdn-profile-wrap.is-open .kdn-chevron {
	transform: rotate(180deg);
}

.kdn-profile-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	width: 230px;
	padding: 10px;
	display: grid;
	gap: 5px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 20px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 180ms ease;
	z-index: 90;
}

.kdn-profile-wrap.is-open .kdn-profile-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.kdn-profile-dropdown a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border-radius: 13px;
	font-size: 14px;
	font-weight: 400;
	color: #334155;
}

.kdn-profile-dropdown a:hover {
	background: var(--primary-soft);
	color: var(--primary-dark);
}

.kdn-profile-dropdown a i {
	font-size: 16px;
}

/**
 * Universal Action Buttons
 * Base styling for circular interface action icons.
 */
.kdn-icon-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	color: #1e293b;
	transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
	font-size: 16px;
}

.kdn-icon-btn:hover {
	transform: translateY(-1px);
	border-color: rgba(244, 63, 94, 0.28);
	background: var(--primary-soft);
	color: var(--primary-dark);
}

.kdn-icon-btn svg {
	display: block;
}

/**
 * Global Search Overlay
 * Styles for the animated full-width search bar integration.
 */
.kdn-search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 58px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 10px 0 20px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%);
	clip-path: inset(0 50% 0 50% round 999px);
	transition: clip-path 260ms ease, opacity 180ms ease, visibility 180ms ease;
	z-index: 100;
}

.kdn-search-panel.is-active {
	opacity: 1;
	visibility: visible;
	clip-path: inset(0 0 0 0 round 999px);
}

.kdn-search-panel-icon {
	display: grid;
	place-items: center;
	color: var(--primary-dark);
	flex: 0 0 auto;
	font-size: 16px;
}

.kdn-search-panel input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}

.kdn-search-panel input::placeholder {
	color: #94a3b8;
}

.kdn-search-close {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--primary-soft);
	color: var(--primary-dark);
	transition: background 180ms ease, transform 180ms ease;
	flex: 0 0 auto;
	font-size: 16px;
}

.kdn-search-close:hover {
	background: #fecdd3;
	transform: rotate(90deg);
}

.kdn-search-backdrop {
	position: fixed;
	inset: var(--header-height) 0 0;
	background: rgba(248, 250, 252, 0.6);
	backdrop-filter: blur(7px);
	z-index: 35;
	opacity: 0;
	visibility: hidden;
	transition: 180ms ease;
}

.kdn-search-backdrop.is-active {
	opacity: 1;
	visibility: visible;
}

.kdn-mobile-menu-btn {
	display: none;
}

/**
 * Main View Container
 * Controls state visibility (e.g., blurring content during search).
 */
.kdn-main-content {
	position: relative;
	z-index: 1;
	transition: filter 180ms ease;
	padding-bottom: 60px;
}

.kdn-main-content.is-blurred {
	filter: blur(4px);
	pointer-events: none;
}

/**
 * Quick Tools Navigation Bar
 * Horizontally scrollable or grid-based quick links.
 */
.kdn-tools-nav {
	padding: 22px 0 10px;
}

.kdn-tools-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.kdn-tool-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 15px;
	border-radius: 19px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(226, 232, 240, 0.92);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
	font-size: 13px;
	font-weight: 800;
	color: #1e293b;
	transition: 180ms ease;
}

.kdn-tool-link:hover {
	transform: translateY(-3px);
	border-color: rgba(244, 63, 94, 0.25);
	box-shadow: 0 16px 34px rgba(244, 63, 94, 0.12);
}

.kdn-tool-icon {
	width: 38px;
	height: 38px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--primary-soft);
	color: var(--primary-dark);
	flex: 0 0 auto;
	font-size: 20px;
}

.kdn-tool-icon svg {
	width: 22px;
	height: 22px;
	display: block;
	stroke: currentColor;
}

/**
 * Hero Section Architecture
 * Accommodates the main slider and side discovery cards.
 */
.kdn-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
	gap: 22px;
	align-items: stretch;
	padding: 10px 0 40px;
}

.kdn-hero-slider {
	position: relative;
	height: 520px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: #e2e8f0;
}

.kdn-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 420ms ease, visibility 420ms ease;
}

.kdn-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.kdn-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.18) 38%, rgba(15, 23, 42, 0.86) 100%);
}

.kdn-slide-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #ede9fe;
}

.kdn-slide-image img,
.kdn-discover-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.kdn-slide-content {
	position: absolute;
	left: 34px;
	right: 34px;
	bottom: 32px;
	z-index: 2;
	color: #fff;
}

.kdn-category-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 14px;
}

.kdn-slide-title {
	max-width: 720px;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.02;
	letter-spacing: -0.055em;
	font-weight: 850;
	margin-bottom: 14px;
}

.kdn-slide-desc {
	max-width: 560px;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.86);
}

.kdn-slider-controls {
	position: absolute;
	right: 26px;
	bottom: 28px;
	z-index: 4;
	display: flex;
	gap: 8px;
}

.kdn-slider-controls button {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	color: #fff;
	transition: 180ms ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.kdn-slider-controls button:hover {
	background: rgba(255, 255, 255, 0.32);
}

.kdn-slider-controls button svg {
	display: block;
}

.kdn-slider-dots {
	position: absolute;
	left: 34px;
	top: 28px;
	z-index: 4;
	display: flex;
	gap: 8px;
}

.kdn-slider-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.42);
	transition: 180ms ease;
}

.kdn-slider-dot.is-active {
	width: 26px;
	background: #fff;
}

.kdn-discover-card {
	height: 520px;
	padding: 22px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.kdn-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 17px;
}

.kdn-section-head h2 {
	font-size: 25px;
	letter-spacing: -0.045em;
	font-weight: 850;
}

.kdn-section-head a {
	font-size: 13px;
	font-weight: 800;
	color: var(--primary-dark);
	white-space: nowrap;
}

.kdn-discover-list {
	display: grid;
	grid-template-rows: repeat(4, minmax(0, 1fr));
	gap: 12px;
	flex: 1;
	min-height: 0;
}

.kdn-discover-item {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 13px;
	align-items: center;
	padding: 9px;
	border-radius: 19px;
	transition: 180ms ease;
	min-height: 0;
}

.kdn-discover-item:hover {
	background: var(--primary-soft);
}

.kdn-discover-thumb {
	height: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #fecdd3;
}

.kdn-discover-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 800;
	color: var(--primary-dark);
	margin-bottom: 7px;
}

.kdn-discover-item h3 {
	font-size: 15px;
	line-height: 1.35;
	letter-spacing: -0.02em;
	font-weight: 850;
}

/**
 * Page Feed Layout Structure
 * Organizes the left sidebar, main feed, and right sidebar columns.
 */
.kdn-feed-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
	margin-top: 10px;
}

/**
 * Universal Sidebar Widget Module
 * Base styling for all sidebar blocks.
 */
.kdn-widget {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	margin-bottom: 24px;
}

.kdn-widget-title {
	font-size: 18px;
	font-weight: 850;
	letter-spacing: -0.03em;
	margin-bottom: 18px;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 12px;
}

.kdn-widget-btn-all {
	display: block;
	text-align: center;
	padding: 12px;
	margin-top: 8px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--primary);
	background: var(--primary-soft);
	transition: 180ms ease;
}

.kdn-widget-btn-all:hover {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

/**
 * Distinct Widget Headline Icons
 */
.kdn-widget-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	font-size: 18px;
}

.kdn-widget-icon.kdn-agenda { background: linear-gradient(135deg, #fff1f2, #ffe4e6); color: #e11d48; }
.kdn-widget-icon.kdn-video { background: linear-gradient(135deg, #faf5ff, #f3e8ff); color: #9333ea; }
.kdn-widget-icon.kdn-blog { background: linear-gradient(135deg, #fdf4ff, #fae8ff); color: #c026d3; }
.kdn-widget-icon.kdn-users { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #ea580c; }
.kdn-widget-icon.kdn-bmi { background: linear-gradient(135deg, #f0fdfa, #ccfbf1); color: #0d9488; }

/**
 * Advertisement Banners & Integration Slots
 */
.kdn-ad-container {
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.kdn-ad-top {
	margin-top: 10px;
}

.kdn-ad-widget {
	padding: 16px;
}

.kdn-ad-skyscraper {
	position: sticky;
	top: calc(var(--header-height) + 24px);
}

.kdn-ad-in-feed {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.kdn-ad-label {
	font-size: 11px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	margin-bottom: 8px;
	display: block;
	text-align: center;
}

.kdn-ad-dummy {
	background: #f8fafc;
	border: 2px dashed #cbd5e1;
	border-radius: var(--radius-sm);
	display: grid;
	place-items: center;
	color: #94a3b8;
	font-weight: 700;
	font-size: 14px;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
}

.kdn-ad-leaderboard { width: 100%; height: 90px; max-width: 728px; }
.kdn-ad-square { width: 100%; height: 250px; }
.kdn-ad-vertical { width: 100%; height: 600px; }
.kdn-ad-native { width: 100%; height: 120px; }

/**
 * Left Sidebar Content Aggregator
 */
.kdn-left-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 24px);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/**
 * Trend Agendas and Hashtags List
 */
.kdn-hashtag-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kdn-hashtag-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 12px;
	transition: 180ms ease;
}

.kdn-hashtag-item:hover {
	background: var(--primary-soft);
}

.kdn-hashtag-item:nth-child(1) .kdn-hash-symbol {
	background: #f59e0b;
	color: var(--white);
}

.kdn-hashtag-item:nth-child(2) .kdn-hash-symbol {
	background: #94a3b8;
	color: var(--white);
}

.kdn-hashtag-item:nth-child(3) .kdn-hash-symbol {
	background: #d97706;
	color: var(--white);
}

.kdn-hash-symbol {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f1f5f9;
	color: var(--muted);
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 16px;
	transition: 180ms ease;
}

.kdn-hashtag-item:hover .kdn-hash-symbol {
	background: #fff;
	color: var(--primary);
}

.kdn-hash-info {
	display: flex;
	flex-direction: column;
}

.kdn-hash-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--text);
}

.kdn-hash-count {
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
}

/**
 * Community Clubs Overview Widget
 */
.kdn-club-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kdn-club-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 12px;
	transition: 180ms ease;
}

.kdn-club-item:hover {
	background: var(--bg);
}

.kdn-club-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	font-size: 22px;
}

.kdn-club-info {
	display: flex;
	flex-direction: column;
}

.kdn-club-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--text);
	display: block;
}

.kdn-club-members {
	font-size: 12px;
	color: var(--muted);
}

/**
 * Short-form Video Reels List Sidebar
 */
.kdn-sidebar-video-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kdn-sidebar-video {
	display: block;
	transition: 180ms ease;
}

.kdn-sidebar-video:hover .kdn-video-info h4 {
	color: var(--primary);
}

.kdn-video-thumb {
	position: relative;
	height: 120px;
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 10px;
}

.kdn-play-icon {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(4px);
	display: grid;
	place-items: center;
	color: var(--primary);
	font-size: 16px;
	transition: 180ms ease;
}

.kdn-sidebar-video:hover .kdn-play-icon {
	background: #fff;
	transform: scale(1.1);
}

.kdn-video-info h4 {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--text);
	transition: 180ms ease;
}

/**
 * Recent Articles & Editorial Blogs Widget
 */
.kdn-sidebar-blog-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.kdn-sidebar-blog {
	display: block;
	padding: 10px;
	border-radius: 12px;
	transition: 180ms ease;
}

.kdn-sidebar-blog:hover {
	background: var(--bg);
}

.kdn-blog-date {
	font-size: 11px;
	font-weight: 800;
	color: var(--primary-dark);
	margin-bottom: 4px;
	display: block;
}

.kdn-sidebar-blog h4 {
	font-size: 13px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--text);
}

/**
 * Main Content Feed Core Wrapper
 */
.kdn-feed-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/**
 * Personal User Goal Tracking Card
 */
.kdn-goal-tracker-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	margin-bottom: 20px;
	transition: transform 180ms ease;
}

.kdn-goal-tracker-card:hover {
	transform: translateY(-2px);
}

.kdn-goal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.kdn-goal-header h3 {
	font-size: 16px;
	font-weight: 800;
	color: var(--text);
}

.kdn-goal-header span {
	font-size: 13px;
	font-weight: 700;
	color: var(--primary);
}

.kdn-goal-bars {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kdn-goal-item-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 6px;
}

.kdn-goal-item-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-light);
}

.kdn-goal-item-title i {
	font-size: 14px;
}

.kdn-goal-item-value {
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
}

.kdn-progress-bg {
	width: 100%;
	height: 8px;
	background: #e2e8f0;
	border-radius: 99px;
	overflow: hidden;
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.kdn-progress-fill {
	height: 100%;
	border-radius: 99px;
	transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/**
 * Progress Fill State Colors
 */
.kdn-water-fill {
	width: 75%;
	background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.kdn-step-fill {
	width: 75%;
	background: linear-gradient(135deg, #34d399, #059669);
}

/**
 * Social Network Feed Post Creation Module
 */
.kdn-post-creator {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	display: flex;
	gap: 16px;
}

.kdn-creator-avatar {
	flex: 0 0 auto;
}

.kdn-creator-body {
	flex: 1;
	min-width: 0;
}

.kdn-creator-input {
	width: 100%;
	border: 0;
	outline: 0;
	resize: none;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text);
	min-height: 60px;
	background: transparent;
	margin-bottom: 12px;
	padding-top: 4px;
}

.kdn-creator-input::placeholder {
	color: var(--muted);
}

.kdn-creator-meta {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}

.kdn-char-counter {
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	transition: color 180ms ease;
}

.kdn-char-counter.is-limit {
	color: var(--primary-dark);
}

.kdn-visibility-wrap {
	position: relative;
}

.kdn-visibility-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	color: var(--text);
	font-size: 13px;
	font-weight: 700;
	transition: background 180ms ease;
}

.kdn-visibility-btn:hover {
	background: #e2e8f0;
}

.kdn-visibility-icon {
	display: flex;
	align-items: center;
	color: var(--primary);
	font-size: 16px;
}

.kdn-visibility-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	display: grid;
	gap: 5px;
	width: 170px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 8px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 180ms ease;
	z-index: 90;
}

.kdn-visibility-wrap.is-open .kdn-visibility-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.kdn-visibility-wrap.is-open .kdn-chevron {
	transform: rotate(180deg);
}

.kdn-visibility-option {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	text-align: left;
	transition: 180ms ease;
}

.kdn-visibility-option:hover,
.kdn-visibility-option.is-selected {
	background: var(--primary-soft);
	color: var(--primary-dark);
}

.kdn-visibility-option i {
	font-size: 16px;
}

/**
 * Post Creator Tools & Submission Action
 */
.kdn-creator-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	border-top: 1px solid var(--border);
	padding-top: 12px;
}

.kdn-creator-actions-scroll {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 36px;
}

.kdn-creator-actions-scroll::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 40px;
	background: linear-gradient(to right, transparent, var(--card));
	pointer-events: none;
	z-index: 2;
}

.kdn-creator-actions {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 4px;
	overflow-x: auto;
	white-space: nowrap;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-right: 40px;
	padding-left: 0;
}

.kdn-creator-actions::-webkit-scrollbar {
	display: none;
}

.kdn-creator-btn-icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--primary);
	transition: 180ms ease;
	font-size: 20px;
}

.kdn-creator-btn-icon:hover {
	background: var(--primary-soft);
}

.kdn-creator-submit-wrap {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	z-index: 3;
}

.kdn-btn-submit-post {
	background: var(--primary);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 24px;
	border-radius: 999px;
	transition: 180ms ease;
}

.kdn-btn-submit-post:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(244, 63, 94, 0.25);
}

/**
 * Daily Motivation Highlight Banner
 */
.kdn-motivation-banner {
	background: linear-gradient(135deg, var(--secondary), #a855f7);
	border-radius: var(--radius-lg);
	padding: 20px;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 16px;
	box-shadow: 0 12px 25px rgba(139, 92, 246, 0.25);
	margin-bottom: 20px;
	transition: 180ms ease;
}

.kdn-motivation-banner:hover {
	transform: scale(1.01);
}

.kdn-motivation-icon {
	font-size: 32px;
	background: rgba(255,255,255,0.2);
	width: 60px;
	height: 60px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	backdrop-filter: blur(4px);
}

.kdn-motivation-text {
	flex: 1;
}

.kdn-motivation-text h4 {
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.9;
	margin-bottom: 4px;
}

.kdn-motivation-text p {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.kdn-motivation-btn {
	background: #fff;
	color: var(--secondary);
	border: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: 180ms ease;
	cursor: pointer;
	font-size: 16px;
}

.kdn-motivation-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/**
 * Global Architecture for Generic Post Cards
 */
.kdn-post-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	display: flex;
	gap: 16px;
	transition: 180ms ease;
}

.kdn-post-card:hover {
	border-color: rgba(226, 232, 240, 0.9);
	box-shadow: var(--shadow);
}

.kdn-post-card.kdn-ad-in-feed {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	width: 100%;
}

.kdn-post-avatar {
	flex: 0 0 auto;
}

.kdn-post-body {
	flex: 1;
	min-width: 0;
}

.kdn-post-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	margin-top: 6px;
	flex-wrap: wrap;
}

.kdn-post-header-main {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	flex: 1;
}

.kdn-post-author {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
}

.kdn-verified-badge {
	display: inline-block;
	vertical-align: middle;
	margin-top: -1px;
	margin-left: 2px;
	font-size: 18px;
	color: #1D9BF0;
}

.kdn-post-username, .kdn-post-time {
	font-size: 14px;
	color: var(--muted);
}

.kdn-post-location {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	margin-bottom: 12px;
}

.kdn-post-location i {
	color: var(--primary);
	font-size: 16px;
}

.kdn-post-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text);
	margin-bottom: 14px;
}

/**
 * Custom Post Feed Status Variations
 */
.kdn-post-status-feeling {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--primary-dark);
	background: var(--primary-soft);
	padding: 4px 10px;
	border-radius: 999px;
}

.kdn-feeling-icon {
	font-size: 14px;
}

.kdn-status-text {
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-dark);
	line-height: 1.5;
	margin-bottom: 16px;
}

/**
 * Text Highlight Blocks and Citations
 */
.kdn-post-quote {
	padding: 24px;
	background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	margin-bottom: 14px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.kdn-quote-mark {
	color: var(--primary);
	flex: 0 0 auto;
	opacity: 0.25;
	font-size: 32px;
	margin-top: -4px;
}

.kdn-quote-content {
	flex: 1;
	min-width: 0;
}

.kdn-post-quote blockquote {
	font-size: 17px;
	font-style: normal;
	line-height: 1.6;
	color: var(--text);
	margin-bottom: 12px;
	font-weight: 600;
}

.kdn-post-quote cite {
	font-size: 14px;
	font-weight: 700;
	color: var(--muted);
	display: block;
	font-style: normal;
}

/**
 * Interactive Assessment Card (Quiz)
 */
.kdn-quiz-card {
	border: 2px solid var(--primary-soft);
	background: linear-gradient(180deg, #fff, #fff1f2);
}

.kdn-quiz-badge {
	margin: 0;
	padding: 2px 8px;
	font-size: 10px;
	background: var(--primary);
	color: #fff;
	border-radius: 999px;
}

.kdn-quiz-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--primary-dark);
	margin-bottom: 16px;
}

.kdn-quiz-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.kdn-quiz-option-btn {
	width: 100%;
	padding: 14px;
	border: 1px solid var(--primary-soft);
	border-radius: 12px;
	background: #fff;
	font-weight: 600;
	text-align: left;
	color: var(--text);
	transition: 180ms ease;
}

.kdn-quiz-option-btn:hover {
	border-color: var(--primary);
	background: var(--primary-soft);
	color: var(--primary-dark);
}

/**
 * Affiliated Products or Deal Promo Cards
 */
.kdn-deal-card {
	border: 1px solid #fcd34d;
}

.kdn-deal-content {
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	display: flex;
	align-items: center;
	margin-bottom: 14px;
}

.kdn-deal-image {
	width: 120px;
	height: 120px;
	flex: 0 0 auto;
	background: #f8fafc;
}

.kdn-deal-info {
	padding: 16px;
	flex: 1;
}

.kdn-deal-info h4 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 6px;
}

.kdn-deal-pricing {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 10px;
}

.kdn-deal-price-current {
	font-size: 18px;
	font-weight: 800;
	color: var(--primary);
}

.kdn-deal-price-old {
	font-size: 13px;
	text-decoration: line-through;
	color: var(--muted);
}

.kdn-deal-btn {
	background: var(--text);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	transition: 180ms ease;
}

.kdn-deal-btn:hover {
	background: var(--primary);
}

/**
 * Visual Content Attachments (Image/GIF)
 */
.kdn-post-image {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 14px;
	border: 1px solid var(--border);
	max-height: 400px;
}

.kdn-post-image.is-gif {
	display: block;
}

.kdn-gif-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(15, 23, 42, 0.75);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
	padding: 4px 8px;
	border-radius: 6px;
	backdrop-filter: blur(4px);
	z-index: 2;
}

/**
 * Embedded Video Player and Wrappers
 */
.kdn-post-video {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 14px;
	border: 1px solid var(--border);
	cursor: pointer;
}

.kdn-post-video img {
	width: 100%;
	height: auto;
	max-height: 400px;
	display: block;
	object-fit: cover;
}

.kdn-video-play-btn {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 60px;
	height: 60px;
	font-size: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(4px);
	display: grid;
	place-items: center;
	color: var(--primary);
	transition: transform 180ms ease, background 180ms ease;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
	z-index: 2;
}

.kdn-post-video:hover .kdn-video-play-btn {
	transform: scale(1.1);
	background: #fff;
}

.kdn-video-duration {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: rgba(15, 23, 42, 0.8);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 6px;
	backdrop-filter: blur(4px);
	z-index: 2;
}

/**
 * Interactive Poll Component
 */
.kdn-post-poll {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.kdn-poll-option {
	position: relative;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 180ms ease;
}

.kdn-poll-option:hover {
	border-color: var(--primary-soft);
}

.kdn-poll-bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: var(--primary-soft);
	z-index: 1;
	transition: width 0.5s ease;
}

.kdn-w-65 { width: 65%; }
.kdn-w-20 { width: 20%; }
.kdn-w-15 { width: 15%; }

.kdn-poll-text {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.kdn-poll-meta {
	font-size: 12px;
	color: var(--muted);
	margin-top: 4px;
}

/**
 * Universal Post Action Buttons Group
 */
.kdn-post-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: 12px;
}

.kdn-action-group {
	display: flex;
	align-items: center;
	gap: 12px;
}

.kdn-post-action-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	transition: all 180ms ease;
	padding: 6px 10px;
	border-radius: 999px;
	margin-left: -10px;
}

.kdn-action-group:last-child .kdn-post-action-btn {
	margin-left: 0;
	margin-right: -10px;
}

.kdn-post-action-btn i {
	font-size: 16px;
}

.kdn-action-comment:hover { color: #3b82f6; background: #eff6ff; }
.kdn-action-repost:hover, .kdn-action-repost.is-reposted { color: #10b981; background: #ecfdf5; }
.kdn-action-repost.is-reposted svg { stroke: #10b981; }
.kdn-action-like:hover, .kdn-action-like.is-liked { color: #f43f5e; background: #fff1f2; }
.kdn-action-like.is-liked svg { fill: #f43f5e; }
.kdn-action-view:hover { color: #8b5cf6; background: #f5f3ff; }
.kdn-action-bookmark:hover { color: #f59e0b; background: #fffbeb; }
.kdn-action-share:hover { color: #0ea5e9; background: #f0fdfa; }

/**
 * Secondary Container / Right Sidebar Base
 */
.kdn-right-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 24px);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.kdn-discovery-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kdn-discovery-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.kdn-discovery-info {
	flex: 1;
	min-width: 0;
}

.kdn-discovery-name {
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
	display: flex;
	align-items: center;
	gap: 4px;
}

.kdn-discovery-username {
	font-size: 13px;
	color: var(--muted);
}

.kdn-btn-follow {
	background: var(--text);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	transition: 180ms ease;
}

.kdn-btn-follow:hover {
	background: var(--primary);
}

/**
 * Dedicated Layout for Expert Consultation Block
 */
.kdn-expert-widget {
	background: linear-gradient(180deg, #fdf4ff, #fff);
	border: 1px solid #f0abfc;
}

.kdn-expert-widget .kdn-widget-title {
	color: #a21caf;
}

.kdn-widget-icon.kdn-ask-expert {
	background: #f0abfc;
	color: #fff;
}

.kdn-expert-desc {
	font-size: 13px;
	color: var(--text-light);
	margin-bottom: 12px;
	line-height: 1.4;
}

.kdn-expert-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/**
 * Tailored Select Interface for Expert Forms
 */
.kdn-custom-select-wrap {
	position: relative;
	width: 100%;
}

.kdn-expert-select-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 10px;
	font-size: 13px;
	outline: 0;
	color: var(--text);
	background: #fff;
	transition: border-color 180ms ease;
}

.kdn-expert-select-btn:focus,
.kdn-custom-select-wrap.is-open .kdn-expert-select-btn {
	border-color: #a21caf;
}

.kdn-expert-select-btn .kdn-chevron {
	transition: transform 180ms ease;
}

.kdn-custom-select-wrap.is-open .kdn-chevron {
	transform: rotate(180deg);
}

.kdn-custom-select-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	width: 100%;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	z-index: 50;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-5px);
	transition: 180ms ease, opacity 180ms ease, visibility 180ms ease;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.kdn-custom-select-wrap.is-open .kdn-custom-select-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.kdn-custom-select-option {
	padding: 10px 12px;
	text-align: left;
	background: none;
	border: none;
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	transition: 180ms ease;
}

.kdn-custom-select-option:hover {
	background: #fdf4ff;
	color: #a21caf;
}

.kdn-expert-textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 10px;
	font-size: 13px;
	outline: 0;
	color: var(--text);
	transition: border-color 180ms ease;
	resize: none;
	min-height: 70px;
}

.kdn-expert-textarea:focus {
	border-color: #a21caf;
}

.kdn-expert-btn {
	background: #a21caf;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 10px;
	border-radius: var(--radius-sm);
	width: 100%;
	transition: 180ms ease;
}

.kdn-expert-btn:hover {
	background: #86198f;
}

/**
 * Scheduled Upcoming Broadcast Component
 */
.kdn-event-widget {
	background: linear-gradient(135deg, #fff1f2, #ffe4e6);
	border: 1px solid #fecdd3;
	color: var(--text);
}

.kdn-event-widget .kdn-widget-title {
	color: var(--primary-dark);
}

.kdn-widget-icon.kdn-live {
	background: #fff;
	color: var(--primary);
}

.kdn-event-details {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	align-items: center;
}

.kdn-event-thumb {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	overflow: hidden;
	flex: 0 0 auto;
}

.kdn-event-info h4 {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 4px;
}

.kdn-event-info span {
	font-size: 12px;
	color: var(--text-light);
}

.kdn-event-countdown {
	display: flex;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(8px);
	padding: 12px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.kdn-event-countdown div {
	text-align: center;
}

.kdn-event-countdown strong {
	display: block;
	font-size: 18px;
	color: var(--primary);
	line-height: 1;
}

.kdn-event-countdown strong.kdn-highlight {
	color: var(--primary-dark);
}

.kdn-event-countdown span {
	font-size: 10px;
	color: var(--muted);
	text-transform: uppercase;
}

.kdn-event-btn {
	width: 100%;
	margin-top: 12px;
	padding: 10px;
	border-radius: 8px;
	background: #fff;
	color: var(--primary-dark);
	font-size: 13px;
	font-weight: 600;
	border: 1px solid #fecdd3;
	transition: 180ms ease;
}

.kdn-event-btn:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

/**
 * Health Analytics Box: BMI Form & Evaluator
 */
.kdn-widget-bmi {
	position: relative;
	overflow: hidden;
}

.kdn-bmi-desc {
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
	margin-bottom: 16px;
	position: relative;
	z-index: 2;
	width: 100%;
}

.kdn-bmi-inputs {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin-bottom: 12px;
}

.kdn-bmi-form {
	display: flex;
	flex-direction: column;
}

.kdn-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.kdn-form-group label {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-light);
}

.kdn-form-control {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	font-size: 14px;
	outline: 0;
	transition: border-color 180ms ease;
}

.kdn-form-control:focus {
	border-color: var(--primary);
}

.kdn-btn-calculate {
	position: relative;
	z-index: 2;
	width: 100%;
	background: var(--primary);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 12px;
	border-radius: var(--radius-sm);
	text-align: center;
	transition: 180ms ease;
}

.kdn-btn-calculate:hover {
	background: var(--primary-dark);
}

.kdn-bmi-result {
	position: relative;
	z-index: 2;
	margin-top: 10px;
	padding: 12px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	display: none;
}

.kdn-bmi-result.is-visible {
	display: block;
}

.kdn-bmi-result.is-error {
	background: #fee2e2;
	color: #b91c1c;
}

.kdn-bmi-result.is-underweight {
	background: #dbeafe;
	color: #1d4ed8;
}

.kdn-bmi-result.is-normal {
	background: #d1fae5;
	color: #047857;
}

.kdn-bmi-result.is-overweight {
	background: #fef3c7;
	color: #b45309;
}

.kdn-bmi-result.is-obese {
	background: #ffe4e6;
	color: #be123c;
}

/**
 * Universal Site Footer Architecture
 * Appends newsletter section, quick links, and legal copy.
 */
.kdn-site-footer {
	background: var(--card);
	border-top: 1px solid var(--border);
	padding: 50px 0 24px;
	margin-top: 40px;
}

/**
 * Floating Newsletter Subscription Banner
 */
.kdn-footer-newsletter {
	background: linear-gradient(135deg, var(--primary-soft), #f5f3ff);
	border: 1px solid #fff;
	border-radius: var(--radius-lg);
	padding: 36px 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
	margin-bottom: 60px;
}

.kdn-newsletter-info h3 {
	font-size: 22px;
	font-weight: 850;
	letter-spacing: -0.03em;
	color: var(--primary-dark);
	margin-bottom: 8px;
}

.kdn-newsletter-info p {
	font-size: 15px;
	color: var(--text-light);
	line-height: 1.5;
	max-width: 500px;
}

.kdn-newsletter-form {
	display: flex;
	gap: 10px;
	width: 100%;
	max-width: 420px;
	position: relative;
}

.kdn-newsletter-form input {
	flex: 1;
	min-width: 0;
	padding: 14px 20px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(8px);
	font-size: 14px;
	color: var(--text);
	outline: none;
	transition: 180ms ease;
}

.kdn-newsletter-form input:focus {
	border-color: var(--primary);
	background: #fff;
}

.kdn-newsletter-form button {
	padding: 14px 28px;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	transition: 180ms ease;
	white-space: nowrap;
}

.kdn-newsletter-form button:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(244, 63, 94, 0.25);
}

/**
 * Footer Primary Matrix Layout
 */
.kdn-footer-main {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 50px;
}

.kdn-brand-desc {
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.6;
	margin: 16px 0 24px;
	max-width: 320px;
}

.kdn-social-links {
	display: flex;
	gap: 12px;
}

.kdn-social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bg);
	display: grid;
	place-items: center;
	color: var(--text-light);
	border: 1px solid var(--border);
	transition: 180ms ease;
}

.kdn-social-icon:hover {
	background: var(--primary-soft);
	color: var(--primary-dark);
	border-color: #fecdd3;
	transform: translateY(-2px);
}

.kdn-footer-widget h4 {
	font-size: 16px;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 20px;
}

.kdn-footer-widget ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kdn-footer-widget a {
	font-size: 14px;
	color: var(--muted);
	font-weight: 500;
	transition: 180ms ease;
}

.kdn-footer-widget a:hover {
	color: var(--primary);
	padding-left: 4px;
}

/**
 * Footer Legal Notice Region
 */
.kdn-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 13px;
	color: var(--muted);
}

.kdn-footer-legal {
	display: flex;
	gap: 24px;
}

.kdn-footer-legal a {
	transition: color 180ms ease;
}

.kdn-footer-legal a:hover {
	color: var(--primary);
}

/**
 * Mobile Interface Breakpoints & Adjustments
 */
@media (max-width: 1040px) {
	.kdn-footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
	
	.kdn-footer-brand {
		grid-column: 1 / -1;
	}
	
	.kdn-brand-desc {
		max-width: 100%;
	}

	.kdn-tools-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kdn-hero-grid {
		grid-template-columns: 1fr;
	}

	.kdn-discover-card,
	.kdn-hero-slider {
		height: auto;
		min-height: 480px;
	}

	.kdn-discover-card {
		overflow: visible;
	}

	.kdn-discover-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: none;
	}

	.kdn-discover-item {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.kdn-discover-thumb {
		height: 84px;
	}

	.kdn-feed-layout {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.kdn-right-sidebar {
		display: none;
	}
}

@media (max-width: 850px) {
	.kdn-header-actions {
		margin-left: auto;
	}

	.kdn-mobile-menu-btn {
		display: grid;
	}

	.kdn-main-nav {
		position: fixed;
		top: var(--header-height);
		left: 16px;
		right: 16px;
		padding: 14px;
		border-radius: 22px;
		background: #fff;
		border: 1px solid var(--border);
		box-shadow: var(--shadow);
		flex-direction: column;
		align-items: stretch;
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		transition: 180ms ease;
		z-index: 60;
	}

	.kdn-main-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.kdn-main-nav a {
		border-radius: 14px;
	}

	.kdn-profile-name {
		display: none;
	}

	.kdn-feed-layout {
		grid-template-columns: 1fr;
	}

	.kdn-left-sidebar {
		display: none;
	}
}

@media (max-width: 680px) {
	:root {
		--header-height: 74px;
	}

	.kdn-page-shell {
		width: min(100% - 24px, 1180px);
	}

	.kdn-header-inner {
		gap: 10px;
	}

	.kdn-logo span:last-child {
		display: none;
	}

	.kdn-logo-mark {
		width: 40px;
		height: 40px;
	}

	.kdn-tools-list {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		gap: 8px;
	}

	.kdn-tool-link {
		flex: 1;
		justify-content: center;
		padding: 12px;
	}

	.kdn-tool-link span:not(.kdn-tool-icon) {
		display: none;
	}

	.kdn-hero-slider {
		min-height: 520px;
	}

	.kdn-slide-content {
		left: 22px;
		right: 22px;
		bottom: 88px;
	}

	.kdn-slider-controls {
		left: 22px;
		right: auto;
	}

	.kdn-slide-desc {
		font-size: 14px;
	}

	.kdn-discover-card {
		padding: 16px;
	}

	.kdn-discover-list {
		grid-template-columns: 1fr;
	}

	.kdn-discover-item {
		grid-template-columns: 96px minmax(0, 1fr);
	}
	
	.kdn-post-action-btn {
		font-size: 0;
		gap: 0;
	}
	
	.kdn-action-group {
		width: 100%;
		justify-content: flex-end;
	}
	
	.kdn-bmi-desc, .kdn-bmi-inputs {
		width: 100%;
	}
	
	.kdn-footer-newsletter {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px;
		gap: 20px;
	}
	
	.kdn-newsletter-info h3 {
		font-size: 18px;
	}
	
	.kdn-footer-main {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.kdn-footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
	
	.kdn-footer-legal {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}
}