/* VirtGold cookie consent */
.vg-cc { display:none; position:fixed; z-index:9990; font-family:var(--vg-font-ui, inherit); color:var(--vg-text); }
html.vg-consent-open .vg-cc { display:block; }
.vg-cc__in { position:relative; overflow:hidden; background:var(--vg-surface); border:1px solid var(--vg-border); box-shadow:0 30px 70px -28px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.06); animation:vgccIn .45s var(--vg-ease, ease) both; }
.vg-cc__in::before { content:""; position:absolute; inset:0 0 auto; height:3px; border-radius:inherit; border-bottom-left-radius:0; border-bottom-right-radius:0; background:linear-gradient(90deg, var(--vg-primary), color-mix(in srgb, var(--vg-primary) 45%, var(--vg-accent))); }
.vg-cc__body { display:flex; gap:14px; align-items:flex-start; }
.vg-cc__ico { flex:none; display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:var(--vg-primary-soft, rgba(244,166,34,.14)); color:color-mix(in srgb, var(--vg-primary) 72%, var(--vg-text)); }
.vg-cc__title { margin:2px 0 6px; font-family:var(--vg-font-heading, inherit); font-size:17px; font-weight:800; line-height:1.25; letter-spacing:-.01em; color:var(--vg-text); }
.vg-cc__text, .vg-ccp__text { margin:0; font-size:13.5px; line-height:1.6; color:var(--vg-muted); }
.vg-cc__links { display:inline-flex; flex-wrap:wrap; gap:6px; margin-left:2px; white-space:nowrap; }
.vg-cc__links a { color:var(--vg-text); font-weight:700; text-decoration:underline; text-decoration-color:color-mix(in srgb, var(--vg-primary) 70%, transparent); text-underline-offset:3px; text-decoration-thickness:2px; }
.vg-cc__links a:hover { color:var(--vg-accent); }
.vg-cc__btns, .vg-ccp__foot { display:flex; flex-wrap:wrap; gap:8px; }
.vg-cc__btn { flex:1 1 0; display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px; border:1.5px solid transparent; border-radius:var(--vg-btn-radius, 12px); font:inherit; font-size:14px; font-weight:800; line-height:1.1; white-space:nowrap; cursor:pointer; transition:transform .18s, filter .18s, background .18s, border-color .18s; }
.vg-cc__btn:hover { transform:translateY(-1px); }
.vg-cc__btn:focus-visible { outline:none; box-shadow:0 0 0 4px color-mix(in srgb, var(--vg-primary) 30%, transparent); }
.vg-cc__btn--primary { background:var(--vg-primary); border-color:var(--vg-primary); color:var(--vg-on-primary); }
.vg-cc__btn--primary:hover { filter:brightness(1.05); }
.vg-cc__btn--solid { background:var(--vg-text); border-color:var(--vg-text); color:var(--vg-surface); }
.vg-cc__btn--solid:hover { filter:brightness(1.15); }
.vg-cc__btn--ghost { background:transparent; border-color:var(--vg-border); color:var(--vg-text); }
.vg-cc__btn--ghost:hover { border-color:var(--vg-text); }

