@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700;800&display=swap');

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Heebo', sans-serif;
	background: #f4f6fb;
	color: #0f172a;
}

/* =====================
   APP LAYOUT
===================== */
.app {
	display: flex;
	min-height: 100vh;
	overflow: hidden;
	/* מותר */

}

/* =====================
   SIDEBAR
===================== */
.sidebar {
	width: 260px;
	background: linear-gradient(180deg, #0b1020, #0f1633);
	color: #fff;
	padding: 18px 14px;
	transition: width .25s ease, transform .25s ease;
}

.sidebar.collapsed {
	width: 72px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 24px;
}

.sidebar.collapsed .label {
	display: none;
}

.nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 12px;
	color: #e5e7eb;
	text-decoration: none;
	font-weight: 600;
	transition: background .15s ease;
}

.nav a:hover {
	background: rgba(255, 255, 255, .08);
}

.nav hr {
	border: none;
	height: 1px;
	background: #e4e4e4;
	margin: 30px auto;
	width: 40%;
}

/* =====================
   MAIN
===================== */
.main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* =====================
   TOPBAR
===================== */
.topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	gap: 12px;
}

html,
body {
	height: 100%;
	margin: 0;
}

.app {
	display: flex;
	height: 100vh;
	/* לא min-height */
	overflow: hidden;
}

.top-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* menu toggle – icon only */
.menu-btn {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: none;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	transition: background .15s ease;
}

.menu-btn:hover {
	background: #e2e8f0;
}

/* search */
.search {
	width: 320px;
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
}

/* =====================
   AUTH BUTTONS
===================== */
.top-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* login */
.top-link {
	text-decoration: none;
	color: #0f172a;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 12px;
	transition: background .15s ease;
}

.top-link:hover {
	background: #f1f5f9;
}

/* register */
.top-link.primary {
	background: #0f172a;
	color: #fff;
}

.top-link.primary:hover {
	background: #020617;
}

/* =====================
   CONTENT / STAGE
===================== */
.content {
	padding: 28px 0;
}

.stage {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

/* =====================
   HERO
===================== */
.hero-grid {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 16px;
	margin-bottom: 40px;
}

.hero-main {
	height: 320px;
	border-radius: 22px;
	background-size: cover;
	background-position: center;
	position: relative;
	color: #fff;
	padding: 24px;
	display: flex;
	align-items: flex-end;
}

.hero-main::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75));
}

.hero-main>* {
	position: relative;
}

.hero-side {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hero-mini {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 16px;
	padding: 10px;
}

.hero-mini img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: cover;
}

/* =====================
   SECTIONS
===================== */
.section-title {
	margin: 32px 0 16px;
}

.section-title h2 {
	margin: 0;
	font-size: 22px;
}

/* =====================
   CAROUSEL
===================== */
.carousel-wrap {
	position: relative;
	margin-bottom: 32px;
}

.carousel-window {
	overflow: hidden;
}

.carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min-content;
	gap: 16px;
	transition: transform .3s ease;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: none;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
	cursor: pointer;
}

.carousel-btn.prev {
	right: -18px;
}

.carousel-btn.next {
	left: -18px;
}

/* =====================
   CARDS
===================== */
.card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
	text-decoration: none;
	color: inherit;
}

/* landscape */
.card.asset.large {
	width: 220px;
	overflow: hidden;
}

.card.asset.large img {
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.card.asset.large .info {
	padding: 12px;
}

/* portrait */
.card.asset.portrait {
	width: 180px;
	overflow: hidden;
}

.card.asset.portrait img {
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.card.asset.portrait .info {
	padding: 12px;
	text-align: center;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: fixed;
		top: 0;
		right: 0;
		height: 100%;
		transform: translateX(100%);
		z-index: 1000;
	}

	.sidebar.open {
		transform: translateX(0);
	}

	.search {
		display: none;
	}
}

@media (max-width: 600px) {
	.app {
		overflow: hidden;
	}

	.top-link {
		padding: 6px 10px;
		font-size: 14px;
	}

	.hpstats {
		padding: 0px 5px 0px !important;
		font-size: 14px !important;
	}
}

/* /assets/css/asset.css – עיצוב סליק לעמוד ASSET */

:root {
	--bg: #f6f8fb;
	--card: #ffffff;
	--text: #0f172a;
	--muted: #64748b;
	--border: #e5e7eb;
	--accent: #16a34a;
	--danger: #dc2626;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.asset-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 24px 80px;
}

.asset-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
	gap: 24px;
}

h3 {
	font-weight: 300;
	color: #999;
	margin-top: -20px;
	font-size: 16px;
}

a.btn.google.full {
	background: #222222;
	top: 0;
}

.asset-header-left {
	display: flex;
	align-items: center;
	gap: 18px;
}

.asset-logo {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 24px;
	background: #eee;
}

.asset-header h1 {
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	color: var(--text);
}

.asset-header .muted {
	font-size: 14px;
	color: var(--muted);
}

.asset-header-right {
	text-align: left;
}

.asset-header-right .price {
	font-size: 26px;
	font-weight: 700;
	color: var(--accent);
}

.asset-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 24px;
}

.card {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 20px 22px;
}

.card h3,
.card h4 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
}

.card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted);
}

.metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.metrics .label {
	font-size: 12px;
	color: var(--muted);
}

.metrics strong {
	display: block;
	font-size: 15px;
	margin-top: 4px;
	color: var(--text);
}

.asset-side .btn {
	width: 100%;
	padding: 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
}

.btn.primary {
	background: #5767f2;
	color: #fff;
	margin-bottom: 0px;
	border: 0;
	padding: 20px;
	font-size: 20px;
	border-radius: 20px;
	font-weight: 700;
}

.btn.outline {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text);
}


.mini-list a {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mini-list li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0px 0;
}

.mini-list li:last-child {
	border-bottom: none;
}

.mini-list img a {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	object-fit: cover;
	background: #eee;
}

.mini-list a {
	text-decoration: none;
	font-size: 16px;
	color: var(--text);
	font-weight: 500;
}

.mini-list span a {
	display: block;
	font-size: 12px;
	color: var(--muted);
}

/* Chart container polish */
#candleChart {
	border-radius: 14px;
	overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
	.asset-grid {
		grid-template-columns: 1fr;
	}

	.asset-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.asset-header-right {
		text-align: right;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.asset-logo {
		width: 72px;
		height: 72px;
	}

	.asset-header h1 {
		font-size: 22px;
	}

	.metrics {
		grid-template-columns: 1fr;
	}
}

/* /assets/css/asset.css – סליק + כפתורי קנייה/מכירה/ווצ'ליסט + פיד */

.asset-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 16px 80px;
}

.asset-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
}

.asset-header-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.asset-logo {
	width: 76px;
	height: 76px;
	border-radius: 22px;
	object-fit: cover;
	background: #e5e7eb;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.asset-header h1 {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
}

.muted {
	color: #64748b;
}

.meta-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 13px;
}

.meta-line .dot {
	opacity: .6;
}

.category-link {
	color: #0f172a;
	text-decoration: none;
}

.category-link:hover {
	text-decoration: underline;
}

.role {
	color: #0f172a;
	opacity: .85;
}

.asset-header-right {
	text-align: left;
}

.price-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.price {
	font-size: 18px;
	font-weight: 900;
	color: #0f172a;
}

.small-meta {
	margin-top: 6px;
	font-size: 13px;
}

.action-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Trading buttons */
.trade-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	user-select: none;
}

.trade-btn.buy {
	background: #5767f2;
	color: #fff;
	font-family: inherit;
}

.trade-btn.buy:hover {
	background: #8189cf;
}

.trade-btn.sell {
	background: #fff;
	color: #0f172a;
	border-color: #e5e7eb;
}

.trade-btn.sell:hover {
	background: #f1f5f9;
}

.watch-form {
	margin: 0;
}

.watch-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	border: 1px solid #0f172a;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
}

.watch-btn i {
	font-size: 14px;
}

.watch-btn.on {
	background: #111827;
	border-color: #111827;
}

.watch-btn.link {
	background: #0f172a;
	color: #fff;
	text-decoration: none;
}

.asset-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 18px;
	align-items: start;
}

.card {
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.card h3,
.card h4 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 900;
	color: #0f172a;
}

.card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.prose {
	color: #334155;
	line-height: 1.85;
	font-size: 14px;
}

.mini-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mini-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eef2f7;
}

.mini-list li:last-child {
	border-bottom: none;
}

.mini-list img {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	object-fit: cover;
	background: #e5e7eb;
}

.mini-list a {
	text-decoration: none;
	color: #0f172a;
	font-weight: 800;
	font-size: 14px;
	display: block;
}

.mini-list a span {
	display: block;
	color: #64748b;
	font-weight: 700;
	font-size: 12px;
	margin-top: 2px;
}

/* Social */
.social-card {
	margin-top: 0;
}

.post-form textarea {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 12px 12px;
	resize: vertical;
	min-height: 90px;
	font-family: inherit;
	font-size: 14px;
	background: #f9fafb;
}

.post-form-actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 10px;
	gap: 10px;
}

.login-gate {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	background: #f8fafc;
	border: 1px dashed #e5e7eb;
	border-radius: 16px;
	padding: 14px;
	margin-bottom: 10px;
}

.feed {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.post {
	display: flex;
	gap: 10px;
}

.avatar {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	object-fit: cover;
	background: #e5e7eb;
}

.avatar.sm {
	width: 30px;
	height: 30px;
	border-radius: 10px;
}

.post-body {
	flex: 1;
	min-width: 0;
}

.post-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.who {
	display: flex;
	align-items: center;
	gap: 10px;
}

.post-content {
	margin-top: 6px;
	color: #334155;
	line-height: 1.75;
	font-size: 14px;
}

.post-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.likes-count {
	font-weight: 800;
	font-size: 12px;
}

.icon-btn {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	color: #0f172a;
}

.icon-btn:hover {
	background: #f1f5f9;
}

.icon-btn.link {
	border-color: #e5e7eb;
}

.inline {
	display: inline;
	margin: 0;
}

.comments {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.comment {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	padding: 10px;
	border-radius: 14px;
}

.comment-body {
	flex: 1;
}

.comment-top {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 4px;
	font-size: 13px;
}

.comment-form {
	display: flex;
	gap: 10px;
	align-items: center;
}

.comment-form input {
	flex: 1;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 10px 12px;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
}

.comment-form.guest {
	justify-content: flex-start;
}

.empty-state {
	padding: 14px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
}

@media (max-width: 980px) {
	.asset-grid {
		grid-template-columns: 1fr;
	}

	.asset-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.asset-header-right {
		width: 100%;
		text-align: right;
	}

	.price-row {
		flex-wrap: wrap;
	}
}

/* ===== USER MENU FIX (TOPBAR) ===== */

.user-menu {
	position: relative;
}

.user-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	padding: 6px 10px 6px 14px;
	cursor: pointer;
	font-family: inherit;
}

.user-trigger:hover {
	background: #f8fafc;
}

.user-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	background: #e5e7eb;
}

.user-name {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
}

.user-trigger i {
	font-size: 12px;
	color: #64748b;
}

/* Dropdown */

.user-menu .dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 180px;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
	display: none;
	z-index: 1000;
	overflow: hidden;
}


.user-menu .dropdown a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
}

.user-menu .dropdown a:hover {
	background: #f1f5f9;
}

.user-menu .dropdown i {
	width: 16px;
	text-align: center;
	color: #64748b;
}

.user-menu .dropdown hr {
	border: none;
	border-top: 1px solid #e5e7eb;
	margin: 6px 0;
}

.user-menu .dropdown a.logout {
	color: #b91c1c;
}

.user-menu .dropdown a.logout i {
	color: #b91c1c;
}

/* Mobile */
@media (max-width: 768px) {
	.user-name {
		display: none;
	}

	.hpfeed {
		padding: 0 !important;
	}
}

/* ===== USER DROPDOWN FIX ===== */

.user-menu .dropdown {
	display: none;
}

.user-menu.open .dropdown {
	display: block;
}

/* שומר שהמעבר עם העכבר לא יסגור */
.user-menu,
.user-menu * {
	pointer-events: auto;
}

/* === USER MENU MOBILE SAFE === */

.user-menu .dropdown {
	display: none;
}

.user-menu.open .dropdown {
	display: block;
}

.user-trigger {
	pointer-events: auto;
	touch-action: manipulation;
}

/* ===== MOBILE SIDEBAR FIX ===== */

/* Desktop – כרגיל */
.sidebar {
	transition: transform .3s ease;
}

/* Mobile behavior */
@media (max-width: 900px) {

	.sidebar {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: 260px;
		transform: translateX(100%);
		z-index: 1000;
		background: #020617;
		/* אותו צבע שלך */
	}

	.sidebar.open {
		transform: translateX(0);
	}

	/* Main content stays full width */
	.main {
		margin-right: 0 !important;
	}

	/* Overlay */
	.sidebar-overlay {
		position: fixed;
		inset: 0;
		background: rgba(2, 6, 23, .45);
		z-index: 900;
		display: none;
	}

	.sidebar.open+.sidebar-overlay {
		display: block;
	}
}

/* ===== MOBILE SIDEBAR FIX ===== */
@media (max-width: 768px) {

	.sidebar {
		position: fixed;
		top: 0;
		right: 0;
		/* RTL */
		height: 100vh;
		width: 260px;
		background: #ffffff;
		z-index: 9999;

		transform: translateX(100%);
		transition: transform 0.3s ease;
	}

	.sidebar.open {
		transform: translateX(0);
	}

	/* במובייל לא משתמשים ב-collapsed */
	.sidebar.collapsed {
		width: 260px;
	}

	.main {
		margin-right: 0 !important;
	}
}

.menu-btn {
	z-index: 10000;
	position: relative;
}

/* ================================
   MOBILE SIDEBAR – FINAL FIX
   ================================ */

