/* Homepage — Nexus / Start bento (front page only) */

body.myicms-start-page {
	background:
		radial-gradient(1100px 520px at 18% -8%, #4c2a78 0%, transparent 58%),
		radial-gradient(900px 480px at 88% 0%, #1a1033 0%, transparent 52%),
		#07070a;
	color: #f4f4f5;
}

body.myicms-start-page .myicms-utility,
body.myicms-start-page .myicms-nav {
	display: none;
}

body.myicms-start-page .myicms-header {
	background: transparent;
	border: 0;
}

body.myicms-start-page .myicms-brand__text,
body.myicms-start-page .myicms-header__tool,
body.myicms-start-page .myicms-header__menu-btn {
	color: #f4f4f5;
}

body.myicms-start-page .myicms-header__tools {
	grid-column: 3;
	justify-self: end;
}

body.myicms-start-page .myicms-container {
	width: min(100% - 2rem, 1240px);
}

body.myicms-start-page .myicms-start-mast {
	padding: 0.25rem 0 1.1rem;
}

body.myicms-start-page .myicms-start-mast__search {
	max-width: 640px;
	margin: 0 auto 1.35rem;
}

body.myicms-start-page .myicms-search__form {
	background: #fff;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
	padding: 0.15rem 1.1rem;
	min-height: 52px;
}

body.myicms-start-page .myicms-search__input {
	color: #3f3f46;
	font-size: 0.98rem;
}

body.myicms-start-page .myicms-search__submit {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

body.myicms-start-page .myicms-search .myicms-icon {
	color: #71717a;
}

body.myicms-start-page .myicms-shortcuts__list {
	justify-content: center;
	gap: 1.4rem;
	padding: 0.2rem 0 1.6rem;
}

body.myicms-start-page .myicms-shortcuts a {
	width: 72px;
	color: #e4e4e7;
	font-size: 0.78rem;
	font-weight: 500;
}

body.myicms-start-page .myicms-shortcuts__icon {
	width: 58px;
	height: 58px;
	border: 0;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
}

body.myicms-start-page .myicms-shortcuts li:nth-child(1) .myicms-shortcuts__icon { background: #f97316; }
body.myicms-start-page .myicms-shortcuts li:nth-child(2) .myicms-shortcuts__icon { background: #3b82f6; }
body.myicms-start-page .myicms-shortcuts li:nth-child(3) .myicms-shortcuts__icon { background: #22c55e; }
body.myicms-start-page .myicms-shortcuts li:nth-child(4) .myicms-shortcuts__icon { background: #a855f7; }
body.myicms-start-page .myicms-shortcuts li:nth-child(5) .myicms-shortcuts__icon { background: #eab308; }
body.myicms-start-page .myicms-shortcuts li:nth-child(6) .myicms-shortcuts__icon { background: #38bdf8; }
body.myicms-start-page .myicms-shortcuts li:nth-child(7) .myicms-shortcuts__icon { background: #fb7185; }
body.myicms-start-page .myicms-shortcuts li:nth-child(8) .myicms-shortcuts__icon { background: #84cc16; }
body.myicms-start-page .myicms-shortcuts li:nth-child(9) .myicms-shortcuts__icon { background: #9ca3af; }

body.myicms-start-page .myicms-shortcuts a.is-active .myicms-shortcuts__icon {
	box-shadow: 0 0 0 2px #fff;
}

.nx-shell {
	background: #141416;
	border-radius: 22px;
	padding: 6px 12px 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.nx-bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: 0.7rem 0.4rem 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	margin-bottom: 12px;
}

.nx-bar__brand {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.nx-bar__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.88rem;
	font-weight: 600;
}

.nx-bar__tabs a {
	color: #a1a1aa;
	text-decoration: none;
}

.nx-bar__tabs a.is-active {
	color: #fafafa;
}

.nx-bar__tools {
	display: flex;
	gap: 0.9rem;
	font-size: 0.78rem;
	color: #a1a1aa;
}

.nx-bar__tools a {
	color: #d4d4d8;
	text-decoration: none;
}

.nx-board {
	display: grid;
	grid-template-columns: 1.35fr 1fr 0.92fr;
	gap: 12px;
	align-items: start;
}

.nx-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nx-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.nx-tile {
	background: #1c1c1f;
	border-radius: 16px;
	overflow: hidden;
	color: #f4f4f5;
}

.nx-tile h2 {
	font-size: 0.82rem;
	font-weight: 700;
	margin: 0.85rem 0.9rem 0.4rem;
	color: #e4e4e7;
}

.nx-tile__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.nx-tile__art {
	position: relative;
	display: block;
	min-height: 140px;
	background: #111113;
}

.nx-tile__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nx-tile__art--orbs {
	background:
		radial-gradient(circle at 30% 40%, #7c3aed 0%, transparent 42%),
		radial-gradient(circle at 70% 35%, #6366f1 0%, transparent 38%),
		radial-gradient(circle at 50% 75%, #1d4ed8 0%, transparent 40%),
		#121216;
	min-height: 180px;
}

.nx-tile--hero .nx-tile__art,
.nx-tile--hero .nx-tile__art--orbs {
	min-height: 280px;
	flex: 1;
}

.nx-tile--hero,
.nx-tile--tall {
	min-height: 420px;
}

.nx-tile--tall .nx-tile__art--orbs,
.nx-tile--tall .nx-tile__art {
	min-height: 240px;
	flex: 1;
}

.nx-live {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #ef4444;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.2rem 0.45rem;
	border-radius: 6px;
}

.nx-tile__copy {
	padding: 0.75rem 0.9rem 1rem;
}

.nx-kicker {
	display: block;
	font-size: 0.7rem;
	color: #a1a1aa;
	margin-bottom: 0.2rem;
}

.nx-tile__title {
	display: block;
	font-size: 0.95rem;
	line-height: 1.3;
}

.nx-tile__price {
	display: block;
	margin-top: 0.35rem;
	font-weight: 700;
	font-size: 0.95rem;
}

.nx-tile--list ul,
.nx-tile--liveboard ul,
.nx-tile--tape ul,
.nx-tile--follow ul {
	list-style: none;
	margin: 0;
	padding: 0 0.9rem 0.85rem;
}

.nx-tile--list li,
.nx-tile--liveboard li,
.nx-tile--tape li,
.nx-tile--follow li {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 0.55rem 0;
	font-size: 0.82rem;
}

.nx-tile--list a,
.nx-tile--tape a,
.nx-tile--follow a,
.nx-tile--liveboard li {
	display: flex;
	justify-content: space-between;
	gap: 0.6rem;
	align-items: baseline;
	color: inherit;
	text-decoration: none;
}

.nx-tile--list em,
.nx-tile--tape em {
	font-style: normal;
	color: #71717a;
	font-size: 0.72rem;
	white-space: nowrap;
}

.is-up { color: #4ade80 !important; }
.is-down { color: #f87171 !important; }

.nx-picks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0.2rem 0.9rem 1rem;
}

.nx-pick {
	aspect-ratio: 1;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
}

.nx-pick--1 { background: #f97316; }
.nx-pick--2 { background: #3b82f6; }
.nx-pick--3 { background: #22c55e; }
.nx-pick--4 { background: #a855f7; }
.nx-pick--5 { background: #eab308; }
.nx-pick--6 { background: #38bdf8; }
.nx-pick--7 { background: #fb7185; }
.nx-pick--8 { background: #84cc16; }
.nx-pick--9 { background: #9ca3af; }

.nx-stat__value {
	font-size: 1.7rem;
	font-weight: 700;
	margin: 0.2rem 0.9rem 0;
}

.nx-stat__label {
	font-size: 0.8rem;
	color: #a1a1aa;
	margin: 0.2rem 0.9rem 0.8rem;
}

.nx-bars {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 72px;
	padding: 0 0.9rem 1rem;
}

.nx-bars span {
	flex: 1;
	border-radius: 6px 6px 2px 2px;
	background: #3b82f6;
}

.nx-bars span:nth-child(1) { height: 40%; }
.nx-bars span:nth-child(2) { height: 62%; }
.nx-bars span:nth-child(3) { height: 88%; }
.nx-bars span:nth-child(4) { height: 55%; }
.nx-bars span:nth-child(5) { height: 70%; }

.nx-follow-dot {
	display: inline-grid;
	place-items: center;
	width: 1.55rem;
	height: 1.55rem;
	margin-right: 0.5rem;
	border-radius: 50%;
	background: #27272a;
	font-size: 0.7rem;
	font-weight: 700;
}

.nx-tile--follow a {
	justify-content: flex-start;
	align-items: center;
}

body.myicms-start-page .site-footer {
	margin-top: 2.5rem;
}

body.myicms-start-page .myicms-section > h2 {
	color: #fff;
}

body.myicms-start-page .myicms-search__panel {
	color: #2d3748;
}

@media (max-width: 1100px) {
	.nx-board {
		grid-template-columns: 1fr 1fr;
	}

	.nx-col--side {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.nx-bar {
		grid-template-columns: 1fr;
	}

	.nx-board,
	.nx-col--side {
		grid-template-columns: 1fr;
	}

	.nx-col--side {
		display: flex;
	}

	body.myicms-start-page .myicms-header__menu-btn {
		display: inline-flex;
	}

	.nx-tile--hero,
	.nx-tile--tall {
		min-height: 280px;
	}
}
