/* МФВЦ — Колесо фортуны (попап). Изолировано под .mfvc-pop-overlay. */
.mfvc-pop-overlay{--text:#1B2A3D;--muted:#6B7C93;--line:#E3EAF3;position:fixed;inset:0;z-index:99998;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(10,20,40,.5);font-family:'Roboto',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--text)}
.mfvc-pop-overlay.show{display:flex}
.mfvc-pop-overlay *{box-sizing:border-box}

/* ПК: панель — колесо частично обрезано слева и упирается в край попапа, форма справа */
.mfvc-pop{position:relative;display:flex;flex-direction:row;align-items:stretch;gap:0;width:auto;max-width:720px;max-height:94vh;background:#fff;border-radius:24px;padding:0;box-shadow:0 30px 70px rgba(0,0,0,.45);overflow:hidden;animation:mfvc-pop-in .4s ease}
@keyframes mfvc-pop-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}

/* Крестик закрытия — без фона и рамки, крупнее (в 1.5 раза), серый */
.mfvc-pop-close{position:absolute;top:10px;right:12px;width:auto;height:auto;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;font-size:42px;line-height:1;color:#8b95a5;cursor:pointer;padding:4px 8px;z-index:7;appearance:none}
.mfvc-pop-close:hover,.mfvc-pop-close:focus{color:#5f6b7c;background:transparent!important;box-shadow:none!important}

/* Колонка колеса: круг растягивается по всей высоте карточки, без зазоров сверху/снизу */
.mfvc-pop-wheelcol{flex:none;position:relative;width:300px}
.mfvc-pop-clip{position:absolute;inset:0;overflow:hidden}
.mfvc-pop-stage{position:absolute;top:0;right:0;height:100%;aspect-ratio:1/1}

/* Указатель — сдвинут на само колесо, без круглой «шайбы» */
.mfvc-pop-pointer{position:absolute;top:50%;right:6px;width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top:30px solid var(--accent);transform:translateY(-50%) rotate(90deg);z-index:6;filter:drop-shadow(0 3px 4px rgba(0,0,0,.3))}

.mfvc-pop-ring{position:absolute;inset:0;border-radius:50%;background:#fff;padding:8px;box-shadow:0 8px 22px rgba(14,52,96,.22),inset 0 0 0 2px var(--line)}
.mfvc-pop-svg{width:100%;height:100%;display:block;border-radius:50%;transform:rotate(0deg);transition:transform 5s cubic-bezier(.16,.74,.12,1)}
.mfvc-pop-hub{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:#fff;z-index:4;display:grid;place-items:center;overflow:hidden;box-shadow:0 3px 10px rgba(14,52,96,.22),inset 0 0 0 2px var(--line)}
.mfvc-pop-hub img{width:100%;height:100%;object-fit:contain;display:block;padding:3px}

.mfvc-pop-maincol{flex:1;min-width:300px;max-width:380px;text-align:left;max-height:94vh;overflow:auto;padding:22px 28px 22px 20px}

/* Контент */
.mfvc-pop-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.mfvc-pop-brand img{height:40px;width:40px;display:block;flex:none}
.mfvc-pop-brandname{font-family:'Montserrat',sans-serif;font-weight:700;font-size:13px;line-height:1.15;color:#111}
.mfvc-pop-h1{font-family:'Montserrat',sans-serif;font-weight:800;color:var(--brand-deep);font-size:clamp(22px,2.3vw,28px);line-height:1.14;margin:0 0 16px}

/* Форма */
.mfvc-pop-form{display:flex;flex-direction:column;gap:10px}
.mfvc-pop-form input[type=text],.mfvc-pop-form input[type=tel]{width:100%;border:1.5px solid var(--line);border-radius:11px;padding:13px 14px;font-size:15px;font-family:inherit;color:var(--text);outline:none;transition:border-color .15s}
.mfvc-pop-form input:focus{border-color:var(--brand)}
.mfvc-pop-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.mfvc-pop-consent-row{display:flex;align-items:flex-start;gap:8px;text-align:left;font-size:12px;line-height:1.45;color:var(--muted)}
.mfvc-pop-consent-row input{margin-top:2px;flex:none}
.mfvc-pop-consent-row a{color:var(--brand);text-decoration:underline}

/* Кнопка «Крутить колесо» / «Крутим…» — белый текст, скруглённые углы (не пилюля), мягкая тень без оранжевого свечения */
.mfvc-pop-btn{margin-top:4px;border:0!important;cursor:pointer;font-family:'Montserrat',sans-serif;font-weight:700;font-size:16px;color:#ffffff!important;padding:15px 20px;border-radius:14px!important;background:linear-gradient(135deg,var(--brand),var(--brand-dark))!important;box-shadow:0 10px 24px rgba(20,30,60,.28)!important;transition:transform .12s,box-shadow .2s,opacity .2s;outline:none;appearance:none}
.mfvc-pop-btn:hover{transform:translateY(-2px)}
.mfvc-pop-btn:focus{box-shadow:0 10px 24px rgba(20,30,60,.28)!important}
.mfvc-pop-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.mfvc-pop-error{min-height:16px;font-size:12.5px;color:#D32F2F;font-weight:600}

/* Купон */
.mfvc-pop-voucher{display:none;text-align:left;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 12px 30px rgba(22,68,122,.14)}
.mfvc-pop-voucher.show{display:block}
.mfvc-pop-vhead{background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;padding:12px 20px;display:flex;justify-content:space-between;align-items:center}
.mfvc-pop-vhead .lbl{font-family:'Montserrat',sans-serif;font-weight:700;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.mfvc-pop-vhead .tag{background:rgba(255,255,255,.18);border-radius:999px;padding:4px 11px;font-size:10px;font-weight:700}
.mfvc-pop-vbody{padding:20px}
.mfvc-pop-amount{font-family:'Montserrat',sans-serif;font-weight:800;font-size:50px;line-height:1;color:var(--brand-deep)}
.mfvc-pop-amount small{font-size:24px;font-weight:700;color:var(--accent)}
.mfvc-pop-amount.gift{font-size:23px;line-height:1.25;letter-spacing:0}
.mfvc-pop-on{font-size:12.5px;color:var(--muted);margin-bottom:14px}
.mfvc-pop-codebox{background:#F8FAFD;border:1.5px dashed var(--brand);border-radius:11px;padding:11px 14px;margin-bottom:12px}
.mfvc-pop-code{font-family:'Montserrat',sans-serif;font-weight:700;font-size:18px;color:var(--brand-dark);letter-spacing:.04em}
.mfvc-pop-claim{font-size:13px;line-height:1.5;color:#3a4a60;margin-bottom:8px}
.mfvc-pop-valid{font-size:15px;font-weight:700;color:#D32F2F;line-height:1.4}

/* Телефон: на весь экран, колесо целиком сверху, форма снизу */
@media (max-width:640px){
	.mfvc-pop-overlay{padding:0;align-items:stretch;justify-content:stretch;background:#fff}
	.mfvc-pop{flex-direction:column;align-items:center;gap:8px;width:100%;max-width:none;height:100%;max-height:none;border-radius:0;overflow:auto;padding:22px 18px 30px;justify-content:flex-start;box-shadow:none;animation:none}
	.mfvc-pop-wheelcol{width:min(76vw,300px);height:min(76vw,300px);padding-top:18px}
	.mfvc-pop-clip{position:static;overflow:visible;border-radius:0}
	.mfvc-pop-stage{position:static;width:100%;height:100%;transform:none}
	.mfvc-pop-pointer{top:-3px;left:50%;right:auto;margin-left:0;transform:translateX(-50%) rotate(0deg)}
	.mfvc-pop-maincol{width:100%;max-width:380px;text-align:center;overflow:visible;max-height:none;padding:0}
	.mfvc-pop-brand{justify-content:center}
}
@media (prefers-reduced-motion: reduce){.mfvc-pop-svg{transition:transform 1.2s ease-out}.mfvc-pop{animation:none}}

/* ПК: окно прижато к левому краю страницы, по вертикали — центр */
@media (min-width:641px){
	.mfvc-pop-overlay{justify-content:flex-start;padding-left:40px}
}