@media (max-width: 900px) {

	/* מבטל כל CSS קודם */
	body {
		overflow-x: hidden;
		overflow-y: auto;
	}

	.sidebar {
		position: fixed !important;
		margin-top: 0px !important;
		right: 0 !important;
		/* RTL */
		height: 100vh !important;
		width: 100% !important;

		background: #fffff !important;
		z-index: 9999 !important;

		transform: translateX(100%) !important;
		transition: transform .3s ease !important;

		display: block !important;
	}

	.sidebar.open {
		transform: translateX(0) !important;
	}

	/* מנטרל collapsed במובייל */
	.sidebar.collapsed {
		transform: translateX(100%) !important;
		width: 260px !important;
	}

	.main {
		margin-right: 0 !important;
	}

	/* כפתור ההמבורגר מעל הכל */
	.menu-btn {
		position: relative;
		z-index: 100000;
	}
}

/* ================================
   DESKTOP SIDEBAR TOGGLE FIX
   ================================ */

/* מצב ברירת מחדל – פתוח */
@media (min-width: 901px) {

	.sidebar {
		width: 260px;
	}

	/* כשה-JS מוסיף open → נסגור (collapsed) */
	.sidebar.open {
		width: 72px;
	}

	.sidebar.open .label {
		display: none;
	}

	.sidebar.open .logo span {
		display: none;
	}

	.sidebar.open .nav a {
		justify-content: center;
	}

	.sidebar.open .nav a span {
		display: none;
	}

	.sidebar.open .nav a i {
		font-size: 18px;
	}
}

/* ================================
   MOBILE MENU BUTTON POSITION FIX
   ================================ */

@media (max-width: 900px) {

	/* כשהסיידבר פתוח – מזיזים את הכפתור */
	.sidebar.open~.main .menu-btn {
		position: fixed;
		top: 14px;
		left: 14px;
		/* RTL – בצד שמאל */
		z-index: 100001;
		background: #fff;
		box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
	}

	/* מוודא שלא יושב על הלוגו */
	.sidebar .logo {
		padding-left: 56px;
		/* מקום לכפתור */
	}
}

/* ===== MENU ICON TOGGLE POLISH ===== */

.menu-btn i {
	transition: transform .2s ease, opacity .2s ease;
}

.sidebar.open~.main .menu-btn i {
	transform: rotate(90deg);
}

.pos {
	color: #16a34a;
	font-weight: 600;
}

.neg {
	color: #dc2626;
	font-weight: 600;
}

.buy-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.buy-modal.active {
	display: flex;
}

.buy-modal-box {
	background: #fff;
	padding: 24px;
	width: 360px;
	border-radius: 12px;
}

.buy-error {
	color: #dc2626;
	margin-top: 8px;
	display: none;
}

.buy-success {
	color: #16a34a;
	margin-top: 12px;
	display: none;
}

/* BUY MODAL – force hidden */
.modal.hidden {
	display: none !important;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

/* ===== BUY MODAL FIX ===== */
.modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	display: none;
	/* סגור כברירת מחדל */
	align-items: center;
	justify-content: center;
	z-index: 9999;
	/* מעל הכל */
}

.modal.open {
	display: flex;
}

.modal-box {
	background: #fff;
	padding: 24px;
	width: 360px;
	border-radius: 12px;
	max-width: calc(100% - 32px);
}

.modal .close {
	position: absolute;
	top: 12px;
	left: 12px;
	background: none;
	border: 0;
	font-size: 20px;
	cursor: pointer;
}

.error {
	color: #dc2626;
	margin-top: 8px;
}

.success {
	color: #16a34a;
	margin-top: 12px;
}

/* ===== LIVE SEARCH ===== */

.live-search-wrap {
	position: relative;
	width: 320px;
}

.live-search-box {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 100%;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, .15);
	border: 1px solid #e5e7eb;
	display: none;
	z-index: 9999;
	overflow: hidden;
}

.live-search-box.open {
	display: block;
}

.ls-section {
	padding: 8px 0;
}

.ls-title {
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 800;
	color: #64748b;
}

.ls-row {
	display: flex;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none;
	color: #0f172a;
	align-items: center;
}

.ls-row:hover {
	background: #f1f5f9;
}

.ls-row img {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	object-fit: cover;
	background: #e5e7eb;
}

.ls-meta {
	font-size: 12px;
	color: #64748b;
}

.ls-empty {
	padding: 14px;
	text-align: center;
	font-size: 14px;
	color: #64748b;
}

/* =========================
   MOBILE LIVE SEARCH
========================= */

.top-search {
	flex: 1;
	max-width: 420px;
}

/* מובייל */
@media (max-width: 900px) {

	.topbar {
		position: sticky;
		top: 0;
		z-index: 100000;
		/* מעל הסיידבר */
		gap: 10px;
	}

	.top-search {
		max-width: none;
	}

	.top-search .search {
		width: 100%;
		padding: 10px 14px;
		border-radius: 999px;
		font-size: 14px;
	}

	/* תיבת תוצאות – נפתחת מתחת לטופבר */
	.top-search .live-search-box {
		position: fixed;
		top: 64px;
		/* גובה הטופבר */
		right: 12px;
		left: 12px;
		width: auto;
		max-height: 65vh;
		overflow-y: auto;
		border-radius: 18px;
	}
}

/* מובייל קטן */
@media (max-width: 480px) {
	.top-search .search {
		font-size: 13px;
	}
}

/* =========================
   TOPBAR ALIGN FIX (RTL)
========================= */

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.top-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

/* החיפוש תמיד ליד כפתור התפריט */
.top-search {
	position: relative;
	width: 320px;
	max-width: 100%;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 901px) {
	.top-search {
		margin-right: 0;
		/* צמוד לימין */
	}
}

/* =========================
   MOBILE – ALWAYS VISIBLE
========================= */
@media (max-width: 900px) {

	.topbar {
		position: fixed;
		top: 0;
		z-index: 9999;
		padding: 10px 12px;
		gap: 10px;
	}

	.social-card {
		width: 100%;
	}



	section.feedcontainer.puff-in-center {
		width: 100% !important;
	}

	.hpfeedsidebar {
		width: 100% !important;
	}

	.top-right {
		width: 100%;
	}

	.top-search {
		flex: 1;
		width: auto;
	}

	.top-search .search {
		width: 100%;
		display: block;
		/* <-- זה היה חסר */
		padding: 10px 14px;
		border-radius: 999px;
	}

	/* תוצאות חיפוש */
	.top-search .live-search-box {
		position: fixed;
		top: 64px;
		/* גובה הטופבר */
		right: 12px;
		left: 12px;
		width: auto;
		max-height: 65vh;
		overflow-y: auto;
		z-index: 100001;
	}
}

.hidden {
	display: none !important
}

/* =========================
   BUY MODAL – FINAL (CSS ONLY)
   תומך ב: hidden / open / active
========================= */

.buy-modal {
	display: none;
	/* סגור כברירת מחדל */
	position: fixed;
	inset: 0;
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

/* פתיחה דרך JS: class="buy-modal open" או class="buy-modal active" */
.buy-modal.open,
.buy-modal.active {
	display: flex;
}

/* אם נשאר hidden בטעות – עדיין נפתח כשיש open/active */
.buy-modal.open.hidden,
.buy-modal.active.hidden {
	display: flex !important;
}

/* שומר שהאוברליי/בוקס יישבו נכון */
.buy-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(2px);
}

.buy-modal-box {
	position: relative;
	z-index: 1;
}

/* ===== HEADER ===== */

.buy-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 16px;
}

.buy-modal-close {
	position: absolute;
	top: 12px;
	left: 12px;
	background: transparent;
	border: 0;
	color: #94a3b8;
	font-size: 22px;
	cursor: pointer;
}

/* ===== SWITCH ===== */

.buy-switch {
	display: flex;
	background: #f9f9f900;
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 14px;
	border: 1px solid #d3d3d3;
}

.buy-switch button {
	flex: 1;
	border: 0;
	background: transparent;
	color: #94a3b8;
	padding: 8px 0;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
}

.buy-switch button.active {
	background: #cfcfcf;
	color: #fff;
}

/* ===== INPUT ===== */

.buy-label {
	display: block;
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 6px;
}

#buyInput,
.buy-tpsl input {
	width: 100%;
	background: #020617;
	border: 1px solid #1e293b;
	border-radius: 10px;
	padding: 10px 12px;
	color: #fff;
	font-size: 15px;
}

#buyInput:focus,
.buy-tpsl input:focus {
	outline: none;
	border-color: #2563eb;
}

.buy-helper {
	font-size: 13px;
	color: #94a3b8;
	margin: 6px 0 14px;
}

/* ===== TP / SL ===== */

.buy-tpsl {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
	display: none;
}

.buy-tpsl>div {
	flex: 1;
}

.buy-tpsl label {
	font-size: 12px;
	color: #94a3b8;
	margin-bottom: 4px;
	display: block;
}

/* ===== ASSET PREVIEW ===== */

.buy-asset {
	display: flex;
	gap: 12px;
	align-items: center;
	border-radius: 0;
	padding: 10px;
	margin-bottom: 14px;
	border-top: 1px solid #9999993b;
	border-bottom: 1px solid #9999993b;
}

.buy-asset img {
	width: 42px;
	height: 42px;
	border-radius: 20px;
	object-fit: cover;
}

.buy-asset strong {
	font-size: 14px;
}

.buy-asset .muted {
	font-size: 12px;
	color: #94a3b8;
}

.price-line {
	font-size: 14px;
	margin-top: 2px;
}

/* ===== ROWS ===== */

.buy-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin: 8px 0;
}

.buy-row.total {
	font-size: 16px;
	font-weight: 700;
}

.buy-row strong {
	color: #444444;
}

hr {
	border: 0;
	border-top: 1px solid #1e293b;
	margin: 12px 0;
}

/* ===== ERROR ===== */

.buy-error {
	background: rgba(220, 38, 38, 0.15);
	border: 1px solid #dc2626;
	color: #fecaca;
	padding: 10px;
	border-radius: 10px;
	font-size: 14px;
	margin: 12px 0;
}

.buy-error.hidden {
	display: none;
}

/* ===== BUTTON ===== */

.buy-modal-box .trade-btn.buy.full {
	width: 100%;
	margin-top: 8px;
	font-size: 16px;
	padding: 12px;
}

.buy-modal.open,
.buy-modal.active {
	display: flex;
}

.buy-modal.open.hidden,
.buy-modal.active.hidden {
	display: flex !important;
}

.gainers-losers {
	display: grid;
	grid-template-rows: auto auto;
	gap: 28px;
}

.gl-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.gl-card {
	background: #fff;
	border-radius: 18px;
	padding: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
	transition: .25s;
	text-align: center;
}

.gl-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.gl-img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	border-radius: 14px;
	margin-bottom: 8px;
}

.gl-name {
	font-weight: 800;
	margin-bottom: 4px;
}

.gl-price {
	font-size: 14px;
	font-weight: 600;
}

