/* Mysklep Cookies – wygląd jak w sklepie TOR (wariant „card”) | https://mysklep.pl */
.msc{--msc-color:#1f94ab;position:fixed;z-index:2147483000;font:13px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#222;text-transform:none;letter-spacing:normal}
.msc *,.msc__reopen{text-transform:none;letter-spacing:normal}
.msc[hidden],.msc__reopen[hidden],.msc__details[hidden]{display:none!important}
.msc--bottom{left:0;right:0;bottom:0}
.msc__box{position:relative;background:#fff;padding:20px;max-width:960px;max-height:100vh;overflow:auto;margin:0 auto;box-shadow:rgba(0,0,0,.25) 0 -2px 16px;outline:none}
.msc__copy{margin:0 0 12px}
.msc__title{font-weight:700}
.msc__link{color:var(--msc-color);text-decoration:underline;white-space:nowrap}
.msc__close{display:none}
.msc__actions{display:flex;flex-wrap:wrap;gap:8px}
.msc__btn{flex:1 1 140px;padding:10px 16px;border:2px solid var(--msc-color);background:var(--msc-color);color:#fff;font:inherit;font-weight:600;cursor:pointer;border-radius:4px}
.msc__btn--ghost{background:#fff;color:var(--msc-color)}
.msc__btn:focus-visible,.msc__reopen:focus-visible,.msc__close:focus-visible{outline:#000 solid 2px;outline-offset:2px}
.msc__details{margin:0 0 12px}
.msc__row{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px solid #e5e5e5;cursor:pointer}
.msc__row input{margin-top:4px}
.msc__row small{display:block;color:#555}
.msc__details .msc__btn{margin-top:12px;width:100%}
.msc__brand{margin:10px 0 0;font-size:11px;color:#888;text-align:right}
.msc__brand a{color:inherit;text-decoration:none}
.msc__brand a:hover{text-decoration:underline}
.msc__reopen{position:fixed;left:10px;bottom:10px;z-index:2147482000;padding:4px 10px;border:0;border-radius:14px;background:var(--msc-color);color:#fff;font:11px/1.4 system-ui,sans-serif;cursor:pointer;opacity:.85}
.msc__reopen:hover{opacity:1}
.msc.msc--card{inset:auto auto 20px 20px;width:380px;max-width:calc(100vw - 40px);padding:0;background:none;display:block;z-index:99990;font-family:inherit;font-size:.88rem;line-height:1.5;color:#b7c6d3}
.msc--card .msc__box{display:block;max-width:none;max-height:calc(100vh - 40px);margin:0;padding:1.1rem 1.25rem 1.25rem;background:var(--msc-bg,#0a2236);color:#b7c6d3;border-top:5px solid var(--msc-color);border-radius:4px;box-shadow:rgba(5,18,30,.35) 0 18px 40px}
.msc--card .msc__close{display:block;position:absolute;right:.55rem;top:.35rem;padding:.1rem .35rem;background:none;border:0;color:#fff;font-size:1.7rem;line-height:1;opacity:.75;cursor:pointer}
.msc--card .msc__close:hover{opacity:1;color:var(--msc-color)}
.msc--card .msc__copy{margin:0 0 1rem}
.msc--card .msc__title{display:block;margin:0 0 .45rem;padding-right:1.75rem;color:#fff;font-family:var(--head,"Barlow Condensed",sans-serif);font-size:1.3rem;font-weight:700;line-height:1.15;letter-spacing:.03em;text-transform:uppercase}
.msc--card .msc__link{color:#fff;text-decoration:underline;text-underline-offset:2px;white-space:normal}
.msc--card .msc__link:hover{color:var(--msc-color)}
.msc--card .msc__actions{gap:.6rem}
.msc--card .msc__btn{flex:1 1 0%;min-height:42px;padding:.45rem .6rem;border-radius:4px;font-family:var(--head,"Barlow Condensed",sans-serif);font-size:.98rem;font-weight:700;letter-spacing:.03em;line-height:1.1;text-transform:uppercase;white-space:nowrap;transition:background-color .15s,border-color .15s,color .15s}
.msc--card [data-msc-action="accept"]{background:var(--msc-color);border:0;color:#111;box-shadow:rgba(0,0,0,.3) 0 3px 0}
.msc--card [data-msc-action="accept"]:hover{background:#e06a00;color:#fff}
.msc--card [data-msc-action="reject"]{background:transparent;border:1px solid rgba(255,255,255,.55);color:#fff}
.msc--card [data-msc-action="reject"]:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.msc--card [data-msc-action="settings"]{order:-1;flex:0 0 100%;min-height:0;margin:-.35rem 0 .4rem;padding:0;background:none;border:0;color:#fff;font-family:inherit;font-size:inherit;font-weight:600;letter-spacing:normal;text-align:left;text-decoration:underline;text-transform:none;text-underline-offset:3px}
.msc--card [data-msc-action="settings"]:hover{color:var(--msc-color)}
.msc--card [data-msc-action="settings"]::after{content:" ›";color:var(--msc-color)}
.msc--card .msc__btn:focus-visible,.msc--card .msc__close:focus-visible{outline:2px solid var(--msc-color);outline-offset:2px}
.msc--card .msc__brand{color:#7f93a6}
.msc.msc--card.msc--modal{inset:0;width:auto;max-width:none;padding:1rem;display:flex;align-items:center;justify-content:center;background:rgba(5,18,30,.6);z-index:99995}
.msc--modal .msc__box{display:flex;flex-direction:column;width:100%;max-width:760px;max-height:calc(100vh - 2rem);padding:0;background:#fff;color:#15222e;overflow:hidden;box-shadow:rgba(5,18,30,.4) 0 24px 60px}
.msc--modal .msc__copy{margin:0;padding:1rem 1.5rem;border-bottom:1px solid #e1e6ec}
.msc--modal .msc__title{margin:0;color:#0a2236;font-size:1.45rem}
.msc--modal .msc__text,.msc--modal .msc__brand{display:none}
.msc--modal .msc__close{top:.8rem;right:1rem;width:2.6rem;height:2.6rem;padding:0;background:#f2f4f7;border-radius:4px;color:#0a2236;opacity:1}
.msc--modal .msc__close:hover{background:#e1e6ec;color:#0a2236}
.msc--modal .msc__details{order:2;flex:1 1 auto;margin:0;padding:1.1rem 1.5rem .5rem;overflow-y:auto}
.msc--modal .msc__row{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .6rem;padding:.7rem 1rem;background:#f2f4f7;border:0;border-radius:4px;color:#0a2236;font-size:1rem}
.msc--modal .msc__row small{margin-top:.2rem;color:#5d6b79;font-size:.9rem}
.msc--modal .msc__row input[type="checkbox"]{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 auto;width:3.1rem;height:1.7rem;margin:0;background:#9aa8b6;border-radius:1rem;cursor:pointer;transition:background-color .2s}
.msc--modal .msc__row input[type="checkbox"]::after{content:"";position:absolute;left:.2rem;top:.2rem;width:1.3rem;height:1.3rem;background:#fff;border-radius:50%;box-shadow:rgba(0,0,0,.25) 0 1px 3px;transition:transform .2s}
.msc--modal .msc__row input[type="checkbox"]:checked{background:#065982}
.msc--modal .msc__row input[type="checkbox"]:checked::after{transform:translateX(1.4rem)}
.msc--modal .msc__row input[type="checkbox"]:disabled{opacity:.55;cursor:not-allowed}
.msc--modal .msc__details .msc__btn{margin:.5rem 0 .6rem;background:#f2f4f7;border:1px solid #e1e6ec;box-shadow:none;color:#0a2236}
.msc--modal .msc__actions{order:3;padding:1rem 1.5rem 1.25rem;border-top:1px solid #e1e6ec}
.msc--modal [data-msc-action="settings"]{display:none}
.msc--modal [data-msc-action="reject"]{background:#f2f4f7;border:1px solid #e1e6ec;color:#0a2236}
.msc--modal [data-msc-action="reject"]:hover{background:#0a2236;border-color:#0a2236;color:#fff}
@media (max-width:640px){
  .msc.msc--card{left:10px;right:10px;bottom:10px;width:auto;max-width:none}
  .msc--card .msc__box{max-height:55vh}
  .msc.msc--card.msc--modal{padding:.5rem;align-items:flex-end}
  .msc--modal .msc__actions{flex-direction:column}
}
