/* Vücut Kitle İndeksi hesaplayıcısı — sy/hesaplayici (1.9.169) */

.sy-hs {
	--hs-lacivert: #021938;
	--hs-koyu: #0a2c69;
	--hs-altin: #cca668;
	--hs-altin-acik: #e0c48a;
	--hs-cizgi: #e2ecf6;
	--hs-metin: #1f2f4a;
	--hs-soluk: #5b6c88;
	--hs-k0: #7fb3ff;
	--hs-k1: #4fc98a;
	--hs-k2: #e8c25a;
	--hs-k3: #f0995a;
	--hs-k4: #e9705a;
	--hs-k5: #c94a5a;
	color: var(--hs-metin);
}

.sy-hs-shell {
	width: min(calc(100% - var(--page-inline-space, 64px)), var(--page-max-width, 1560px));
	margin: 0 auto;
}

/* --- Üst bant --- */

.sy-hs-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(32px, 3.2vw, 52px) 0 clamp(96px, 8vw, 132px);
	color: #eaf3ff;
	background:
		radial-gradient(circle at 82% 8%, rgba(77, 186, 255, .16), transparent 46%),
		radial-gradient(circle at 6% 96%, rgba(21, 141, 232, .10), transparent 42%),
		var(--hs-lacivert);
}