@media(max-width:768px) {
	.gl-row {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(max-width:480px) {
	.gl-row {
		grid-template-columns: 1fr;
	}
}

.tag-user {
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
}

.tag-asset {
	color: #5767f2;
	font-weight: 600;
	text-decoration: none;
}

.tag-hash {
	color: #7c3aed;
	text-decoration: none;
}

.tag-user:hover,
.tag-asset:hover,
.tag-hash:hover {
	text-decoration: underline;
}

.tooltip {
	position: fixed;
	background: #0f172a;
	color: #fff;
	padding: 10px 12px;
	border-radius: 10px;
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 13px;
	z-index: 9999;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.tooltip img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.tooltip.hidden {
	display: none;
}

.mini-asset {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 12px;

	padding: 10px 12px;
	text-decoration: none;
	color: inherit;

	direction: rtl;
	width: 100%;
	box-sizing: border-box;
}

/* ===============================
   ASSET TILES – HARD OVERRIDE
================================ */

/* מבטל עיצוב ברירת מחדל של לינקים */
.assets-strip a,
.assets-strip a:link,
.assets-strip a:visited,
.assets-strip a:hover,
.assets-strip a:active {
	color: inherit !important;
	text-decoration: none !important;
}

/* GRID */
.assets-strip {
	margin: 32px 0;
}

.assets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 18px;
}

/* CARD = LINK */
.asset-tile {
	display: block;
	background: #fff;
	border-radius: 18px;
	padding: 12px;
	text-align: center;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
	transition: transform .15s ease, box-shadow .15s ease;
	text-decoration-color: #fff !important;
}

.asset-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

a.square-card.asset-tile {
	padding-bottom: 80px;
}

/* IMAGE */
.asset-tile .img-wrap,
{
width: 100%;
aspect-ratio: 1 / 1;
border-radius: 16px;
overflow: hidden;
background: #e5e7eb;
margin-bottom: 10px;
}

.asset-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* TEXT */
.asset-tile .name {
	font-size: 16px;
	font-weight: 800;
	margin-bottom: -5px;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-top: 15px;
	text-decoration: none;

}

.asset-tile .price {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
}

.asset-tile .change {
	font-size: 12px;
	font-weight: 800;
	margin-top: 2px;
}

.asset-tile .change.pos {
	color: #16a34a;
}

.asset-tile .change.neg {
	color: #dc2626;
}

/* MOBILE */
@media (max-width: 600px) {
	.assets-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.square-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px;
	}
}

.lp-neg {
	color: #dc2626 !important;
}

.lp-pos {
	color: #16a34a !important;
}

a.hp-cat-cta {
	background: #000;
	text-decoration: none;
	color: #fff;
	padding: 5px 20px;
	font-size: 12px;
	border-radius: 20px;
	float: left;
}

/* =====================
   AUTH (LOGIN / REGISTER)
===================== */

.auth-card {
	max-width: 420px;
	margin: 40px auto;
	padding: 28px;
	text-align: center;
}

.auth-card h1 {
	margin-bottom: 18px;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.input {
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	font-family: 'Heebo', sans-serif;
	font-size: 15px;
}

.input:focus {
	outline: none;
	border-color: #0f172a;
}

.btn.full {
	width: 100%;
}

.auth-divider {
	margin: 18px 0;
	font-size: 13px;
	color: #64748b;
}

.btn.google {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	font-weight: 600;
}

.btn.google img {
	width: 18px;
	height: 18px;
}

.card.hpstats {
	border: 0;
}

.hpbannerstats {
	padding: 0px;
}

.card.hpstats h3 {
	color: #94a3b8;
}

/*/* =========================
   PROFILE – COMPAT LAYER
   (DO NOT CHANGE HTML)
========================= */

/* HERO */
.profile-hero {
	border-radius: 22px;
	overflow: hidden;
	background: linear-gradient(135deg, #0b1020, #16224a);
	box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
}

.profile-cover {
	height: 150px;
	background:
		radial-gradient(1200px 500px at 70% 20%, rgba(99, 102, 241, .35), transparent 55%),
		radial-gradient(900px 400px at 20% 90%, rgba(34, 197, 94, .22), transparent 55%),
		linear-gradient(135deg, #0b1020, #16224a);
}

.profile-bar {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	padding: 0 18px 16px;
	margin-top: -44px;
}

.profile-avatar {
	width: 92px;
	height: 92px;
	border-radius: 22px;
	object-fit: cover;
	background: #e5e7eb;
	border: 4px solid #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.profile-meta {
	flex: 1;
	min-width: 0;
}

.profile-name {
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 900;
}

.profile-sub {
	margin-top: 6px;
	color: rgba(255, 255, 255, .75);
	font-size: 13px;
	font-weight: 700;
}

.profile-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* STATS */
.profile-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 0 18px 18px;
}

.stat {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 16px;
	padding: 10px 12px;
}

.stat b {
	display: block;
	color: #fff;
	font-size: 16px;
	font-weight: 900;
}

.stat span {
	color: rgba(255, 255, 255, .75);
	font-size: 12px;
	font-weight: 700;
}

/* GRID */
.profile-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 18px;
	align-items: start;
	margin-top: 16px;
}

/* TABS */
.profile-tabs {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.tab-btn {
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-weight: 900;
	cursor: pointer;
}

.tab-btn.on {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
}

/* FEED */
.feed {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.social-card .post {
	display: flex;
	gap: 12px;
}

.post .avatar {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	object-fit: cover;
}

.post-body {
	flex: 1;
	padding-top: 10px;
}

.card.social-card {
	margin-bottom: 30px;
}

span.timeago {
	display: block;
	margin-bottom: 20px;
}

.post-content {
	margin-top: 6px;
	line-height: 1.45;
}

.post {
	background: #fff;
	padding: 20px;
	border-radius: 20px;
}

.post-actions {
	margin-top: 8px;
}

/* COMMENTS */
.comments {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.comment {
	display: flex;
	gap: 8px;
}

.comment .avatar.sm {
	width: 28px;
	height: 28px;
	border-radius: 8px;
}

.comment-body {
	background: #f8fafc;
	border-radius: 12px;
	padding: 6px 10px;
}

/* TRADE FEED */
.trade-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eef2f7;
}

.trade-left {
	display: flex;
	gap: 10px;
	align-items: center;
}

.trade-left img {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	object-fit: cover;
}

.trade-type {
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
}

.trade-type.buy {
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.trade-type.sell {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #9f1239;
}

/* PORTFOLIO */
details {
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 10px 14px;
	background: #f9fafb;
}

details summary {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 900;
	cursor: pointer;
	list-style: none;
}

details summary::-webkit-details-marker {
	display: none;
}

/* EMPTY */
.empty-state {
	padding: 18px;
	text-align: center;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px dashed #e5e7eb;
	color: #64748b;
	font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 980px) {
	.profile-grid {
		grid-template-columns: 1fr;
	}

	.profile-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.profile-bar {
		align-items: center;
	}
}

/* =========================
   MOBILE BOTTOM NAV
========================= */

.mobile-bottom-nav {
	display: none;
}

@media (max-width: 768px) {
	.mobile-bottom-nav {
		position: fixed;
		bottom: 0;
		right: 0;
		left: 0;
		height: 70px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		z-index: 9999;
		box-shadow: -1px -1px 15px #00000085;
		padding: 10px 20px 0px 20px;
		background: #5767F2;
		background: linear-gradient(180deg, rgba(87, 103, 242, 1) 0%, rgba(55, 69, 191, 1) 100%);
	}

	.mobile-bottom-nav .nav-item {
		flex: 1;
		text-align: center;
		text-decoration: none;
		color: #fff;
		font-size: 9px;
		font-weight: 300;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
	}

	.mobile-bottom-nav .nav-item i {
		font-size: 20px;
	}

	/* מרכזי – פרופיל */
	.mobile-bottom-nav .nav-item.main {
		position: relative;
		top: -18px;
		background: #0f172a;
		color: #fff;
		width: 56px;
		height: 56px;
		border-radius: 50%;
		justify-content: center;
		box-shadow: 0 10px 24px rgba(15, 23, 42, .35);
	}

	.mobile-bottom-nav .nav-item.main i {
		font-size: 22px;
	}

	.mobile-bottom-nav .nav-item.main span {
		display: none;
	}

	/* מקום לתפריט */
	body {
		padding-bottom: 90px;
	}
}

.recent-activity {
	margin-top: 40px;
}

.recent-activity h2 {
	font-size: 22px;
	font-weight: 900;
	margin-bottom: 16px;
}

.activity-feed {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.activity-item {
	display: flex;
	gap: 14px;
	background: #fff;
	border-radius: 16px;
	padding: 14px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.activity-avatar {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	object-fit: cover;
	background: #e5e7eb;
}

.activity-body {
	flex: 1;
}

.activity-line {
	font-size: 14px;
	line-height: 1.6;
}

.activity-line a {
	font-weight: 800;
	color: #0f172a;
	text-decoration: none;
}

.activity-line a:hover {
	text-decoration: underline;
}

.activity-line .buy {
	color: #16a34a;
	font-weight: 900;
}

.activity-line .sell {
	color: #dc2626;
	font-weight: 900;
}

.post-label {
	color: #2563eb;
	font-weight: 900;
}

.activity-time {
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}

@media (max-width: 768px) {
	.activity-item {
		padding: 12px;
	}
}

.live-activity-card {
	width: 100%;
	max-width: 100%;
}

@media (min-width: 768px) {
	.live-activity-card {
		width: 100%;
	}
}

.live-activity-card h3 {
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: 900;
}

.ipo-card {
	width: 100%
}

@media (min-width:768px) {
	.ipo-card {
		width: 50%
	}
}

.ipo-card h3 {
	font-size: 18px;
	font-weight: 900;
	margin-bottom: 12px
}

.ipo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px
}

@media (max-width:900px) {
	.ipo-grid {
		grid-template-columns: repeat(2, 1fr)
	}
}

@media (max-width:520px) {
	.ipo-grid {
		grid-template-columns: 1fr
	}
}

.ipo-item {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: #0f172a;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
	transition: transform .2s ease;
}

.ipo-item:hover {
	transform: translateY(-2px)
}

.ipo-img {
	height: 120px;
	background-size: cover;
	background-position: center;
	position: relative
}

.ipo-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .72));
	color: #fff;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.ipo-name {
	font-weight: 900;
	font-size: 14px;
	line-height: 1.2
}

.ipo-symbol {
	font-size: 12px;
	opacity: .9
}

.ipo-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(15, 23, 42, .85);
	color: #fff;
	font-weight: 900;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(6px);
}

.ipo-meta {
	padding: 10px 12px
}

.ipo-price {
	font-size: 14px;
	font-weight: 900;
	display: flex;
	align-items: center;
	gap: 6px
}

.ipo-year {
	margin-top: 4px;
	font-size: 12px;
	color: #64748b
}

.pos {
	color: #16a34a
}

.neg {
	color: #dc2626
}


.live-activity-window {
	height: 260px;
	/* 5 שורות × ~52px */
	overflow: hidden;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.live-activity-list {
	display: flex;
	flex-direction: column;
}

.live-activity-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	height: 52px;
	border-bottom: 1px solid #eef2f7;
	font-size: 14px;
}

.live-activity-row:last-child {
	border-bottom: none;
}

.live-avatar {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	object-fit: cover;
	background: #e5e7eb;
}

.live-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.buy {
	color: #16a34a;
	font-weight: 900
}

.sell {
	color: #dc2626;
	font-weight: 900
}

.post-label {
	color: #2563eb;
	font-weight: 900
}

.muted {
	color: #64748b;
	font-size: 12px
}

.ipo-card {
	width: 100%;
}

@media (min-width:768px) {
	.ipo-card {
		width: 100%;
	}
}

.ipo-card h3 {
	font-size: 18px;
	font-weight: 900;
	margin-bottom: 12px;
}

.ipo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

@media (max-width:900px) {
	.ipo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width:520px) {
	.no-mobile {
		display: none;
	}

	.ipo-grid {
		grid-template-columns: 1fr;
	}
}

.ipo-item {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: #0f172a;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
	transition: transform .2s ease;
}

.ipo-item:hover {
	transform: translateY(-2px);
}

.ipo-img {
	height: 195px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.ipo-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .7));
	color: #fff;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.ipo-name {
	font-weight: 900;
	font-size: 14px;
	line-height: 1.2;
}

.ipo-symbol {
	font-size: 12px;
	opacity: .9;
}

.ipo-meta {
	padding: 10px 12px;
}

.ipo-price {
	font-size: 14px;
	font-weight: 900;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ipo-year {
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}

.pos {
	color: #16a34a
}

.neg {
	color: #dc2626
}

section.hpbanner-container {
	background: green;
	position: absolute;
	top: 70px;
}

.puff-in-center {
	-webkit-animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
	animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

.puff-in-center-2 {
	-webkit-animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.3s both;
	animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.3s both;
}

.puff-in-center-3 {
	-webkit-animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
	animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 1s both;
}

.puff-in-center-4 {
	-webkit-animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
	animation: puff-in-center 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 1s both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-12-27 21:39:30
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation puff-in-center
 * ----------------------------------------
 */
@-webkit-keyframes puff-in-center {
	0% {
		-webkit-transform: scale(2);
		transform: scale(2);
		-webkit-filter: blur(4px);
		filter: blur(4px);
		opacity: 0;
	}

	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		-webkit-filter: blur(0px);
		filter: blur(0px);
		opacity: 1;
	}
}

@keyframes puff-in-center {
	0% {
		-webkit-transform: scale(2);
		transform: scale(2);
		-webkit-filter: blur(4px);
		filter: blur(4px);
		opacity: 0;
	}

	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		-webkit-filter: blur(0px);
		filter: blur(0px);
		opacity: 1;
	}
}

.price-row>div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.asset-news {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.asset-news-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
	text-decoration: none;
	color: #0f172a;
	display: flex;
	flex-direction: column;
}

.asset-news-card img {
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.asset-news-card .info {
	padding: 12px;
}

.asset-news-card .cat {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
}

.asset-news-card h4 {
	margin: 6px 0 0;
	font-size: 15px;
	font-weight: 800;
}

.asset-news-card p {
	margin: 6px 0 0;
	font-size: 13px;
	color: #475569;
	line-height: 1.5;
}

.card.hpimage {
	height: 500px;
	background: url('/assets/hpbanner.jpg');
	width: 500px;
	box-shadow: none;
	border: 0;
	border-radius: 0;
}

section.hpstage {
	border-radius: 30px;
}

.hpbanner {
	padding: 50px;
}

.hpbanner h1 {
	font-size: 50px;
	color: #333;
}

.hpbanner h2 {
	font-weight: 300;
}

a.btn {
	background: #5b61f1;
	color: #fff;
	text-decoration: none !important;
	padding: 10px 20px;
	border-radius: 20px;
	font-size: 20px;
	top: 30px;
	position: relative;
}

span.hpspan {
	display: block;
	margin-top: -20px;
	color: #5b61f1;
}

.sidebar {
	width: 260px;
	color: #fff;
	padding: 18px 14px;
	transition: width .25s ease, transform .25s ease;
	background: #fff;
	position: fixed;
	height: 100%;
	z-index: 99999;
	margin-top: 75px;
}

.nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: #ffffffb3;
	text-decoration: none;
	font-weight: 300;
}

img.side-logo {
	max-height: 50px;
}

.siderbar-icon {
	border: 1px #efefef solid;
	padding: 10px;
	border-radius: 10px;
}

.portfolio-chart-card {
	padding: 0px;
	margin-bottom: 20px;
}

.chart-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	float: left;
	padding: 50px;
}

.chart-ranges {
	display: flex;
	gap: 6px;
}

.chart-ranges button {
	border: 1px solid #e5e7eb;
	background: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.chart-ranges button.active {
	background: #5767f2;
	color: #fff;
	border-color: #16a34a;
}

.portfolio-change {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 14px;
}

.portfolio-change .pct {
	font-size: 16px;
}

.portfolio-change .abs {
	font-weight: 700;
	opacity: .85;
}

.portfolio-change .label {
	font-weight: 600;
	font-size: 12px;
	color: #64748b;
}

.portfolio-change.pos {
	color: #16a34a;
}

.portfolio-change.neg {
	color: #dc2626;
}

span.welcome-hp {
	display: block;
	font-size: 16px;
	font-weight: 300;
}

.welcome-box {
	font-size: 20px;
	font-weight: 600;
	padding: 0px 0px 30px 50px;
}

.hpstats {
	text-align: center;
	padding: 0px 30px 0px;
	border-left: 2px solid #f4f6fb;
	margin: 25px 0px;
}

.hpstats {
	text-align: center;
	padding: 0px 30px 0px;
	border-left: 2px solid #e9e9e9;
	margin: 25px 0px;
	font-size: 20px;
}

#buyInput,
.buy-tpsl input {
	width: 100%;
	padding: 11px 12px;
	border-radius: 8px;
	border: 0;
	background: #ededed7d;
	color: #272727;
}

.modal-head {
	font-size: 22px;
}

.faq-item i {
	margin-right: 10px;
}

.news-hero-main .info {
	z-index: 999;
	text-decoration: none !important;
}

.news-hero-main {
	text-decoration: none !important;
}

h2 {
	margin-top: 50px;
	margin-bottom: 20px;
}

.cat {
	background: #5767f2;
	display: inline-block;
	padding: 5px 10px;
	border-radius: 10px;
	color: #fff !important;
	font-size: 12px;
}

.post-success {
	margin-top: 8px;
	font-size: 13px;
	color: #16a34a;
}

#feedWrapper {
	position: relative
}

