.mg-cookie{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));z-index:100001;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:18px 18px 16px;border-radius:18px;background:#fff;border:1px solid #e7e3d9;box-shadow:0 24px 48px -20px rgba(29,43,38,.45);font:14px/1.55 Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#46524d;text-align:left;overflow-wrap:break-word;-webkit-text-size-adjust:100%;animation:mg-cookie-up .35s ease both}.mg-cookie,.mg-cookie *,.mg-cookie :after,.mg-cookie :before{box-sizing:border-box}.mg-cookie strong{display:block;margin-bottom:4px;font-size:15px;color:#1d2b26}.mg-cookie p{margin:0}.mg-cookie a{color:#0f5c47;font-weight:600;text-decoration:underline;text-underline-offset:2px}.mg-cookie-btns{display:flex;gap:8px;margin-top:14px}.mg-cookie-btn{flex:1 1;min-width:0;min-height:44px;padding:11px 14px;border-radius:999px;border:1px solid transparent;font-family:inherit;font-size:13.5px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background .2s,border-color .2s,color .2s}.mg-cookie-btn.primary{background:#0f5c47;color:#fff}.mg-cookie-btn.ghost{background:#fff;color:#1d2b26;border-color:#e7e3d9}@media (hover:hover){.mg-cookie-btn.primary:hover{background:#0a4535}.mg-cookie-btn.ghost:hover{border-color:#0f5c47;color:#0f5c47}}.mg-cookie-btn:active{transform:scale(.98)}.mg-cookie-btn:focus-visible{outline:3px solid #a9d0ef;outline-offset:2px}@media (max-width:640px){.mg-cookie{left:0;right:0;bottom:0;width:100%;max-height:70dvh;padding:18px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border-radius:20px 20px 0 0;border-width:1px 0 0;box-shadow:0 -12px 32px -16px rgba(29,43,38,.4);font-size:13.5px;animation-name:mg-cookie-sheet}.mg-cookie strong{font-size:15.5px}.mg-cookie-btns{margin-top:12px}.mg-cookie-btn{min-height:46px;font-size:14px}}@media (max-width:359px){.mg-cookie-btns{flex-direction:column-reverse}.mg-cookie-btn{flex:none;width:100%}}@media (max-height:480px) and (min-width:560px){.mg-cookie{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:auto;max-width:900px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:12px 14px 12px 18px;border-radius:16px;border-width:1px;font-size:13px;line-height:1.45}.mg-cookie strong{display:inline;margin:0 6px 0 0;font-size:13.5px}.mg-cookie-tx{flex:1 1;min-width:0}.mg-cookie-tx p{display:inline}.mg-cookie-btns{flex:none;margin-top:0}.mg-cookie-btn{flex:none;min-height:40px;padding:10px 16px}}@keyframes mg-cookie-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes mg-cookie-sheet{0%{transform:translateY(100%)}to{transform:none}}@media (prefers-reduced-motion:reduce){.mg-cookie,.mg-cookie-btn{animation:none;transition:none}}@media print{.mg-cookie{display:none}}