/* ═══ Ye Gez — floating edge dock (yegez.com.tr goTop + mod) ═══ */

body.yegez-luxe .yz-edge-dock {
	position: fixed;
	right: clamp(0.55rem, 1.4vw, 1rem);
	top: 50%;
	z-index: 9997;
	transform: translateY(-50%);
	pointer-events: none;
}

body.yegez-luxe .yz-edge-dock__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 0.42rem;
	border: 1px solid color-mix(in srgb, var(--yz-line) 88%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--yz-white) 94%, transparent);
	box-shadow: 0 10px 32px rgba(15, 40, 32, 0.16);
	backdrop-filter: blur(10px);
	pointer-events: auto;
}

body.yegez-luxe .yz-edge-dock__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.65rem;
	height: 2.65rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--yz-ink);
	cursor: pointer;
	transition: background 0.2s var(--yz-ease, ease), color 0.2s, transform 0.2s;
}

body.yegez-luxe .yz-edge-dock__btn:hover {
	background: color-mix(in srgb, var(--yz-accent) 12%, #fff);
	color: var(--yz-accent);
	transform: translateY(-1px);
}

body.yegez-luxe .yz-edge-dock__btn--top[hidden],
body.yegez-luxe .yz-edge-dock__rule[hidden] {
	display: none;
}

body.yegez-luxe .yz-edge-dock__ring {
	position: absolute;
	inset: 0.18rem;
	width: calc(100% - 0.36rem);
	height: calc(100% - 0.36rem);
}

body.yegez-luxe .yz-edge-dock__ring-track {
	stroke: color-mix(in srgb, var(--yz-line) 80%, transparent);
}

body.yegez-luxe .yz-edge-dock__ring-progress {
	stroke: var(--yz-accent);
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 50% 50%;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 0.12s linear;
}

body.yegez-luxe .yz-edge-dock__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
}

body.yegez-luxe .yz-edge-dock__rule {
	display: block;
	width: 1.35rem;
	height: 1px;
	background: color-mix(in srgb, var(--yz-line) 82%, transparent);
}