.new-posts-banner {
	position: sticky;
	top: 0;
	z-index: 5;
	background: #020617;
	border: 1px solid #1f2933;
	padding: 10px;
	text-align: center;
	cursor: pointer;
	font-size: 16px;
	color: #60a5fa;
}

#feedWrapper {
	position: relative;
}

.new-posts-banner {
	position: sticky;
	top: 12px;
	z-index: 20;

	margin-bottom: 12px;
	padding: 10px 14px;

	background: #020617;
	border: 1px solid #1f2933;
	border-radius: 999px;

	font-size: 14px;
	font-weight: 600;
	color: #60a5fa;

	cursor: pointer;
}

.post-composer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 4px;
	cursor: pointer;
}

.composer-avatar {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	object-fit: cover;
}

.composer-input {
	flex: 1;
	padding: 10px 4px;
	border-bottom: 1px solid #e5e7eb;
	color: #6b7280;
	font-size: 15px;
}

.post-composer:hover .composer-input {
	border-color: #9ca3af;
}

.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal-card {
	width: 100%;
	max-width: 520px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
	padding: 20px 20px;
	height: auto;
}

.modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-size: 22px;
	border-bottom: 1px solid #dfdfdf;
	padding: 10px 0px 20px;
}

.modal-close {
	background: none;
	border: 0;
	font-size: 18px;
	cursor: pointer;
	color: #94a3b8;
}

.modal-composer {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.modal-composer textarea {
	flex: 1;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
	resize: none;
	font-size: 18px;
	padding: 8px 4px;
	outline: none;
	font-family: inherit;
}

.modal-composer textarea:focus {
	border-color: #2563eb;
}

.trade-btn.full {
	width: 100%;
}

.post-success-state {
	text-align: center;
	padding: 32px 16px;
}

.post-success-state h3 {
	margin-bottom: 8px;
}

[hidden] {
	display: none !important;
}

.big-movers-card {
	padding: 16px;
	width: 30%;
}

.big-movers-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 14px;
}

.big-movers-head .muted {
	font-size: 12px;
}

.big-movers-bars {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	align-items: end;
}

.big-mover-row {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.big-mover-row .bar {
	width: 100%;
	border-radius: 8px 8px 4px 4px;
	transition: height .3s ease;
}

.big-mover-row .bar.up {
	background: linear-gradient(180deg, #16a34a, #0f766e);
}

.big-mover-row .bar.down {
	background: linear-gradient(180deg, #dc2626, #7f1d1d);
}

.big-mover-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.big-mover-meta img {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	object-fit: cover;
}

.big-mover-meta .symbol {
	font-size: 16px;
	font-weight: 700;
	color: #334155;
}

.big-mover-meta .pct {
	font-size: 12px;
	font-weight: 300;
	margin-top: -10px;
}

.big-movers-bars {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	align-items: end;
	height: 160px;
	/* 👈 זה הקריטי */
}

.big-mover-row {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
}

.big-mover-row .bar {
	width: 100%;
	border-radius: 8px 8px 4px 4px;
	transition: height .3s ease;
}

.hpfeed {
	display: flex;
	width: 100%;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 10px;
	padding: 20px;
}

.hpfeedsidebar {
	width: 30%
}

.feedcontainer {
	width: 70%
}

.trader-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	text-decoration: none;
	color: inherit;
}

.trader-avatar {
	width: 36px;
	height: 36px;
	border-radius: 10px;
}

.trader-main {
	flex: 1;
}

.trader-name {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 4px;
}

.trader-bar-wrap {
	background: #020617;
	border-radius: 6px;
	overflow: hidden;
	height: 8px;
}

.trader-bar {
	height: 100%;
	background: #16a34a;
	border-radius: 6px;
}

.trader-pct {
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}

.hpfeedsidebar .card {
	margin-bottom: 10px;
}

/* ===== DESKTOP FEED LAYOUT – FINAL ===== */
@media (min-width: 769px) {

	.hpfeed {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 24px;
		align-items: start;
		padding: 20px;
	}

	.feedcontainer,
	.hpfeedsidebar {
		width: auto !important;
		/* מבטל 70% / 30% */
	}

	.hpfeedsidebar {
		position: sticky;
		top: 24px;
		align-self: start;
	}

}

/* ===== FIX STICKY BLOCKERS ===== */
.stage,
.content,
.hpfeed,
.feedcontainer {
	overflow: visible !important;
}

.post-actions {
	display: flex;
	gap: 14px;
	margin-top: 10px;
	font-size: 14px;
}

.icon-btn {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: #475569;
	font-weight: 600;
}

.icon-btn:hover {
	color: #0f172a;
}

.icon-btn.on {
	color: #5767f2;
}

span.count {
	margin-right: 4px;
	font-weight: 300;
}

.post-content {
	margin-right: -70px;
	font-size: 16px;
}

form.comment-form,
.post-actions {
	margin-right: -70px;
}

.post-body .muted {
	display: inline-block;
}

.usernamefeed {
	display: block;
}

.tag-tooltip {
	position: fixed;
	z-index: 9999;
	background: #0f172a;
	color: #fff;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
	max-width: 260px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
	pointer-events: none;
}

.tag-tooltip.hidden {
	display: none;
}

.tag-tooltip .title {
	font-weight: 600;
	margin-bottom: 4px;
}

.tag-tooltip .muted {
	opacity: .8;
	font-size: 12px;
}

/* ===== APP LAYOUT ===== */
.app {
	display: flex;
	min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
	height: 100vh;
	background: linear-gradient(180deg, #0b1020, #0f1633);
}

.sidebar-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* ===== DESKTOP ===== */
@media (min-width: 901px) {

	.sidebar {
		width: 260px;
		transition: width .25s ease;
		position: relative;
		position: sticky;
		margin-top: revert-layer;
	}

	.sidebar.collapsed {
		width: 72px;
	}

	.sidebar.collapsed .label,
	.sidebar.collapsed .sidebar-logo,
	.sidebar.collapsed .sidebar-user {
		display: none;
	}

	.main {
		flex: 1;
		display: flex;
		flex-direction: column;
		min-width: 0;
		overflow-y: auto;
	}

	.topbar {
		position: relative;
	}
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
	.sidebar {
		position: fixed;
		top: 0;
		right: 0;
		transform: translateX(100%);
		transition: transform .3s ease;
		z-index: 9999;
		width: 260px;
	}

	.sidebar.open {
		transform: translateX(0);
	}
}

.sidebar-user {
	margin-top: auto;
	padding: 16px 14px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	text-align: center;
}

.sidebar-user-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #fff;
}

.sidebar-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.sidebar-user-name {
	font-size: 14px;
	font-weight: 700;
}

.sidebar-balance {
	margin-top: 10px;
}

.sidebar-balance .label {
	display: block;
	font-size: 11px;
	opacity: .7;
}

.sidebar-balance .value {
	display: block;
	font-size: 15px;
	font-weight: 800;
}

.logo img {
	max-width: 50px;
	margin: 10px;
}

.sidebar {
	height: 100vh;
	margin: 0;
	padding: 0;
	position: relative;
	/* בדסקטופ */
}

/* ===============================
   SIDEBAR USER CARD
=============================== */

.sidebar-user {
	margin-top: auto;
	padding: 16px 14px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #ffffff0a;
}

/* USER LINK */
.user-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #e5e7eb;
	border-radius: 12px;
	padding: 8px 10px;
	transition: background .15s ease;
	width: 100%;
}

.user-link:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* AVATAR */
.user-link img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	background: #020617;
	border: 2px solid rgba(255, 255, 255, 0.15);
}

/* META */
.user-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.user-meta strong {
	font-size: 14px;
	font-weight: 700;
	color: #f9fafb;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.user-meta span {
	font-size: 12px;
	color: #9ca3af;
}

/* BALANCE */
.user-balance {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 10px 12px;
}

.user-balance span {
	font-size: 12px;
	color: #9ca3af;
	letter-spacing: .2px;
}

.user-balance strong {
	font-size: 14px;
	font-weight: 700;
	color: #22c55e;
	/* ירוק eToro */
}

/* ===============================
   COLLAPSED STATE
=============================== */

.sidebar.collapsed .sidebar-user {
	padding: 12px 0;
	align-items: center;
}

.sidebar.collapsed .user-link {
	padding: 0;
}

.sidebar.collapsed .user-meta,
.sidebar.collapsed .user-balance {
	display: none;
}

.sidebar.collapsed .user-link img {
	width: 36px;
	height: 36px;
}

/* ===============================
   SIDEBAR USER – MOBILE
=============================== */
@media (max-width: 900px) {

	.sidebar-user {
		padding: 20px 16px;
		gap: 16px;
		background: #ffffff0a;
	}

	/* USER LINK – גדול וברור */
	.user-link {
		padding: 12px;
		border-radius: 14px;
		gap: 14px;
	}

	.user-link img {
		width: 44px;
		height: 44px;
	}

	.user-meta strong {
		font-size: 15px;
	}

	.user-meta span {
		font-size: 13px;
	}

	/* BALANCE – שורה מלאה */
	.user-balance {
		width: 100%;
		padding: 12px 14px;
		border-radius: 14px;
	}

	.user-balance span {
		font-size: 13px;
	}

	.user-balance strong {
		font-size: 15px;
	}
}

/* ===============================
   SIDEBAR USER – COLLAPSED (DESKTOP)
=============================== */
@media (min-width: 901px) {

	.sidebar.collapsed .sidebar-user {
		padding: 12px 0;
		border-top: none;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	/* מסתירים טקסטים בלבד */
	.sidebar.collapsed .sidebar-user .user-meta,
	.sidebar.collapsed .sidebar-user .user-balance,
	.sidebar.collapsed .sidebar-user .user-settings {
		display: none !important;
	}

	/* האווטאר כן נשאר */
	.sidebar.collapsed .sidebar-user .user-link {
		padding: 0;
		justify-content: center;
	}

	.sidebar.collapsed .sidebar-user .user-link img {
		width: 36px;
		height: 36px;
	}
}

/* ===============================
   USER ROW (AVATAR + NAME + SETTINGS)
=============================== */

.user-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.user-settings {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.user-settings:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #f9fafb;
}

.user-settings i {
	font-size: 14px;
}

/* ===============================
   SIDEBAR ACTIVE ITEM
=============================== */

.nav-link.active {
	background: rgba(34, 197, 94, 0.18);
	/* ירוק עדין */
	color: #ecfdf5;
	border-right: 2px solid #22c55e;
}

.nav-link.active i {
	color: #22c55e;
}

/* פס צד קטן (RTL) */
.nav-link.active::before {}

/* collapsed – רק אייקון מואר */
.sidebar.collapsed .nav-link.active {
	background: transparent;
}

.sidebar.collapsed .nav-link.active i {
	color: #22c55e;
}

/* ===============================
   MOBILE RESET – FINAL
=============================== */
@media (max-width: 900px) {

	html,
	body {
		height: auto;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.app {
		min-height: 100vh;
		overflow: visible;
	}

	/* MAIN = מקור הגלילה */
	.main {
		overflow-y: auto;
		overflow-x: hidden;
		padding-top: 64px;
		/* גובה topbar */
		padding-bottom: 90px;
		/* bottom nav */
	}

	/* TOPBAR */
	.topbar {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		height: 64px;
		z-index: 10000;
	}

}

/* =========================
   MOBILE TOPBAR SEARCH – FIX
========================= */
@media (max-width: 900px) {

	/* מחזיר את האינפוט */
	.topbar .search {
		display: block !important;
	}

	/* מבטל הגבלות רוחב ישנות */
	.live-search-wrap,
	.top-search {
		display: block;
		width: 100%;
		max-width: none;
	}

	.top-search .search {
		width: 100%;
		padding: 10px 14px;
		border-radius: 999px;
		font-size: 14px;
	}
}

/* =========================
   MOBILE – HIDE TOPBAR SEARCH
   WHEN SIDEBAR IS OPEN
========================= */
@media (max-width: 900px) {

	/* כשהתפריט פתוח – הטופבר מתחתיו */
	.sidebar.open~.main .topbar {
		z-index: 1;
	}

	/* מסתיר את החיפוש בלבד */
	.sidebar.open~.main .top-search,
	.sidebar.open~.main .live-search-wrap {
		opacity: 0;
		pointer-events: none;
	}
}

/* =========================
   MOBILE – KEEP CLOSE BUTTON VISIBLE
========================= */
@media (max-width: 900px) {

	/* הטופבר מתחת לסיידבר */
	.sidebar.open~.main .topbar {
		z-index: 1;
	}

	/* אבל כפתור ההמבורגר/סגירה מעל הכל */
	.sidebar.open~.main .menu-btn {
		position: fixed;
		top: 14px;
		left: 14px;
		/* RTL – בצד שמאל */
		z-index: 10002;
		background: #fff;
		box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
	}
}

/* =========================
   MOBILE MENU LAYERING – FINAL
========================= */
@media (max-width: 900px) {

	/* הסיידבר מעל הכל */
	.sidebar {
		z-index: 10001 !important;
	}

	/* כשהתפריט פתוח – מסתירים חיפוש */
	body.menu-open .live-search-wrap {
		display: none !important;
	}

	/* אבל הכפתור נשאר מעל הסיידבר */
	body.menu-open #menuToggle {
		position: fixed !important;
		top: 14px !important;
		left: 14px !important;
		/* RTL */
		z-index: 10002 !important;
		background: #fff !important;
		box-shadow: 0 6px 16px rgba(0, 0, 0, .15) !important;
	}

	/* הטופבר עצמו יכול להיות מתחת לסיידבר */
	body.menu-open .topbar {
		z-index: 1 !important;
	}
}

/* =========================
   MOBILE – FORCE MENU BUTTON
========================= */
@media (max-width: 900px) {

	/* כשהתפריט פתוח – הטופבר כולו לא רלוונטי */


	/* אבל כפתור התפריט – תמיד קיים */
	body.menu-open #menuToggle {
		position: fixed !important;
		top: 14px !important;
		left: 14px !important;
		/* RTL */
		z-index: 100000 !important;

		display: flex !important;
		opacity: 1 !important;
		pointer-events: auto !important;

		background: #fff !important;
		border-radius: 12px;
		box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	}
}