.sy-hs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .5;
	background-image: radial-gradient(rgba(180, 214, 255, .12) .7px, transparent .7px);
	background-size: 24px 24px;
	-webkit-mask-image: linear-gradient(115deg, #000, transparent 52%);
	mask-image: linear-gradient(115deg, #000, transparent 52%);
	pointer-events: none;
}

.sy-hs-crumb {
	display: flex;
	gap: 9px;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(199, 220, 245, .7);
}

.sy-hs-crumb a {
	color: inherit;
	text-decoration: none;
}

.sy-hs-crumb span:last-child {
	color: #eaf3ff;
}

.sy-hs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 10px;
	color: var(--hs-altin-acik);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.sy-hs-eyebrow::before {
	content: "";
	width: 38px;
	height: 1px;
	background: var(--hs-altin-acik);
}

.sy-hs-title {
	margin: 0 0 14px;
	max-width: 16ch;
	color: #fff;
	font-size: clamp(32px, 3.7vw, 50px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.04;
}

.sy-hs-title span {
	color: var(--hs-altin-acik);
}

.sy-hs-title small {
	display: block;
	margin-top: 8px;
	color: rgba(214, 230, 250, .78);
	font-size: .4em;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.sy-hs-lead {
	margin: 0;
	max-width: 70ch;
	color: rgba(214, 230, 250, .84);
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.6;
}

/* --- Gövde --- */

.sy-hs-govde {
	position: relative;
	z-index: 2;
	margin-bottom: clamp(28px, 3vw, 44px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
	gap: clamp(20px, 2.4vw, 36px);
	margin-top: clamp(-72px, -6vw, -96px);
	align-items: start;
}

.sy-hs-form {
	display: grid;
	gap: 26px;
	padding: clamp(24px, 2.6vw, 38px);
	border: 1px solid var(--hs-cizgi);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 70px -30px rgba(4, 36, 91, .28);
}

.sy-hs-ust {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.sy-hs-form-ad {
	margin: 0;
	color: var(--hs-koyu);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -.01em;
}

/* Birim anahtarı */
.sy-hs-birim {
	display: inline-flex;
	padding: 4px;
	border-radius: 999px;
	background: #eef3f9;
}

.sy-hs-birim label {
	position: relative;
	cursor: pointer;
}

.sy-hs-birim input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.sy-hs-birim span {
	display: block;
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--hs-soluk);
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: .02em;
	transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.sy-hs-birim label:has(input:checked) span {
	background: #fff;
	color: var(--hs-koyu);
	box-shadow: 0 4px 12px rgba(4, 36, 91, .12);
}

.sy-hs-birim label:has(input:focus-visible) span {
	box-shadow: 0 0 0 3px rgba(204, 166, 104, .35);
}

/* Cinsiyet seçimi: iki eşit parça, seçili olanda altın nokta */
.sy-hs-cinsiyet {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	min-width: 0;
	border: 0;
}

.sy-hs-cinsiyet legend {
	padding: 0;
	margin: 0 0 12px;
}

.sy-hs-secim {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.sy-hs-secim label {
	position: relative;
	cursor: pointer;
}

.sy-hs-secim input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.sy-hs-secim span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 14px;
	border: 1px solid #cfdcea;
	border-radius: 14px;
	background: #fbfdff;
	color: var(--hs-soluk);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -.01em;
	transition: border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.sy-hs-secim span::before {
	content: "";
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 2px solid #cfdcea;
	background: #fff;
	transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sy-hs-secim label:hover span {
	border-color: #b7c9dc;
}

.sy-hs-secim input:checked + span {
	border-color: var(--hs-koyu);
	background: #f3f7fc;
	color: var(--hs-koyu);
	box-shadow: 0 12px 26px -16px rgba(4, 36, 91, .45);
}

.sy-hs-secim input:checked + span::before {
	border-color: var(--hs-altin);
	background: var(--hs-altin);
	box-shadow: 0 0 0 3px rgba(204, 166, 104, .22);
}

.sy-hs-secim input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(204, 166, 104, .35);
}

/* Kaydırıcı grubu */
.sy-hs-kaydirici {
	display: grid;
	gap: 12px;
}

.sy-hs-kaydirici-bas {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.sy-hs-kaydirici-ad {
	color: var(--hs-koyu);
	font-size: 15px;
	font-weight: 800;
}

.sy-hs-kutular {
	display: flex;
	gap: 8px;
}

.sy-hs-kutu {
	display: inline-flex;
	align-items: center;
	border: 1px solid #cfdcea;
	border-radius: 12px;
	background: #fbfdff;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.sy-hs-kutu[hidden] {
	display: none;
}

.sy-hs-kutu:focus-within {
	border-color: var(--hs-altin);
	box-shadow: 0 0 0 3px rgba(204, 166, 104, .22);
}

.sy-hs-kutu input {
	width: 76px;
	padding: 11px 10px 11px 14px;
	border: 0;
	background: transparent;
	color: var(--hs-metin);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	text-align: right;
	outline: none;
	-moz-appearance: textfield;
}

.sy-hs-kutu input::-webkit-outer-spin-button,
.sy-hs-kutu input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.sy-hs-kutu > span {
	padding: 0 12px 0 4px;
	color: var(--hs-soluk);
	font-size: 13px;
	font-weight: 700;
}

/* Sürgü: büyük tutamaç, altın iz */
.sy-hs-surgu {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 36px;
	margin: 0;
	background: transparent;
	cursor: pointer;
}

.sy-hs-surgu:focus {
	outline: none;
}

.sy-hs-surgu::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #dfe8f2, #cfdcea);
}

.sy-hs-surgu::-moz-range-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #dfe8f2, #cfdcea);
}

.sy-hs-surgu::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 30px;
	height: 30px;
	margin-top: -11px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: linear-gradient(135deg, #0a2c69, #021938);
	box-shadow: 0 8px 20px rgba(4, 36, 91, .28), 0 0 0 0 rgba(204, 166, 104, 0);
	transition: box-shadow .2s ease, transform .2s ease;
}

.sy-hs-surgu::-moz-range-thumb {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: linear-gradient(135deg, #0a2c69, #021938);
	box-shadow: 0 8px 20px rgba(4, 36, 91, .28);
}

.sy-hs-surgu:hover::-webkit-slider-thumb,
.sy-hs-surgu:focus-visible::-webkit-slider-thumb {
	transform: scale(1.06);
	box-shadow: 0 8px 20px rgba(4, 36, 91, .3), 0 0 0 6px rgba(204, 166, 104, .22);
}

.sy-hs-surgu:focus-visible::-moz-range-thumb {
	box-shadow: 0 8px 20px rgba(4, 36, 91, .3), 0 0 0 6px rgba(204, 166, 104, .22);
}

.sy-hs-surgu-uc {
	display: flex;
	justify-content: space-between;
	margin-top: -4px;
	color: var(--hs-soluk);
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.sy-hs-form-not {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--hs-cizgi);
	color: var(--hs-soluk);
	font-size: 13px;
	line-height: 1.5;
}

/* --- Sonuç paneli --- */

.sy-hs-sonuc {
	position: sticky;
	top: calc(var(--sy-header-offset, 84px) + 20px);
}

.sy-hs-sonuc-ic {
	padding: 24px 24px 20px;
	border-radius: 24px;
	color: #eaf3ff;
	background: linear-gradient(160deg, #0a2c69, #021938 70%);
	box-shadow: 0 30px 70px -24px rgba(2, 12, 40, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.sy-hs-sonuc-eyebrow {
	margin: 0 0 8px;
	color: var(--hs-altin-acik);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .22em;
}

.sy-hs-deger {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
}

.sy-hs-deger strong {
	color: #fff;
	font-size: clamp(52px, 4.6vw, 68px);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.sy-hs-deger-etiket {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	transition: background .35s ease;
}

.sy-hs-deger-etiket::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--hs-sinif, #fff);
	transition: background .35s ease;
}

.sy-hs-sonuc[data-sinif="0"] { --hs-sinif: var(--hs-k0); }
.sy-hs-sonuc[data-sinif="1"] { --hs-sinif: var(--hs-k1); }
.sy-hs-sonuc[data-sinif="2"] { --hs-sinif: var(--hs-k2); }
.sy-hs-sonuc[data-sinif="3"] { --hs-sinif: var(--hs-k3); }
.sy-hs-sonuc[data-sinif="4"] { --hs-sinif: var(--hs-k4); }
.sy-hs-sonuc[data-sinif="5"] { --hs-sinif: var(--hs-k5); }

/* Ölçek: 16–40; sınıf payları 2,5 / 6,5 / 5 / 5 / 5 (=24) */
.sy-hs-olcek {
	position: relative;
	margin: 22px 0 6px;
	padding-bottom: 20px;
}

.sy-hs-olcek-bant {
	display: grid;
	grid-template-columns: 2.5fr 6.5fr 5fr 5fr 5fr;
	height: 12px;
	border-radius: 999px;
	overflow: hidden;
	gap: 2px;
}

.sy-hs-olcek-bant span {
	display: block;
	opacity: .55;
	transition: opacity .35s ease;
}

.sy-hs-olcek-bant .k0 { background: var(--hs-k0); }
.sy-hs-olcek-bant .k1 { background: var(--hs-k1); }
.sy-hs-olcek-bant .k2 { background: var(--hs-k2); }
.sy-hs-olcek-bant .k3 { background: var(--hs-k3); }
.sy-hs-olcek-bant .k4 { background: var(--hs-k4); }
.sy-hs-olcek-bant .k5 { display: none; }

.sy-hs-sonuc[data-sinif="0"] .k0,
.sy-hs-sonuc[data-sinif="1"] .k1,
.sy-hs-sonuc[data-sinif="2"] .k2,
.sy-hs-sonuc[data-sinif="3"] .k3,
.sy-hs-sonuc[data-sinif="4"] .k4,
.sy-hs-sonuc[data-sinif="5"] .k4 {
	opacity: 1;
}

.sy-hs-olcek-isaret {
	position: absolute;
	top: -5px;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--hs-sinif, #fff);
	box-shadow: 0 6px 16px rgba(2, 12, 40, .5);
	transform: translateX(-50%);
	transition: left .55s cubic-bezier(.22, .61, .36, 1), background .35s ease;
}

.sy-hs-olcek-sayilar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	color: rgba(199, 220, 245, .62);
	font-size: 11px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.sy-hs-satirlar {
	display: grid;
	margin: 10px 0 0;
}

.sy-hs-satirlar > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid rgba(207, 233, 255, .14);
}

.sy-hs-satirlar dt {
	color: rgba(199, 220, 245, .72);
	font-size: 13px;
	font-weight: 700;
}

.sy-hs-satirlar dd {
	margin: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.sy-hs-not-kutu {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	border-left: 3px solid var(--hs-sinif, var(--hs-altin));
	color: rgba(234, 243, 255, .92);
	font-size: 13.5px;
	line-height: 1.5;
	transition: border-color .35s ease;
}

.sy-hs-eylem {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.sy-hs-btn {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 11px;
	background: linear-gradient(135deg, #cca668, #b8924f);
	color: #021938 !important;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sy-hs-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(184, 146, 79, .25);
}

.sy-hs-btn--ghost {
	background: rgba(255, 255, 255, .05);
	border-color: rgba(207, 233, 255, .3);
	color: #eaf3ff !important;
}

.sy-hs-not {
	margin: 14px 0 0;
	color: rgba(199, 220, 245, .66);
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 1000px) {
	.sy-hs-govde {
		grid-template-columns: minmax(0, 1fr);
	}

	.sy-hs-sonuc {
		position: static;
	}
}

@media (max-width: 640px) {
	.sy-hs-govde {
		margin-top: -56px;
	}

	.sy-hs-hero {
		padding-bottom: 84px;
	}

	.sy-hs-kutu input {
		width: 64px;
		font-size: 18px;
	}

	.sy-hs-eylem {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sy-hs-olcek-isaret,
	.sy-hs-btn,
	.sy-hs-surgu::-webkit-slider-thumb {
		transition: none !important;
	}
}
