/* Çerez tercih kutusu (sol alt) · havuz: üstte su (kostik + dalga + mozaik kenar) ve çerez-simit, altta deck */
.mpc { --c-ink: #0d1b33; --c-mut: #5b6780; --c-line: #e6eaf1; --c-soft: #f3f5f9; --c-blue: #1d4482; --c-grad: linear-gradient(135deg, #0a1a3a, #173a72);
	--c-w1: #7fe0ee; --c-w2: #2fb2d6; --c-w3: #1479b8; --c-w4: #0d4f8a;
	position: fixed; left: 20px; bottom: 20px; z-index: 50; width: min(392px, calc(100% - 24px)); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain;
	border-radius: 28px; background: #fff; color: var(--c-ink); font-size: 14px;
	box-shadow: 0 0 0 1px rgba(13, 27, 51, .06), 0 34px 70px -30px rgba(10, 40, 90, .6), 0 12px 26px -18px rgba(10, 40, 90, .35);
	transform: translateY(24px) scale(.98); opacity: 0; transition: transform .6s cubic-bezier(.16, 1, .3, 1), opacity .4s; }
.mpc[hidden] { display: none; }
.mpc.is-on { transform: none; opacity: 1; }
.mpc.is-dalis { transform: translateY(40px) scale(.94); opacity: 0; transition: transform .55s cubic-bezier(.55, 0, .75, .3), opacity .45s .1s; }

/* su */
.mpc__water { position: relative; height: 112px; overflow: hidden; isolation: isolate;
	background: radial-gradient(120% 90% at 20% 0%, var(--c-w1), transparent 60%), linear-gradient(170deg, var(--c-w2) 0%, var(--c-w3) 60%, var(--c-w4) 100%); }