/* =========================
   MOBILE FLOATING CLOSE BTN
========================= */
#mobileMenuClose {
	display: none;
}

@media (max-width: 900px) {

	body.menu-open #mobileMenuClose {
		display: flex;
		position: fixed;
		top: 14px;
		left: 14px;
		/* RTL */
		width: 44px;
		height: 44px;
		border-radius: 12px;
		background: #fff;
		border: 0;
		align-items: center;
		justify-content: center;
		z-index: 100000;
		box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
		font-size: 20px;
		cursor: pointer;
	}

	.nav hr {
		margin: 5px auto;
		width: 100%;
		background: #ffffff26;
	}
}

.nav hr {
	border: none;
	height: 1px;
	background: #e4e4e430;
	margin: 30px auto;
	width: 100%;
}

@media (max-width: 900px) {

	/* כשהתפריט פתוח */
	body.menu-open .topbar {
		opacity: 1;
		pointer-events: auto;
	}

	/* מסתירים רק חיפוש */
	body.menu-open .live-search-wrap {
		display: none !important;
	}

	/* כפתור התחברות נשאר */
	body.menu-open .top-left {
		display: flex;
		z-index: 10002;
	}
}

.nav-link.nav-primary {
	background: rgba(34, 197, 94, 0.15);
	color: #22c55e;
	font-weight: 700;
	border-radius: 10px;
}

.nav-link.nav-primary i {
	color: #22c55e;
}

/* =========================
   MOBILE TOPBAR AUTH FIX
========================= */
@media (max-width: 900px) {

	/* מחזיר את אזור ההתחברות בטופבר */
	.topbar .top-left {
		display: flex !important;
		align-items: center;
		gap: 10px;
	}

	/* כפתורי התחברות / הרשמה */
	.topbar .top-left .top-link {
		font-size: 14px;
		padding: 6px 10px;
	}

	.topbar .top-left .top-link.primary {
		padding: 6px 12px;
		border-radius: 999px;
	}
}

/* =========================
   FINAL MOBILE TOPBAR FIX
========================= */
@media (max-width: 900px) {

	/* הטופבר תמיד נראה */
	.topbar {
		opacity: 1 !important;
		pointer-events: auto !important;
		z-index: 10000;
	}

	/* החיפוש נעלם רק כשהתפריט פתוח */
	body.menu-open .live-search-wrap {
		display: none !important;
	}

	/* ההתחברות תמיד נשארת */
	.topbar .top-left {
		display: flex !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		z-index: 10002;
	}
}

a.joincta {
	display: block;
	background: #00000094;
	padding: 10px 40px;
	color: #fff;
	text-decoration: none;
	border-radius: 20px;
	font-weight: 700;
}

a.logincta {
	display: block;
	color: rgb(77 93 226);
	background: rgb(255 255 255);
	padding: 10px 40px;
	text-decoration: none;
	border-radius: 20px;
	font-weight: 700;
}

.loggedoutbanner {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 28px
}

@media (max-width: 768px) {
	.stage {
		padding: 0 12px;
		margin-top: -50px;
	}

	.hpbanner {
		padding: 20px;
		margin-bottom: 50px;
	}

	section.hpstage {
		margin-top: -130px;
	}

	.modal-card {
		height: 100vh;
		padding-top: 60px;
	}

	.welcome-box {
		font-size: 20px;
		font-weight: 600;
		padding: 0px 10px 20px 20px;
	}

	.chart-head {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 10px;
		padding: 50px 10px 0px;
		float: none;
	}

	.loggedoutbanner {
		display: block;
		gap: 0px
	}

	h2 {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

/* wrapper ראשי של התוכן */
.main,
.page,
.container {
	padding-top: 0;
	margin-top: 0;
}

/* HERO */
.lp-hero {
	margin-top: 0;
	padding-top: 32px;
}

.lp-hero {
	border-radius: 24px;
	padding: 28px;
	color: #e5e7eb;
	border: 1px solid rgba(148, 163, 184, .15);
	box-shadow: 0 0px 80px rgb(2 6 23 / 26%);
	overflow: hidden;
	background-image: url('/assets/hpbanner.jpg');
	background-repeat: no-repeat;
	background-size: contain;
	background-color: #fff;
}

/* ===== LANDING PAGE (etoro-inspired, STOXIL tone) ===== */

.lp-wrap {
	max-width: 1200px;
	margin: 0 auto;
}

.lp-hero-grid {}

.lp-h1 {
	margin: 0;
	font-size: 44px;
	line-height: 1.05;
	letter-spacing: -.02em;
	font-weight: 900;
	width: 50%;
	color: #3f3f3f;
}

.lp-sub {
	margin-top: 12px;
	color: #3f3f3f;
	;
	font-size: 20px;
	line-height: 1;
	max-width: 54ch;
}

.lp-cta {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.lp-cta .btn {
	border-radius: 20px;
	padding: 12px 24px;
}

.lp-cta .btn.primary {
	background: #22c55e;
	border-color: #22c55e;
	color: #052e16;
	font-weight: 900;
	background: #5767f2;
	color: #ffffff;
	font-weight: 900;
}

.lp-cta .btn.ghost {
    background: #ffffffe0;
    border: 2px solid #5767f2;
    color: #5767f2;
}

.lp-cta .btn.ghost:hover {
	background: rgba(148, 163, 184, .08);
}

.lp-badges {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, .18);
	background: rgba(2, 6, 23, .30);
	font-size: 12px;
	color: rgba(226, 232, 240, .9);
}

.lp-badge i {
	opacity: .9;
}

.lp-panel {
    border-radius: 22px;
    background: #0e142ecf;
    border: 1px solid rgba(148, 163, 184, .16);
    padding: 16px;
    backdrop-filter: blur(8px);
    margin-bottom: 50px;
}
.lp-feature.feature-one {
    background-image: url('/assets/feature-one.jpg');
background-size: cover;
    background-position: -50px top;
    min-height: 240px;
    border-radius: 20px;
    padding: 50px 20px;
    background-repeat: no-repeat;
        background-color:#fff;
}
.lp-feature.feature-two {
    background-image: url('/assets/feature-two.jpg');
background-size: cover;
    background-position: -50px top;
    min-height: 240px;
    border-radius: 20px;
    padding: 50px 20px;
    background-repeat: no-repeat;
    background-color:#fff;
}
.lp-feature.feature-three {
    background-image: url('/assets/feature-three.jpg');
background-size: cover;
    background-position: -50px top;
    min-height: 240px;
    border-radius: 20px;
    padding: 50px 20px;
    background-repeat: no-repeat;
        background-color:#fff;
}

.lp-feature.join-one {
    background-image: url('/assets/join-one.jpg');
background-size: cover;
    background-position: 0px top;
    min-height: 240px;
    border-radius: 20px;
    padding: 50px 20px;
    background-repeat: no-repeat;
        background-color:#fff;
}
.lp-feature.join-two {
    background-image: url('/assets/join-two.jpg');
background-size: cover;
    background-position: 0px top;
    min-height: 240px;
    border-radius: 20px;
    padding: 50px 20px;
    background-repeat: no-repeat;
    background-color:#fff;
}
.lp-feature.join-three {
    background-image: url('/assets/join-three.jpg');
background-size: cover;
    background-position: 0px top;
    min-height: 240px;
    border-radius: 20px;
    padding: 50px 20px;
    background-repeat: no-repeat;
        background-color:#fff;
}
.lp-panel-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.lp-panel-title {
    font-weight: 900;
    letter-spacing: -.01em;
    color: #fff;
}

.lp-panel-sub {
	color: rgba(226, 232, 240, .75);
	font-size: 12px;
}

.tickers {
	margin-top: 12px;
	display: flex;
	gap: 10px;
	overflow: auto;
	padding-bottom: 6px;
	scroll-snap-type: x mandatory;
}

.tickers::-webkit-scrollbar {
	height: 8px;
}

.tickers::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, .22);
	border-radius: 999px;
}

.ticker {
	min-width: 210px;
	scroll-snap-align: start;
	border-radius: 18px;
	border: 1px solid rgba(148, 163, 184, .14);
	background: rgba(15, 23, 42, .55);
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.ticker img {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	object-fit: cover;
	background: rgba(148, 163, 184, .15);
}

.ticker .name {
	font-weight: 900;
	color: #e2e8f0;
	font-size: 16px;
	line-height: 1.15;
}

.ticker .sym {
	color: rgba(226, 232, 240, .72);
	font-size: 12px;
}

.ticker .meta {
	margin-right: auto;
	text-align: right;
	display: flex;
	flex-direction: row;
	gap: 4px;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: 100%;
}

.ticker .p {
	font-weight: 900;
	color: #e2e8f0;
}

.ticker .c {
	font-size: 12px;
	font-weight: 900;
	width: max-content;
	padding: 4px 8px;
	border-radius: 999px;
}

.ticker .c.pos {
	color: #22c55e;

}

.ticker .c.neg {
	color: #dc2626;
}

.lp-section {
	margin-top: 50px;
	margin-bottom: 50px;
}

.lp-section .section-title {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 10px;
	margin: 0 0 10px;
}

.lp-section h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -.01em;
}

.lp-section .muted {
	color: #64748b;
	font-size: 13px;
}