body.yegez-luxe .yz-edge-dock__btn--night[aria-pressed="true"] {
	background: color-mix(in srgb, var(--yz-accent) 14%, #fff);
	color: var(--yz-accent);
}

body.yegez-luxe .yz-edge-dock__night-off {
	display: none;
}

body.yegez-luxe .yz-edge-dock__btn--night[aria-pressed="true"] .yz-edge-dock__night-on {
	display: none;
}

body.yegez-luxe .yz-edge-dock__btn--night[aria-pressed="true"] .yz-edge-dock__night-off {
	display: block;
}

/* ── Sticky sidebar pin stack (social scrolls, lists follow) ── */
@media (min-width: 1024px) {
	body.phantaso-yegez-home.yegez-luxe .pm-sidebar--yegez {
		position: relative;
		top: auto;
		align-self: start;
	}

	body.phantaso-yegez-home.yegez-luxe .yz-sb-stack--pin {
		position: sticky;
		top: calc(var(--yz-header-offset, 3.75rem) + 0.75rem);
		align-self: start;
		z-index: 24;
	}
}

/* ── Gece modu — homepage / inner surfaces ── */
html.yz-edge-night body.yegez-luxe.phantaso-yegez-home,
html.yz-edge-night body.yegez-luxe {
	background: #0f1412;
	color: #e3eae6;
}

html.yz-edge-night body.yegez-luxe .phantaso-header--yz,
html.yz-edge-night body.yegez-luxe .yz-edge-dock__panel {
	background: color-mix(in srgb, #1b2320 94%, transparent);
	border-color: rgba(255, 255, 255, 0.1);
}

html.yz-edge-night body.yegez-luxe .phantaso-header--yz .yz-header__inner::before {
	background: color-mix(in srgb, #1b2320 96%, transparent);
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.yz-edge-night body.yegez-luxe .phantaso-header--yz.yz-header.is-scrolled .yz-header__inner::before {
	background: color-mix(in srgb, #1b2320 90%, transparent) !important;
	backdrop-filter: blur(16px) saturate(1.1) !important;
	-webkit-backdrop-filter: blur(16px) saturate(1.1) !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.05),
		0 8px 28px rgba(0, 0, 0, 0.22) !important;
}

html.yz-edge-night body.yegez-luxe .yz-header__ribbon {
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--yz-accent) 14%, #1b2320) 0%,
		#1b2320 48%,
		color-mix(in srgb, var(--yz-brass) 10%, #1b2320) 100%
	);
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.yz-edge-night body.yegez-luxe .yz-header__spotlight-link,
html.yz-edge-night body.yegez-luxe .yz-header__spotlight-text {
	color: #c5d0cb;
}

html.yz-edge-night body.yegez-luxe .yz-header__spotlight-link:hover {
	color: #f4f7f5;
}

html.yz-edge-night body.yegez-luxe .yz-nav__list > li > a {
	color: #e3eae6;
}

html.yz-edge-night body.yegez-luxe .yz-nav__list > li.current-menu-item > a,
html.yz-edge-night body.yegez-luxe .yz-nav__list > li.current_page_item > a {
	color: color-mix(in srgb, var(--yz-accent) 78%, #fff);
}

html.yz-edge-night body.yegez-luxe .yz-header__search,
html.yz-edge-night body.yegez-luxe .yz-header__night {
	background: color-mix(in srgb, #242d29 92%, transparent);
	border-color: rgba(255, 255, 255, 0.12);
	color: #e3eae6;
}

html.yz-edge-night body.yegez-luxe .yz-header__search:hover,
html.yz-edge-night body.yegez-luxe .yz-header__search[aria-expanded="true"],
html.yz-edge-night body.yegez-luxe .yz-header__night:hover,
html.yz-edge-night body.yegez-luxe .yz-header__night[aria-pressed="true"] {
	background: color-mix(in srgb, var(--yz-accent) 22%, #1b2320);
	border-color: color-mix(in srgb, var(--yz-accent) 35%, transparent);
	color: #fff;
}

html.yz-edge-night body.yegez-luxe .yz-edge-dock__btn {
	color: #e3eae6;
}

html.yz-edge-night body.yegez-luxe .yz-edge-dock__btn:hover {
	background: color-mix(in srgb, var(--yz-accent) 22%, #1b2320);
	color: #fff;
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-pulse--orbit,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-stream--desk .yz-stream__lead,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-stream--desk .yz-stream__item,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-social--lux {
	background: #1b2320;
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-card {
	background:
		linear-gradient(168deg, #1b2320 0%, color-mix(in srgb, var(--yz-cat, var(--yz-accent)) 9%, #1b2320) 100%);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.04) inset,
		0 12px 36px rgba(0, 0, 0, 0.28);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-head {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-all {
	background: color-mix(in srgb, #242d29 88%, transparent);
	border-color: rgba(255, 255, 255, 0.1);
	color: #9eada6;
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-all:hover {
	color: #f4f7f5;
	background: color-mix(in srgb, var(--yz-cat, var(--yz-accent)) 18%, #242d29);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-list {
	border-top-color: rgba(255, 255, 255, 0.08);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-item {
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-row:hover {
	background: color-mix(in srgb, var(--yz-cat, var(--yz-accent)) 14%, #1b2320);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-title,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-section-bar__title,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-stream__lead-title,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-stream__item-title,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-lead-title,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-row-title {
	color: #f4f7f5;
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-meta,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-muted,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured__date {
	color: #9eada6;
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured--luxe {
	background:
		linear-gradient(168deg, #1b2320 0%, color-mix(in srgb, var(--yz-accent) 6%, #1b2320) 100%);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured--luxe .yz-sb__head {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured--luxe .yz-sb-featured__item--row {
	border-top-color: rgba(255, 255, 255, 0.06);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured__row-link:hover {
	background: color-mix(in srgb, var(--yz-cat, var(--yz-accent)) 14%, #1b2320);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured__lead-title,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured__row-title {
	color: #f4f7f5;
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured__row-link:hover .yz-sb-featured__row-title {
	color: color-mix(in srgb, var(--yz-cat, var(--yz-accent)) 78%, #fff);
}

html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured__lead-date,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-sb-featured__row-date,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-lead-date,
html.yz-edge-night body.phantaso-yegez-home.yegez-luxe .yz-hubs__desk-row-date {
	color: #9eada6;
}

@media (max-width: 1023px) {
	body.yegez-luxe .yz-edge-dock {
		top: auto;
		bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
		transform: none;
	}
}

@media print {
	body.yegez-luxe .yz-edge-dock {
		display: none !important;
	}
}