/* mozaik kenar (havuz kenarı) */
.mpc__water::before { content: ""; position: absolute; z-index: 3; inset: 0; border: 7px solid rgba(255, 255, 255, .92); border-bottom: 0; border-radius: 28px 28px 0 0; pointer-events: none; }
.mpc__water::after { content: ""; position: absolute; z-index: 3; left: 7px; right: 7px; top: 7px; height: 6px; pointer-events: none; opacity: .55;
	background: repeating-linear-gradient(90deg, #bfe9f3 0 6px, #e8f8fc 6px 12px); }
.mpc__caustic { position: absolute; z-index: 1; inset: -180px 0 0 -180px; opacity: .5; pointer-events: none; mix-blend-mode: soft-light;
	/* havuz tabanı kostiği: organik ışık damarları (assets/img/ui/kostik.svg, kenarları birleşik) */
	background: url("../img/ui/kostik.svg") 0 0 / 180px 180px;
	animation: mpcKostik 18s linear infinite; }
.mpc__caustic--b { opacity: .38; mix-blend-mode: screen; background-size: 260px 260px; animation-duration: 27s; animation-direction: reverse; }
@keyframes mpcKostik { to { transform: translate(180px, 180px); } }

/* çerez simit */
.mpc__float { position: absolute; z-index: 2; left: 26px; top: 22px; width: 58px; height: 58px; animation: mpcSalin 4.2s ease-in-out infinite; }
.mpc__cookie { position: relative; z-index: 1; width: 100%; height: 100%; filter: drop-shadow(0 10px 8px rgba(5, 40, 80, .35)); animation: mpcDon 9s ease-in-out infinite; }
.mpc__ring { position: absolute; left: 50%; top: 58%; width: 70px; height: 26px; margin: -13px 0 0 -35px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); opacity: 0; animation: mpcHalka 3.2s ease-out infinite; }
.mpc__ring--b { animation-delay: 1.6s; }
@keyframes mpcSalin { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(5px) rotate(4deg); } }
@keyframes mpcDon { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(14deg); } }
@keyframes mpcHalka { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

.mpc__wave { position: absolute; z-index: 4; left: 0; bottom: -1px; width: 200%; max-width: none; height: 22px; fill: #fff; animation: mpcDalga 7s linear infinite; }
@keyframes mpcDalga { to { transform: translateX(-50%); } }

/* deck */
.mpc__deck { position: relative; padding: 6px 22px 18px; }
.mpc__t { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.mpc__x { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--c-mut); }
.mpc__x a { color: var(--c-w3); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.mpc__prefs { display: grid; gap: 8px; margin: 16px 0 0; }
.mpc__prefs[hidden] { display: none; }
.mpc__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--c-soft); cursor: pointer; }
.mpc__row span { display: grid; gap: 2px; }
.mpc__row b { font-size: 13.5px; font-weight: 600; }
.mpc__row small { font-size: 12px; line-height: 1.45; color: var(--c-mut); }
.mpc__on { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--c-w3); }
.mpc__sw { flex: none; appearance: none; -webkit-appearance: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 99px; background: #cfd7e5; cursor: pointer; transition: background-color .3s; }
.mpc__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(13, 27, 51, .25); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.mpc__sw:checked { background: linear-gradient(135deg, var(--c-w2), var(--c-w3)); }
.mpc__sw:checked::after { transform: translateX(18px); }
.mpc__sw:focus-visible { outline: 2px solid var(--c-w3); outline-offset: 2px; }

.mpc__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; }
.mpc__b { position: relative; overflow: hidden; min-height: 46px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--c-ink); background: #fff; box-shadow: inset 0 0 0 1.5px #cfd7e5; transition: box-shadow .25s, transform .25s cubic-bezier(.16, 1, .3, 1); }
.mpc__b:hover { box-shadow: inset 0 0 0 1.5px var(--c-w3); transform: translateY(-1px); }
.mpc__b--d { color: #fff; background: var(--c-grad); box-shadow: 0 12px 24px -14px rgba(10, 26, 58, .9); }
/* kabul düğmesinde su yüzeyi gibi geçen parıltı */
.mpc__b--d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(127, 224, 238, .45) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: mpcParilti 4s ease-in-out infinite; }
.mpc__b--d:hover { box-shadow: 0 16px 28px -14px rgba(10, 26, 58, .95); }
@keyframes mpcParilti { 0%, 55% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
.mpc__b:focus-visible, .mpc__more:focus-visible, .mpc__save:focus-visible { outline: 2px solid var(--c-w3); outline-offset: 3px; }

.mpc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 0; }
.mpc__more { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--c-mut); cursor: pointer; }
.mpc__more svg { width: 15px; height: 15px; transition: transform .3s; }
.mpc__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.mpc__more:hover { color: var(--c-ink); }
.mpc__save { padding: 8px 14px; border: 0; border-radius: 999px; background: var(--c-soft); font: inherit; font-size: 13px; font-weight: 600; color: var(--c-w3); cursor: pointer; box-shadow: inset 0 0 0 1px var(--c-line); }
.mpc__save[hidden] { display: none; }
.mpc__save:hover { box-shadow: inset 0 0 0 1px var(--c-w3); }

/* footer ve yasal sayfalardaki "Çerez tercihleri" düğmesi */
.fx-cerez { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }

/* İletişim haritası: onay yoksa kapı */
.shw__gate { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: #fff;
	background: radial-gradient(60% 70% at 50% 40%, rgba(79, 141, 255, .3), transparent 70%), linear-gradient(160deg, #081631, #14336a); }
.shw__gate[hidden] { display: none; }
.shw__gate p { margin: 0; max-width: 34ch; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.shw__gate button { min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; color: #0d1b33; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .25s; }
.shw__gate button:hover { transform: translateY(-1px); }
.shw__gbtn { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; }
.shw__gate a { font-size: 13.5px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (min-width: 761px) { .shw__gate { padding-left: 460px; } }

@media (max-width: 760px) {
	.mpc { left: 12px; right: 12px; width: auto; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 66px); border-radius: 24px; max-height: calc(100dvh - 120px); }
	.mpc__water { height: 92px; }
	.mpc__water::before { border-radius: 24px 24px 0 0; border-width: 6px; }
	.mpc__float { width: 50px; height: 50px; top: 16px; left: 20px; }
	.mpc__deck { padding: 4px 18px 16px; }
	.shw__gate { bottom: auto; height: 300px; }
	.shw__gbtn { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.mpc, .mpc.is-dalis { transition: none; }
	.mpc__caustic, .mpc__float, .mpc__cookie, .mpc__ring, .mpc__wave, .mpc__b--d::after { animation: none; }
	.mpc__ring { opacity: 0; }
}