.lp-kpis {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.lp-kpi {
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 12px 14px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
}

.lp-kpi .label {
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
}

.lp-kpi .val {
	margin-top: 6px;
	font-size: 22px;
	font-weight: 900;
	color: #0f172a;
	letter-spacing: -.02em;
}

.lp-kpi .hint {
	margin-top: 6px;
	font-size: 12px;
	color: #64748b;
}

.lp-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.lp-feature {
	/* border-radius: 18px; */
	/* background: #fff; */
	/* border: 1px solid #e5e7eb; */
	padding: 14px;
	/* box-shadow: 0 10px 25px rgba(15,23,42,.06); */
}

.lp-feature .ic {
	width: 44px;
	height: 44px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e7eb;
	background: #f8fafc;
}

.lp-feature h3 {
    margin: 10px 0 6px;
    font-size: 20px;
    font-weight: 900;
    color: #475569;
    width: 50%;
}

.lp-feature p {
	margin: 0;
	color: #475569;
	font-size: 16px;
line-height: 1.25;
    width: 60%;
}

.lp-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.lp-cat {
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 12px 14px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
	text-decoration: none;
	color: #0f172a;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.lp-cat:hover {
	background: #f8fafc;
}

.lp-cat strong {
	font-weight: 900;
}

.lp-pill {
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
	border: 1px solid #e0e7ff;
	font-weight: 900;
}

.lp-movers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.lp-mover {
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 12px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
	text-decoration: none;
	color: #0f172a;
}

.lp-mover:hover {
	background: #f8fafc;
}

.lp-mover-top {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.lp-mover img {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	object-fit: cover;
	background: #e5e7eb;
}

.lp-mover .t {
	font-weight: 900;
}

.lp-mover .s {
	color: #64748b;
	font-size: 12px;
}

.lp-mover .row2 {
    margin-top: -35px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-bottom: 10px;
}

.lp-mover .price {
    font-weight: 600;
    color: #334155;
}

.lp-mover .chg {
	font-weight: 900;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
}

.lp-mover .chg.pos {
	background: rgba(34, 197, 94, .14);
	border-color: rgba(34, 197, 94, .35);
	color: #065f46;
}

.lp-mover .chg.neg {
	background: rgba(239, 68, 68, .12);
	border-color: rgba(239, 68, 68, .32);
	color: #991b1b;
}

.lp-social {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.lp-trade {
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 12px 14px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
	display: flex;
	align-items: center;
	gap: 10px;
}

.lp-trade img {
	width: 40px;
	height: 40px;
	border-radius: 14px;
	object-fit: cover;
	background: #e5e7eb;
}

.lp-trade .txt {
	flex: 1;
	min-width: 0;
}

.lp-trade .top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.lp-trade .who {
	font-weight: 900;
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lp-trade .when {
    color: #64748b66;
    font-size: 12px;
    font-weight: 500;
}

.lp-trade .desc {
	margin-top: 6px;
	color: #475569;
	font-size: 13px;
	line-height: 1.6;
}

.lp-trade .tag {
	font-size: 12px;
	font-weight: 900;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f8fafc;
}

.lp-trade .tag.buy {
	background: rgba(34, 197, 94, .12);
	border-color: rgba(34, 197, 94, .30);
	color: #065f46;
}

.lp-trade .tag.sell {
	background: rgba(239, 68, 68, .10);
	border-color: rgba(239, 68, 68, .28);
	color: #991b1b;
}

.lp-footer {
	margin-top: 14px;
	border-radius: 18px;
	background: #0b1020;
	border: 1px solid rgba(148, 163, 184, .16);
	padding: 14px;
	color: rgba(226, 232, 240, .9);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.lp-footer a {
	color: #e2e8f0;
	text-decoration: none;
	font-weight: 800;
}

.lp-footer a:hover {
	text-decoration: underline;
}

@media (max-width: 980px) {
	.lp-hero-grid {
		grid-template-columns: 1fr;
	}

	.lp-h1 {
		font-size: 36px;
	}

	.lp-kpis {
		grid-template-columns: repeat(2, 1fr);
	}

	.lp-features {
		grid-template-columns: 1fr;
	}

	.lp-cats {
		grid-template-columns: repeat(2, 1fr);
	}

	.lp-movers {
		grid-template-columns: repeat(1, 1fr);
	}

	.lp-social {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
.lp-hero {
    padding: 18px;
    margin-top: 60px;
    background-image: url(/assets/hpbannermobile.jpg);
    background-size: contain;
    background-color: rgb(254 250 250);
    background-position: 0px 120px;
    height: 520px;
}
.lp-trade .desc {
    margin-top: 6px;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
    padding-left: 40px;
}
	.lp-h1 {
		font-size: 32px;
		width: 100%;
	}

	.ticker {
		min-width: 195px;
	}

	.lp-cta .btn {
		border-radius: 20px;
		padding: 12px 19px;
	}
}

.blink-2 {
	-webkit-animation: blink-2 1.2s infinite both;
	animation: blink-2 1.2s infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2026-1-1 22:48:0
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation blink-2
 * ----------------------------------------
 */
@-webkit-keyframes blink-2 {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

@keyframes blink-2 {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

/* ===== CATEGORY PORTRAIT CAROUSEL ===== */

.category-carousel {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x mandatory;
}

.category-carousel::-webkit-scrollbar {
	height: 8px;
}

.category-carousel::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, .3);
	border-radius: 999px;
}

.category-card {
	position: relative;
	flex: 0 0 180px;
	height: 260px;
	border-radius: 18px;
	background-size: cover;
	background-position: center;
	text-decoration: none;
	color: #fff;
	scroll-snap-align: start;
	overflow: hidden;
}

/* כהות + גרדיאנט */
.category-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top,
			rgba(0, 0, 0, .75) 0%,
			rgba(0, 0, 0, .35) 45%,
			rgba(0, 0, 0, .15) 100%);
}

/* תוכן */
.category-content {
	position: absolute;
	bottom: 0;
	inset-inline: 0;
	padding: 14px;
	z-index: 2;
}

.category-name {
	font-weight: 900;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.category-meta {
	margin-top: 4px;
	font-size: 12px;
	opacity: .85;
}

/* hover */
.category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 50px rgba(15, 23, 42, .45);
}

/* מובייל */
@media (max-width:768px) {
	.category-card {
		flex: 0 0 150px;
		height: 220px;
	}
}

.asset-tabs {
	display: flex;
	gap: 8px;
	margin: 12px 0 20px;
	border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
	background: none;
	border: 0;
	padding: 10px 14px;
	font-family: inherit;
	font-weight: 800;
	font-size: 14px;
	color: #64748b;
	cursor: pointer;
	border-bottom: 3px solid transparent;
}

.tab-btn.active {
	color: #0f172a;
	border-bottom-color: #0f172a;
}

.tab-panel {
	display: none;
}

.tab-panel.active {
	display: block;
}

.perf-card {
	background: linear-gradient(180deg, #020617, #020617f2);
	color: #e5e7eb;
}

.perf-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.perf-title {
	font-weight: 800;
	font-size: 15px;
}

.perf-change {
	font-weight: 800;
	margin-top: 4px;
}

.perf-change .muted {
	font-weight: 600;
	margin-right: 6px;
}

.perf-link {
	color: #e5e7eb;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	border: 1px solid #334155;
	padding: 6px 12px;
	border-radius: 999px;
}

.perf-chart {
	height: 160px;
	margin: 12px 0;
}

.perf-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 24px;
	font-size: 13px;
}

.perf-stats span {
	color: #94a3b8;
}

.perf-stats strong {
	display: block;
	font-size: 14px;
	color: #f8fafc;
}

.chart-toolbar {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

.chart-toolbar .tf {
	background: #020617;
	color: #94a3b8;
	border: 1px solid #334155;
	border-radius: 999px;
	padding: 6px 12px;
	font-weight: 800;
	cursor: pointer;
}

.chart-toolbar .tf.active {
	color: #f8fafc;
	border-color: #f8fafc;
}

.chart-ranges {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.chart-ranges button {
	border: 1px solid #e5e7eb;
	background: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

.chart-ranges button.active {
	border-color: #5767f2;
	color: #ffffff;
	font-weight: 600;
}

/* מאפשר לחיצות על כפתורי הטווח */
.chart-ranges {
	position: relative;
	z-index: 5;
}

/* מונע מה־SVG של ApexCharts לבלוע קליקים */
#perfChart svg {
	pointer-events: none;
}

.holders-list {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
	display: grid;
	gap: 10px;
}

.holder-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.holder-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.holder-meta {
	flex: 1;
	min-width: 0;
}

.holder-name {
	font-weight: 600;
	text-decoration: none;
}

.holder-name:hover {
	text-decoration: underline;
}

.holder-value {
	font-weight: 600;
	white-space: nowrap;
}

.overview-grid {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
}

.overview-facts {
	border-left: 1px solid #e5e7eb;
	padding-left: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fact .label {
	display: block;
	font-size: 12px;
	color: #6b7280;
}

.fact strong {
	font-size: 14px;
	color: #111827;
}

@media (max-width: 768px) {
	.overview-grid {
		grid-template-columns: 1fr;
	}

	.overview-facts {
		border-left: none;
		padding-left: 0;
		border-bottom: 1px solid #e5e7eb;
		padding-bottom: 16px;
	}
}

.news-list {
	display: grid;
	gap: 14px;
}

.news-item {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.news-item img {
	width: 96px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
}

.news-body p {
	margin: 4px 0 6px;
	color: #94a3b8;
	font-size: 14px;
}

.side-news {
	list-style: none;
	padding: 0;
	margin: 0;
}

.side-news li {
	margin-bottom: 10px;
}

.side-news a {
	font-weight: 500;
}

/* =========================
   ASSET NEWS – MAIN TAB
========================= */

.news-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.news-item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;

	padding: 12px;
	border-radius: 12px;

	background: #020617;
	border: 1px solid #1e293b;

	text-decoration: none;
	color: inherit;

	transition: background .2s, border-color .2s, transform .2s;
}

.news-item:hover {
	background: #020617;
	border-color: #334155;
	transform: translateY(-1px);
}

.news-item img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	background: #020617;
}

.news-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.news-body strong {
	font-size: 15px;
	line-height: 1.4;
	color: #e5e7eb;
}

.news-body p {
	font-size: 13px;
	line-height: 1.5;
	color: #94a3b8;
	margin: 0;
}

.news-body .muted.small {
	font-size: 12px;
	color: #64748b;
}

/* =========================
   ASSET NEWS – MAIN (LIGHT)
========================= */

.news-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.news-item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;

	padding: 14px;
	border-radius: 12px;

	background: #ffffff;
	border: 1px solid #e5e7eb;

	text-decoration: none;
	color: #111827;

	transition: box-shadow .2s, transform .2s, border-color .2s;
}

.news-item:hover {
	border-color: #d1d5db;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.news-item img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	background: #f1f5f9;
}

.news-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.news-body strong {
	font-size: 15px;
	line-height: 1.4;
	color: #111827;
}

.news-body p {
	font-size: 13px;
	line-height: 1.5;
	color: #4b5563;
	margin: 0;
}

.news-body .muted.small {
	font-size: 12px;
	color: #6b7280;
}

@media (max-width: 640px) {
	.news-item {
		grid-template-columns: 1fr;
	}

	.main {
		padding-top: 100px;
	}

	.news-item img {
		width: 100%;
		height: 160px;
	}
}

/* =========================
   ASSET NEWS – SIDEBAR (LIGHT)
========================= */

.side-news {
	list-style: none;
	padding: 0;
	margin: 0;

	display: flex;
	flex-direction: column;
	gap: 10px;
}

.side-news li {
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e7eb;
}

.side-news li:last-child {
	border-bottom: none;
}

.side-news a {
	display: block;
	font-size: 14px;
	line-height: 1.4;

	color: #111827;
	text-decoration: none;

	transition: color .2s;
}

.side-news a:hover {
	color: #2563eb;
}

.side-news .muted.small {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.card h3,
.card h4 {
	display: flex;
	align-items: center;
	gap: 8px;
}

.card h3::before,
.card h4::before {
	content: "";
	width: 4px;
	height: 18px;
	background: #2563eb;
	border-radius: 4px;
}

/* =========================
   NEWS TAB – FIX
========================= */

#tab-news {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#tab-news .tab-header {
	padding: 2px 2px 6px;
}

#tab-news .tab-header h3 {
	margin: 0;
	font-size: 18px;
}

/* =========================
   NEWS TAB – FINAL FIX
========================= */

#tab-news {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;

	padding: 18px;
}

/* כותרת הטאב */
#tab-news .tab-header {
	margin-bottom: 12px;
}

#tab-news .tab-header h3 {
	margin: 0;
	font-size: 18px;
}

/* רשימת חדשות */
#tab-news .news-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* כל ידיעה = כרטיס עצמאי */
#tab-news .news-item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;

	padding: 14px;
	border-radius: 12px;

	background: #f9fafb;
	border: 1px solid #e5e7eb;

	text-decoration: none;
	color: #111827;

	transition: box-shadow .2s, transform .2s, border-color .2s;
}

#tab-news .news-item:hover {
	border-color: #d1d5db;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

#tab-news .news-item img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	background: #e5e7eb;
}

#tab-news .news-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#tab-news .news-body strong {
	font-size: 15px;
	line-height: 1.4;
}

#tab-news .news-body p {
	font-size: 13px;
	color: #4b5563;
	margin: 0;
}

#tab-news .muted.small {
	font-size: 12px;
	color: #6b7280;
}

/* מובייל */
@media (max-width: 640px) {
	#tab-news .news-item {
		grid-template-columns: 1fr;
	}

	#tab-news .news-item img {
		width: 100%;
		height: 160px;
	}
}

#tab-news {
	display: none;
	/* קריטי */
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 18px;
}

#tab-news.active {
	display: block;
}

.chart-toolbar .tf {
	background: #fff;
	color: #0f172a;
	border: 1px solid rgba(15, 23, 42, .12);
	border-radius: 10px;
	padding: 6px 10px;
	font-weight: 600;
}

.chart-toolbar .tf.active {
	background: #0f172a;
	color: #fff;
}

/* FORCE LIGHT APEX CHART */
#tvChart,
#tvChart * {
	background: transparent !important;
}

#tvChart .apexcharts-canvas,
#tvChart .apexcharts-svg {
	background: transparent !important;
}

.apexcharts-tooltip {
	direction: rtl;
	text-align: right;
}

.apex-custom-tooltip {
	direction: rtl;
	text-align: right;
	background: #fff;
	padding: 10px 12px;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
	font-size: 13px;
}

.apex-custom-tooltip .title {
	font-weight: 700;
	margin-bottom: 6px;
}

.buy-box {
	max-width: 420px
}

.buy-title {
	text-align: center;
	margin-top: 0
}

.buy-toggle {
	display: flex;
	background: #f1f5f9;
	border-radius: 12px;
	padding: 4px;
	margin-bottom: 14px;
}

.toggle-btn {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 8px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
}

.toggle-btn.active {
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.buy-input {
	position: relative;
	margin-bottom: 16px;
}

.buy-input input {
	width: 100%;
	padding: 14px 48px 14px 14px;
	font-size: 20px;
	font-weight: 800;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
}

.buy-input span {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 700;
	color: #64748b;
}

.buy-asset {
	display: flex;
	align-items: center;
	gap: 12px;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	padding: 12px 0;
	margin-bottom: 12px;
}

.buy-asset img {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	object-fit: cover;
}

.buy-price {
	margin-right: auto;
	font-weight: 800;
}

.buy-calc {
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

.buy-calc div {
	display: flex;
	justify-content: space-between;
}

.buy-calc .total {
	font-size: 16px;
	font-weight: 900;
}

.modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, .45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.modal.open {
	display: flex;
}

/* =====================
   BUY MODAL – MOBILE FULL SCREEN
===================== */

@media (max-width: 640px) {

	.modal {
		align-items: stretch;
		justify-content: stretch;
	}
	.hpfeed {
		flex-direction: column-reverse !important;
	}
	.modal-box.buy-box {
		width: 100%;
		height: 100%;
		max-width: none;
		max-height: none;
		border-radius: 0;
		padding: 20px 16px 24px;
		display: flex;
		flex-direction: column;
	}

	/* כפתור סגירה – ימין למעלה */
	.modal-box.buy-box .close {
		position: absolute;
		top: 16px;
		right: 16px;
		left: auto;
		font-size: 22px;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: #f1f5f9;
		border: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 10;
	}

	/* כותרת יורדת קצת כדי לא להתנגש */
	.buy-title {
		margin-top: 32px;
	}

	/* כפתור קנייה נצמד לתחתית */
	.trade-btn.buy.full {
		margin-top: auto;
		padding: 14px;
		font-size: 16px;
	}
}

/* ===== BUY MODAL ANIMATIONS ===== */

.modal {
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}

.modal.open {
	opacity: 1;
	pointer-events: auto;
}

/* הקופסה עצמה */
.modal-box {
	transform: translateY(16px) scale(.98);
	opacity: 0;
	transition:
		transform .35s cubic-bezier(.16, 1, .3, 1),
		opacity .25s ease;
}

/* כשהמודאל פתוח */
.modal.open .modal-box {
	transform: translateY(0) scale(1);
	opacity: 1;
}

/* ===== SUCCESS TRANSITION ===== */

#buySuccess {
	opacity: 0;
	transform: translateY(12px);
	transition:
		opacity .35s ease,
		transform .35s cubic-bezier(.16, 1, .3, 1);
}

#buySuccess.show {
	opacity: 1;
	transform: translateY(0);
}