/* Floating card */
.vg-cc--box { bottom:20px; width:min(440px, calc(100vw - 32px)); }
.vg-cc--box.vg-cc--left { left:20px; } .vg-cc--box.vg-cc--right { right:20px; }
.vg-cc--box .vg-cc__in { padding:22px 22px 18px; border-radius:20px; }
.vg-cc--box .vg-cc__btns { margin-top:16px; }
.vg-cc--box .vg-cc__btn--ghost { order:3; flex-basis:100%; min-height:38px; border-style:dashed; }
/* Compact card (default): no icon, short text, small equal buttons */
.vg-cc--compact { bottom:16px; width:min(410px, calc(100vw - 24px)); }
.vg-cc--compact.vg-cc--left { left:16px; } .vg-cc--compact.vg-cc--right { right:16px; }
.vg-cc--compact .vg-cc__in { padding:14px 14px 12px 16px; border-radius:16px; box-shadow:0 22px 50px -24px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.06); }
.vg-cc--compact .vg-cc__in::before { display:none; }
.vg-cc--compact .vg-cc__text { font-size:13px; line-height:1.5; color:color-mix(in srgb, var(--vg-text) 78%, var(--vg-muted)); }
.vg-cc--compact .vg-cc__links { margin:0; font-size:12.5px; }
.vg-cc--compact .vg-cc__links a { font-weight:650; text-decoration-thickness:1.5px; }
.vg-cc--compact .vg-cc__btns { flex-wrap:nowrap; align-items:center; gap:6px; margin-top:10px; }
.vg-cc--compact .vg-cc__btn { flex:0 0 auto; min-height:34px; padding:0 14px; border-radius:min(var(--vg-btn-radius, 10px), 10px); font-size:13px; }
.vg-cc--compact .vg-cc__btn--ghost { order:-1; margin-right:auto; min-height:34px; padding:0; border:0; background:none; color:var(--vg-muted); font-weight:700; text-decoration:underline; text-underline-offset:3px; text-decoration-color:color-mix(in srgb, var(--vg-muted) 50%, transparent); }
.vg-cc--compact .vg-cc__btn--ghost:hover { color:var(--vg-text); transform:none; }
[dir="rtl"] .vg-cc--compact .vg-cc__btn--ghost { margin-right:0; margin-left:auto; }
/* Full-width bar */
.vg-cc--bar { left:0; right:0; bottom:0; }
.vg-cc--bar .vg-cc__in { display:flex; align-items:center; gap:24px; padding:18px max(20px, calc((100vw - 1240px) / 2)); padding-bottom:calc(18px + env(safe-area-inset-bottom)); border-width:1px 0 0; border-radius:0; animation-name:vgccUp; }
.vg-cc--bar .vg-cc__body { flex:1; } .vg-cc--bar .vg-cc__btns { flex:none; flex-wrap:nowrap; }
.vg-cc--bar .vg-cc__btn { flex:none; min-width:130px; }
/* Centered dialog */
.vg-cc--modal { inset:0; display:none; }
html.vg-consent-open .vg-cc--modal { display:grid; place-items:center; padding:16px; }
.vg-cc__backdrop { position:fixed; inset:0; background:rgba(8,9,14,.55); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); animation:vgccFade .3s both; }
.vg-cc--modal .vg-cc__in { width:min(520px, 100%); padding:28px; border-radius:22px; }
.vg-cc--modal .vg-cc__body { flex-direction:column; align-items:center; text-align:center; }
.vg-cc--modal .vg-cc__btns { margin-top:20px; }
.vg-cc--modal .vg-cc__btn--ghost { order:3; flex-basis:100%; }

/* Preferences window */
.vg-ccp { position:fixed; inset:0; z-index:9995; display:grid; place-items:center; padding:16px; color:var(--vg-text); font-family:var(--vg-font-ui, inherit); }
.vg-ccp[hidden] { display:none; }
.vg-ccp__backdrop { position:absolute; inset:0; background:rgba(8,9,14,.6); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); opacity:0; transition:opacity .2s; }
.vg-ccp__panel { position:relative; display:flex; flex-direction:column; width:min(560px, 100%); max-height:min(720px, calc(100vh - 32px)); max-height:min(720px, calc(100dvh - 32px)); border:1px solid var(--vg-border); border-radius:22px; background:var(--vg-surface); box-shadow:0 40px 90px -30px rgba(0,0,0,.6); opacity:0; transform:translateY(14px) scale(.98); transition:opacity .2s, transform .25s var(--vg-ease, ease); outline:none; overflow:hidden; }
.vg-ccp.is-open .vg-ccp__backdrop, .vg-ccp.is-open .vg-ccp__panel { opacity:1; transform:none; }
.vg-ccp__head { display:flex; align-items:center; gap:12px; padding:20px 22px 14px; border-bottom:1px solid var(--vg-border); }
.vg-ccp__head .vg-cc__ico { width:38px; height:38px; border-radius:11px; }
.vg-ccp__title { flex:1; margin:0; font-family:var(--vg-font-heading, inherit); font-size:19px; font-weight:800; letter-spacing:-.01em; color:var(--vg-text); }
.vg-ccp__x { display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid var(--vg-border); border-radius:10px; background:transparent; color:var(--vg-muted); cursor:pointer; }
.vg-ccp__x:hover { color:var(--vg-text); border-color:var(--vg-text); }
.vg-ccp__scroll { padding:16px 22px 6px; overflow:auto; overscroll-behavior:contain; }
.vg-ccp__list { display:grid; gap:10px; margin:16px 0 12px; padding:0; list-style:none; }
.vg-ccp__cat { padding:14px 16px; border:1px solid var(--vg-border); border-radius:14px; background:var(--vg-bg-alt, transparent); }
.vg-ccp__row { display:flex; align-items:center; gap:10px; }
.vg-ccp__name { flex:1; font-weight:800; font-size:15px; color:var(--vg-text); cursor:pointer; }
.vg-ccp__always { padding:3px 9px; border-radius:999px; background:var(--vg-success-soft, rgba(18,133,91,.12)); color:var(--vg-success); font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.vg-ccp__desc { margin:6px 0 0; font-size:13px; line-height:1.55; color:var(--vg-muted); }
.vg-ccp__sw { position:relative; flex:none; width:46px; height:26px; }
.vg-ccp__sw input { position:absolute; inset:0; z-index:2; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.vg-ccp__sw input:disabled { cursor:not-allowed; }
.vg-ccp__sw span { position:absolute; inset:0; border-radius:999px; background:color-mix(in srgb, var(--vg-text) 22%, transparent); transition:background .2s; }
.vg-ccp__sw span::after { content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 2px 5px rgba(0,0,0,.25); transition:transform .22s var(--vg-ease, ease); }
.vg-ccp__sw input:checked + span { background:var(--vg-primary); }
.vg-ccp__sw input:checked + span::after { transform:translateX(20px); }
.vg-ccp__sw input:disabled + span { opacity:.55; }
.vg-ccp__sw input:focus-visible + span { box-shadow:0 0 0 4px color-mix(in srgb, var(--vg-primary) 30%, transparent); }
.vg-ccp__foot { padding:14px 22px 18px; padding-bottom:calc(18px + env(safe-area-inset-bottom)); border-top:1px solid var(--vg-border); background:var(--vg-surface); }
html.vg-ccp-open { overflow:hidden; }

/* Re-open tab, docked to the screen edge */
.vg-cc-fab { position:fixed; bottom:calc(112px + env(safe-area-inset-bottom)); z-index:150; display:flex; align-items:center; gap:8px; max-width:34px; height:34px; padding:0 9px 0 8px; overflow:hidden; border:1px solid var(--vg-border); background:var(--vg-surface); color:var(--vg-text); box-shadow:0 8px 20px -12px rgba(0,0,0,.5); font:inherit; font-size:12.5px; font-weight:700; line-height:1; white-space:nowrap; cursor:pointer; transition:max-width .3s var(--vg-ease, ease), transform .3s var(--vg-ease, ease), opacity .25s, bottom .3s; }
.vg-cc-fab[hidden] { display:none; }
.vg-cc-fab svg { flex:none; color:color-mix(in srgb, var(--vg-primary) 75%, var(--vg-text)); }
.vg-cc-fab__l { opacity:0; transition:opacity .2s; }
.vg-cc-fab:hover, .vg-cc-fab:focus-visible { max-width:220px; outline:none; }
.vg-cc-fab:hover .vg-cc-fab__l, .vg-cc-fab:focus-visible .vg-cc-fab__l { opacity:1; }
.vg-cc-fab:focus-visible { box-shadow:0 0 0 3px color-mix(in srgb, var(--vg-primary) 35%, transparent); }
.vg-cc-fab--left { left:0; border-left:0; border-radius:0 11px 11px 0; }
.vg-cc-fab--right { right:0; border-right:0; border-radius:11px 0 0 11px; flex-direction:row-reverse; padding:0 8px 0 9px; }
.vg-cc-fab.is-away { opacity:0; pointer-events:none; }
.vg-cc-fab--left.is-away { transform:translateX(-110%); } .vg-cc-fab--right.is-away { transform:translateX(110%); }
html.vg-consent-open .vg-cc-fab { display:none; }

@keyframes vgccIn { from { opacity:0; transform:translateY(18px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes vgccUp { from { opacity:0; transform:translateY(100%); } to { opacity:1; transform:none; } }
@keyframes vgccFade { from { opacity:0; } to { opacity:1; } }
@media (max-width:900px) {
  .vg-cc--bar .vg-cc__in { flex-direction:column; align-items:stretch; gap:14px; }
  .vg-cc--bar .vg-cc__btns { flex-wrap:wrap; } .vg-cc--bar .vg-cc__btn { flex:1 1 0; min-width:0; }
}
@media (max-width:560px) {
  .vg-cc--compact { left:8px !important; right:8px !important; bottom:calc(8px + env(safe-area-inset-bottom)); width:auto; }
  .vg-cc--compact .vg-cc__in { padding:12px 12px 10px 14px; border-radius:14px; }
  .vg-cc--compact .vg-cc__text { font-size:12.5px; }
  .vg-cc--compact .vg-cc__btn { min-height:34px; padding:0 12px; font-size:12.5px; }
  .vg-cc-fab { bottom:calc(96px + env(safe-area-inset-bottom)); max-width:30px; height:32px; padding:0 7px 0 6px; }
  .vg-cc--box { left:10px !important; right:10px !important; bottom:10px; width:auto; }
  .vg-cc--box .vg-cc__in { padding:18px 16px 14px; border-radius:18px; }
  .vg-cc__ico { width:36px; height:36px; } .vg-cc__title { font-size:16px; }
  .vg-cc__text { font-size:13px; }
  .vg-cc__btn { min-height:44px; padding:0 10px; font-size:13.5px; }
  .vg-ccp { padding:0; place-items:end stretch; }
  .vg-ccp__panel { width:100%; max-height:92vh; max-height:92dvh; border-radius:22px 22px 0 0; border-bottom:0; transform:translateY(40px); }
  .vg-ccp__foot .vg-cc__btn--ghost { order:-1; flex-basis:100%; }
}
@media (prefers-reduced-motion:reduce) { .vg-cc__in, .vg-ccp__panel, .vg-cc__backdrop { animation:none; transition:none; } }
@media print { .vg-cc, .vg-ccp, .vg-cc-fab { display:none !important; } }