/* הסתרת אזור הקנייה בצורה חלקה */
.buy-calc,
.buy-input,
.buy-toggle {
	transition: opacity .2s ease, transform .2s ease;
}

.buy-hidden {
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	display: none;
}

/* מובייל – full screen + כפתור סגירה ברור */
@media (max-width: 640px) {
	.modal-box.buy-box {
		width: 100%;
		height: 100%;
		border-radius: 0;
	}

	.modal-box .close {
		top: 14px;
		right: 14px;
		font-size: 22px;
	}
}

/* ===== FIX MODAL JUMP ===== */

.modal-box.buy-box {
	max-height: 92vh;
	height: 620px;
	/* גובה קבוע בדסקטופ */
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* אזור תוכן מתחלף */
.buy-content {
	position: relative;
	flex: 1;
}

/* מסכים פנימיים */
.buy-screen {
	position: absolute;
	inset: 0;
	padding: 24px;
	overflow-y: auto;

	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;

	transition:
		opacity .35s ease,
		transform .35s cubic-bezier(.16, 1, .3, 1);
}

/* מסך פעיל */
.buy-screen.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

/* מובייל – תמיד fullscreen */
@media (max-width: 640px) {
	.modal-box.buy-box {
		height: 100vh;
		max-height: 100vh;
		border-radius: 0;
	}
}

.profile-top {
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	margin: -20px -20px 20px;
	padding: 20px 20px 0;
}

.profile-breadcrumb {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 14px;
}

.profile-header {
	display: flex;
	align-items: center;
	gap: 16px;
}

.profile-avatar-lg {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.profile-name {
	font-size: 22px;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 8px;
}

.profile-username {
	font-size: 14px;
	color: #6b7280;
}

.profile-badges {
	margin-top: 6px;
	display: flex;
	gap: 8px;
}

.badge {
	font-size: 12px;
	background: #eef2ff;
	color: #3730a3;
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 700;
}

.profile-tabs {
	display: flex;
	gap: 26px;
	margin-top: 22px;
	border-top: 1px solid #e5e7eb;
}

.profile-tabs a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 0;
	text-decoration: none;
	color: #6b7280;
	font-weight: 700;
	border-bottom: 3px solid transparent;
}

.profile-tabs a.active {
	color: #111827;
	border-color: #111827;
}

.performance-card {
	background: #fff;
	border-radius: 18px;
	padding: 22px;
	border: 1px solid #e5e7eb;
}

/* HEADER */
.performance-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.performance-title {
	font-size: 16px;
	font-weight: 800;
}

.performance-filter {
	border: 1px solid #d1d5db;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
	background: #fff;
}

/* CHART */
.performance-chart {
	position: relative;
	height: 220px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	padding: 0 10px 34px;
	border-top: 1px solid #e5e7eb;
}

/* baseline */
.performance-chart::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 110px;
	height: 1px;
	background: #e5e7eb;
}

.bar {
	flex: 1;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.bar-inner {
	width: 100%;
	max-width: 42px;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(180deg, #c7efb2, #9bd67c);
}

.bar.neg .bar-inner {
	background: #fca5a5;
}

.bar-year {
	position: absolute;
	bottom: -28px;
	font-size: 12px;
	color: #6b7280;
}

.bar-tooltip {
	position: absolute;
	bottom: 100%;
	background: #f3f4f6;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(-6px);
}

.bar:hover .bar-tooltip {
	opacity: 1
}

/* STATS */
.performance-stats {
	display: grid;
	grid-template-columns: auto 1fr;
	row-gap: 14px;
	column-gap: 24px;
	margin-top: 24px;
	font-size: 14px;
}

.stat-label {
	color: #6b7280;
}

.stat-value {
	font-weight: 800;
}

.stat-value.pos {
	color: #16a34a
}

.stat-value.neg {
	color: #dc2626
}

.risk-badge {
	display: inline-block;
	border: 1px solid #facc15;
	color: #92400e;
	font-weight: 900;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 13px;
}

/* ===== PERFORMANCE CARD FIX ===== */

.performance-card {
	background: #fff;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

/* אזור הגרף – חובה גובה */
.performance-chart {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	align-items: end;
	gap: 14px;
	height: 180px;
	/* ← הקריטי */
	margin: 20px 0;
	padding-bottom: 24px;
	position: relative;
}

/* עמודה */
.performance-chart .bar {
	position: relative;
	height: 100%;
	display: flex;
	align-items: flex-end;
}

/* המקל עצמו */
.performance-chart .bar-inner {
	width: 100%;
	background: linear-gradient(180deg, #22c55e, #16a34a);
	border-radius: 8px 8px 4px 4px;
	transition: height .4s ease;
}

/* שלילי */
.performance-chart .bar.neg .bar-inner {
	background: linear-gradient(180deg, #ef4444, #dc2626);
}

/* שנה */
.performance-chart .bar-year {
	position: absolute;
	bottom: -22px;
	width: 100%;
	text-align: center;
	font-size: 12px;
	color: #64748b;
}

/* tooltip */
.performance-chart .bar-tooltip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 6px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: .15s;
}

.performance-chart .bar:hover .bar-tooltip {
	opacity: 1;
}

.performance-chart {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	height: 180px;
	margin: 20px 0 30px;
}

.bar {
	flex: 1;
	position: relative;
	display: flex;
	justify-content: flex-end;
	flex-direction: column;
}

.bar-inner {
	width: 100%;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(180deg, #86efac, #22c55e);
}

.bar.neg .bar-inner {
	background: linear-gradient(180deg, #fca5a5, #ef4444);
}

.bar-label {
	margin-top: 6px;
	font-size: 12px;
	color: #6b7280;
	text-align: center;
}

.bar-tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #0f172a;
	color: #fff;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
}

.bar:hover .bar-tooltip {
	opacity: 1
}

.feed-block {
	display: none
}

.feed-block.on {
	display: block
}

/* =========================
   STATS TAB – MONTHLY PERFORMANCE
========================= */

#tab_stats .performance-card {
	background: #ffffff;
	border-radius: 18px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

#tab_stats .card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	font-weight: 900;
	font-size: 16px;
	color: #0f172a;
}

/* ===== BAR CHART ===== */

#tab_stats .monthly-chart {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(28px, 1fr));
	align-items: end;
	gap: 14px;
	height: 180px;
	/* קריטי – בלי זה אין גרף */
	margin: 20px 0 28px;
}

#tab_stats .month-bar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
}

#tab_stats .month-bar .bar {
	width: 100%;
	border-radius: 6px 6px 4px 4px;
	transition: height .3s ease;
}

#tab_stats .month-bar .bar.pos {
	background: linear-gradient(180deg, #22c55e, #16a34a);
}

#tab_stats .month-bar .bar.neg {
	background: linear-gradient(180deg, #ef4444, #dc2626);
}

#tab_stats .month-bar .label {
	margin-top: 6px;
	font-size: 11px;
	color: #64748b;
	white-space: nowrap;
}

/* ===== MONTHLY TABLE ===== */

#tab_stats .monthly-table {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#tab_stats .year-row {
	display: grid;
	grid-template-columns: 60px repeat(12, 1fr);
	gap: 6px;
	align-items: center;
}

#tab_stats .year {
	font-weight: 900;
	font-size: 13px;
	color: #0f172a;
}

#tab_stats .cell {
	text-align: center;
	padding: 6px 0;
	font-size: 12px;
	border-radius: 6px;
	background: #f1f5f9;
	color: #334155;
}

#tab_stats .cell.pos {
	background: #dcfce7;
	color: #166534;
}

#tab_stats .cell.neg {
	background: #fee2e2;
	color: #7f1d1d;
}

#tab_stats .cell.empty {
	background: transparent;
	color: #cbd5f5;
}

/* ===== MOBILE ===== */
@media(max-width:700px) {
	#tab_stats .year-row {
		grid-template-columns: 48px repeat(6, 1fr);
		grid-auto-rows: auto;
	}
}

#tab_stats .monthly-chart {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	/* תמיד 12 חודשים */
	align-items: end;
	gap: 14px;
	height: 180px;
	margin: 20px 0 28px;
}

/* ===== STATS YEAR CHART ===== */

#statsYearChart {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 160px;
	padding: 12px 0;
}

#statsYearChart .bar {
	position: relative;
	flex: 1;
	background: transparent;
}

#statsYearChart .bar-inner {
	width: 100%;
	border-radius: 6px;
	background: #22c55e;
	transition: height .3s ease;
}

#statsYearChart .bar.neg .bar-inner {
	background: #ef4444;
}

#statsYearChart .bar.empty .bar-inner {
	background: #374151;
	height: 4px !important;
}

#statsYearChart .bar-label {
	position: absolute;
	bottom: -22px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #94a3b8;
	white-space: nowrap;
}

#statsYearChart .bar-tooltip {
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #e5e7eb;
}

.monthly-chart {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 160px;
	/* ✅ קריטי */
	min-height: 160px;
	/* ✅ קריטי */
}

.bar {
	flex: 1;
	display: flex;
	align-items: flex-end;
}

.bar-inner {
	width: 100%;
	min-height: 4px;
	/* ✅ זה מה שגורם לראות גם ערך קטן */
	border-radius: 4px 4px 0 0;
}

.bar.pos .bar-inner {
	background: #22c55e;
}

.bar.neg .bar-inner {
	background: #ef4444;
}

.bar.empty .bar-inner {
	background: #334155;
}

.stacked-categories {
	margin-top: 14px;
}

.stacked-bar {
	display: flex;
	width: 100%;
	height: 22px;
	border-radius: 8px;
	overflow: hidden;
	background: #e5e7eb;
}

.stack-segment {
	height: 100%;
}

.stacked-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
	font-size: 13px;
	color: #374151;
}

.stacked-legend span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.stacked-legend i {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	display: inline-block;
}

.trading-card {
	margin-top: 16px
}

.trading-stats {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	text-align: center;
}

.trading-stats .big {
	font-size: 28px;
	font-weight: 700;
}

.frequent-head {
	display: flex;
	justify-content: space-between;
	margin: 12px 0;
}

.frequent-row {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid #e5e7eb;
}

.frequent-row:first-of-type {
	border-top: 0
}

.asset {
	display: flex;
	align-items: center;
	gap: 10px;
}

.asset img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
}

.stats span {
	display: block;
	font-size: 13px;
}

.winrate {
	text-align: right;
	font-weight: 600;
}

.additional-stats-card {
	margin-top: 16px;
}

.additional-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	text-align: center;
}

.stat-value {
	font-size: 22px;
	font-weight: 700;
}

.stat-label {
	margin-top: 4px;
	font-size: 13px;
	color: #6b7280;
}

@media(max-width:900px) {
	.additional-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.portfolio-card {
	padding: 0;
}

.portfolio-head {
	padding: 16px 18px;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #e5e7eb;
}

.portfolio-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.portfolio-table th,
.portfolio-table td {
	padding: 14px 12px;
	border-bottom: 1px solid #f1f5f9;
	text-align: left;
}

.portfolio-table th {
	font-size: 12px;
	color: #64748b;
}

.market {
	display: flex;
	align-items: center;
	gap: 10px;
}

.market img {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	object-fit: cover;
}

@media(max-width:900px) {
	.portfolio-table thead {
		display: none;
	}

	.portfolio-table tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 12px;
	}
}

.chip {
	background: #111827;
	border: 1px solid #1f2937;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	color: #e5e7eb;
}

.stat-row {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
}

.check {
	color: #22c55e;
	font-weight: 700;
}

.link {
	text-decoration: none;
}

/* ===== MARKETS TOP ===== */

.markets-top {
	margin-bottom: 34px
}

/* categories */
.markets-cats {
	display: flex;
	gap: 5px;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 10px;
	overflow-x: auto;
}

.markets-cats a {
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    background: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
}

.markets-cats a.active {
	color: #0f172a;
	border-bottom: 2px solid #0f172a;
}

/* titles */
.markets-head {
	margin: 22px 0 18px
}

.markets-head .eyebrow {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
}

.markets-head h1 {
	margin: 6px 0;
	font-size: 32px;
	font-weight: 900;
}

.markets-head p {
	margin: 0;
	color: #64748b;
	font-size: 15px;
}

/* carousel */
.hot-carousel-wrap {
	position: relative;
}

.hot-carousel-window {
	overflow: hidden;
}

.hot-carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 280px;
	gap: 16px;
	transition: transform .3s ease;
}

.hot-card {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
}

.hot-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.hot-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75));
}

.hot-info {
	position: absolute;
	bottom: 14px;
	right: 14px;
	z-index: 2;
}

.hot-name {
	font-weight: 900;
	font-size: 16px;
}

.hot-return {
	font-weight: 900;
	font-size: 18px;
}

.pos {
	color: #22c55e
}

.neg {
	color: #ef4444
}

/* arrows */
.hot-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 20px;
	cursor: pointer;
}

.hot-nav.prev {
	right: -18px
}

.hot-nav.next {
	left: -18px
}

@media (max-width:700px) {
	.hot-carousel {
		grid-auto-columns: 240px;
	}
}

.popular-section {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 32px;
	background: #f8fafc;
	border-radius: 20px;
	padding: 28px;
	margin: 40px 0;
}

.popular-left .eyebrow {
	font-size: 13px;
	color: #64748b;
	font-weight: 700;
}

.popular-left h2 {
	margin: 10px 0 22px;
	font-size: 32px;
	font-weight: 900;
}

.popular-left select {
    font-size: 32px;
    font-weight: 900;
    border: none;
    border-bottom: 2px dashed #22c55e;
    background: transparent;
    color: #22c55e;
    cursor: pointer;
    font-family: inherit;
}

.view-all-btn {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid #cbd5f5;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
	color: #0f172a;
}

.popular-table {
	width: 100%;
	border-collapse: collapse;
}
.asset-card {
    display: flex;
    justify-content: space-between;
}

.asset-card-row {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 14px;
    flex-direction: column;
    align-items: flex-end;
}
.popular-table th {
	text-align: right;
	font-size: 13px;
	color: #64748b;
	padding-bottom: 10px;
}

.popular-table td {
	padding: 14px 0;
	border-top: 1px solid #e5e7eb;
	vertical-align: middle;
}

.asset-cell {
	display: flex;
	align-items: center;
	gap: 12px;
}

.asset-cell img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: cover;
}

.asset-cell span {
	display: block;
	font-size: 12px;
	color: #64748b;
}

@media (max-width:900px) {
	.popular-section {
		grid-template-columns: 1fr;
	}
}

.live-trades {
	margin: 40px 0
}

.live-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px
}

.live-head h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 900
}

.live-head p {
	margin: 4px 0 0;
	color: #64748b;
	font-size: 14px
}

.live-head .dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #22c55e;
	border-radius: 50%;
	margin-right: 6px
}

.live-nav {
	display: flex;
	gap: 8px
}

.live-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 18px;
	cursor: pointer
}

.live-window {
	overflow: hidden
}

.live-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 260px;
	gap: 14px;
	transition: transform .3s ease;
}

.live-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 14px;
}

.live-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px
}

.live-user {
	display: flex;
	gap: 10px;
	align-items: center
}

.live-user img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover
}

.live-user strong {
	font-size: 14px
}

.live-user span {
	font-size: 12px;
	color: #64748b
}

.trade-line {
	font-size: 14px;
	margin-top: 8px
}

.trade-line .buy {
	color: #16a34a;
	font-weight: 800
}

.trade-line .sell {
	color: #dc2626;
	font-weight: 800
}

.trade-line b {
	font-weight: 900
}

@media(max-width:700px) {
	.live-track {
		grid-auto-columns: 220px
	}
}

.live-trades {
	margin: 40px 0
}

.live-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px
}

.live-head h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 900
}

.live-head p {
	margin: 4px 0 0;
	color: #64748b;
	font-size: 14px
}

.live-head .dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #22c55e;
	border-radius: 50%;
	margin-right: 6px
}

.live-nav {
	display: flex;
	gap: 8px
}

.live-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 18px;
	cursor: pointer;
	line-height: 1
}

.live-window {
	overflow: hidden
}

.live-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 260px;
	gap: 14px;
	transition: transform .3s ease;
	will-change: transform;
}

.live-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 14px;
}

.live-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px
}

.live-user {
	display: flex;
	gap: 10px;
	align-items: center
}

.live-user img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover
}

.live-user a {
	text-decoration: none;
	color: #0f172a;
	font-weight: 900;
	font-size: 14px;
}

.live-user a:hover {
	text-decoration: underline;
}

.trade-line {
	font-size: 14px;
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap
}

.trade-line .buy {
	color: #16a34a;
	font-weight: 800
}

.trade-line .sell {
	color: #dc2626;
	font-weight: 800
}

.asset-mini {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	object-fit: cover;
	border: 1px solid #e5e7eb;
}

.asset-link {
	color: #0f172a;
	font-weight: 900;
	text-decoration: none;
}

.asset-link:hover {
	text-decoration: underline;
}

.muted-time {
	color: #64748b;
	font-size: 13px
}

@media(max-width:700px) {
	.live-track {
		grid-auto-columns: 220px
	}
}

.trending-assets {
	margin: 40px 0
}

.trending-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px
}

.trending-head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 900
}

.trending-head p {
	margin: 4px 0 0;
	color: #64748b;
	font-size: 14px
}

.trending-actions {
	display: flex;
	align-items: center;
	gap: 10px
}

.view-all {
	padding: 8px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	color: #0f172a
}

.trend-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 18px;
	cursor: pointer
}

.trend-window {
	overflow: hidden
}

.trend-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 180px;
	gap: 14px;
	transition: transform .3s ease
}

.trend-card {
	background: #fff;
	border-radius: 18px;
	padding: 16px;
	text-align: center;
	text-decoration: none;
	color: #0f172a;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06)
}

.trend-card img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	margin-bottom: 10px
}

.trend-symbol {
	font-weight: 900;
	font-size: 15px
}

.trend-price {
	margin-top: 6px;
	font-weight: 700;
	font-size: 16px
}

.trend-change {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 800
}

.trend-card.featured {
	background: #eaff2f;
}

.pos {
	color: #16a34a
}

.neg {
	color: #dc2626
}

@media(max-width:700px) {
	.trend-track {
		grid-auto-columns: 150px
	}
}

.trend-card {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	text-decoration: none;
	color: #0f172a;
	height: 190px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

/* רקע מטושטש */
.trend-bg {
	position: absolute;
	inset: -20px;
	background-image: var(--bg);
	background-size: cover;
	background-position: center;
	filter: blur(22px) brightness(1.5) saturate(1.2);
}

/* שכבת ריכוך */
.trend-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .55);
}

/* תוכן מעל הרקע */
.trend-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
}

/* לוגו */
.trend-content img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	margin-bottom: 8px;
	background: #fff;
	border-radius: 10px;
	padding: 6px;
}

/* טקסט */
.trend-symbol {
	font-weight: 900;
	font-size: 15px;
}

.trend-price {
	margin-top: 6px;
	font-weight: 700;
	font-size: 16px;
}

.trend-change {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 800;
}

/* כרטיס מודגש */
.trend-card.featured .trend-bg {
	filter: blur(18px) brightness(1) saturate(1);
}

.feed-trending {
	margin: 40px 0
}

.feed-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px
}

.feed-head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 900
}

.feed-head p {
	margin: 4px 0 0;
	color: #64748b;
	font-size: 14px
}

.feed-nav {
	display: flex;
	gap: 8px
}

.feed-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 18px;
	cursor: pointer
}

.feed-window {
	overflow: hidden
}

.feed-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 220px;
	gap: 14px;
	transition: transform .3s ease
}

.feed-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 14px;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: #0f172a
}

.feed-posts {
	text-align: center;
}

.feed-posts strong {
	font-size: 22px;
	font-weight: 900;
	display: block
}

.feed-posts span {
	font-size: 12px;
	color: #64748b
}

.feed-asset {
	display: flex;
	align-items: center;
	gap: 10px
}

.feed-asset img {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	object-fit: contain;
	background: #f8fafc;
	padding: 4px
}

.feed-symbol {
	font-weight: 900;
	font-size: 14px
}

.feed-change {
	font-size: 13px;
	font-weight: 800
}

.pos {
	color: #16a34a
}

.neg {
	color: #dc2626
}

@media(max-width:700px) {
	.feed-track {
		grid-auto-columns: 200px
	}
}

/* =========================
   RECENT ASSETS
========================= */
.recent-assets {
	margin-top: 48px;
}

.recent-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 16px;
}

.recent-head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 900;
}

.recent-head p {
	margin: 4px 0 0;
	font-size: 14px;
	opacity: .7;
}

.recent-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.recent-actions .view-all {
	font-weight: 800;
	text-decoration: none;
	color: #0f172a;
}

.recent-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 18px;
	cursor: pointer;
}

/* =========================
   CAROUSEL
========================= */
.recent-window {
	overflow: hidden;
}

.recent-track {
	display: flex;
	gap: 12px;
	transition: transform .35s ease;
}

/* =========================
   CARD
========================= */
.recent-card {
	position: relative;
	width: 190px;
	height: 250px;
	border-radius: 18px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	flex-shrink: 0;
	background: #111827;
}

/* blurred bright background */
.recent-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(18px) brightness(1.25);
	transform: scale(1.15);
}

/* dark overlay */
.recent-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom,
			rgba(0, 0, 0, .15),
			rgba(0, 0, 0, .75));
}

/* =========================
   CONTENT
========================= */
.recent-content {
	position: relative;
	z-index: 2;
	height: 100%;
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center;
}

.recent-content img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
	margin-bottom: 10px;
}

.recent-symbol {
	font-weight: 900;
	font-size: 16px;
	margin-bottom: 4px;
}

.recent-price {
	font-size: 18px;
	font-weight: 900;
	margin-bottom: 4px;
}

.recent-change {
	font-size: 14px;
	font-weight: 800;
}

.recent-change.pos {
	color: #22c55e
}

.recent-change.neg {
	color: #ef4444
}

/* =========================
   MOBILE
========================= */
@media (max-width:600px) {
	.recent-card {
		width: 160px;
		height: 220px;
	}
}

/* =========================
   CATEGORY = MARKETS
========================= */

/* HEADER */
.markets-head {
	margin: 10px 0 24px;
}

.markets-head .eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: #64748b;
	margin-bottom: 6px;
}

.markets-head h1 {
	margin: 0;
	font-size: 30px;
	font-weight: 900;
}

.markets-head p {
	margin: 6px 0 0;
	color: #64748b;
	font-size: 15px;
}

/* =========================
   FILTERS (same as markets)
========================= */
.filters {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 12px 0 18px;
}

.filters select,
.filters button {
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	font-family: inherit;
	font-size: 14px;
}

.filters button {
	background: #0f172a;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

/* =========================
   DESKTOP TABLE
========================= */
.assets-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	direction: rtl;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.assets-table th,
.assets-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #e5e7eb;
	text-align: right;
	white-space: nowrap;
	font-size: 14px;
}

.assets-table th {
	background: #f8fafc;
	font-size: 12px;
	font-weight: 800;
	color: #475569;
}

.assets-table img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.assets-table a {
	text-decoration: none;
	color: inherit;
	font-weight: 700;
}

.btn-buy {
	padding: 8px 14px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	text-decoration: none;
	display: inline-block;
}

/* PRICE CHANGE */
.chg-pos {
	color: #16a34a;
	font-weight: 800;
}

.chg-neg {
	color: #dc2626;
	font-weight: 800;
}

/* =========================
   MOBILE CARDS
========================= */
.mobile-cards {
	display: none;
	flex-direction: column;
	gap: 12px;
}

.asset-card {
	background: #fff;
	border-radius: 18px;
	padding: 14px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.asset-card-header {
	display: flex;
	gap: 10px;
	align-items: center;
}

.asset-card-header img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.asset-card-title {
	font-weight: 900;
	font-size: 15px;
}

.asset-card-meta {
	font-size: 13px;
	color: #64748b;
}

.asset-card-row {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 14px;
}

.asset-card-actions {
	margin-top: 12px;
	text-align: left;
}

/* =========================
   RESPONSIVE SWITCH
========================= */
@media (max-width: 900px) {
	.assets-table {
		display: none;
	}

	.mobile-cards {
		display: flex;
	}
}

/* =========================
   CATEGORY PAGE POLISH
========================= */

/* קצת יותר אוויר במובייל */
@media (max-width: 600px) {
	.markets-head h1 {
		font-size: 24px;
	}

	.markets-head p {
		font-size: 14px;
	}
}

/* ===== MOBILE SIDEBAR – TWO COLUMNS MENU ===== */
@media (max-width: 900px) {

	/* גריד דו־טורי */
	.sidebar .nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px 10px;
	}

	/* כל לינק ככרטיס */
	.sidebar .nav .nav-link {
		justify-content: flex-start;
		padding: 7px 10px;
		border-radius: 12px;
		font-size: 14px;
	}

	/* אייקון מעל טקסט */
	.sidebar .nav .nav-link {
		flex-direction: row;
		gap: 6px;
		text-align: center;
	}

	/* מפרידים – שוברים שורה ותופסים רוחב מלא */
	.sidebar .nav hr {
		grid-column: 1 / -1;
		margin: 12px 0;
	}

	/* אזור כרטיס משתמש – גם רוחב מלא */
	.sidebar .sidebar-user {
		grid-column: 1 / -1;
		margin-bottom: 8px;
	}

	/* כפתורים “ראשיים” (כמו הצטרפות) – רוחב מלא */
	.sidebar .nav .nav-primary {
		grid-column: 1 / -1;
	}
}

/* Category links */
.sidebar .nav .category-link i {
	font-size: 18px;
	opacity: .9;
}

.sidebar .nav .category-link:hover {
	background: rgba(255, 255, 255, .12);
}

/* LIVE TRADES */
.live-trades {
	margin: 40px 0;
}

.live-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
}

.live-head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
}

.live-head p {
	margin: 4px 0 0;
	color: #64748b;
	font-size: 14px;
}

.live-window {
	overflow: hidden;
}

.live-track {
	display: flex;
	gap: 14px;
	transition: transform .3s ease;
}

.live-card {
	min-width: 240px;
	background: #fff;
	border-radius: 16px;
	padding: 12px;
	display: grid;
	grid-template-columns: 44px 1fr auto;
	gap: 10px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
	align-items: center;
}

.live-card img {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	object-fit: cover;
}

.live-info strong {
	display: block;
	font-size: 14px;
	font-weight: 800;
}

.live-info span {
	font-size: 12px;
	color: #64748b;
}

.live-meta {
	text-align: left;
	font-weight: 800;
	font-size: 13px;
}

.live-meta small {
	display: block;
	font-size: 11px;
	color: #64748b;
	margin-top: 2px;
}

/* צבעים לפי פעולה */
.live-card.buy {
	border-right: 4px solid #16a34a;
}

.live-card.sell {
	border-right: 4px solid #dc2626;
}

.live-card {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.live-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
}

.hot-carousel-window,
.trend-window,
.feed-window,
.recent-window,
.live-window {
  overflow: hidden;
  touch-action: pan-y; /* מאפשר swipe אופקי בלי לשבור scroll */
}
