/* Cookie banner — small gold card, bottom-right on desktop, full width on phones. */
.jg-consent{
  position: fixed; z-index: 1000001;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: flex-end;
  pointer-events: none;
}
.jg-consent[hidden]{ display: none; }
.jg-consent__inner{
  pointer-events: auto;
  width: min(470px, 100%);
  padding: 18px 20px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,213,106,.42);
  background: linear-gradient(180deg, rgba(26,19,10,.97), rgba(8,6,4,.98));
  box-shadow: 0 22px 54px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.6), 0 0 26px rgba(255,180,50,.14);
  color: rgba(255,255,255,.86);
  opacity: 0; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
}
.jg-consent.is-in .jg-consent__inner{ opacity: 1; transform: none; }
.jg-consent__head{ display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.jg-consent__ico{ width: 22px; height: 22px; color: #ffd56a; flex: none; }
.jg-consent__title{ margin: 0; font-size: 15px; font-weight: 900; letter-spacing: .04em; color: #ffd56a; }
.jg-consent__text{ margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.82); }
.jg-consent__text a{ color: #ffd56a; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.jg-consent__actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.jg-consent__btn{
  flex: 1 1 140px; min-height: 42px; padding: 0 16px;
  border-radius: 10px; border: 1px solid rgba(255,213,106,.45);
  background: rgba(0,0,0,.4); color: #fff;
  font: inherit; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: filter .15s ease, transform .1s ease;
}
.jg-consent__btn:hover{ filter: brightness(1.2); }
.jg-consent__btn:active{ transform: translateY(1px); }
.jg-consent__btn--primary{
  color: #1b1206; border-color: rgba(255,213,106,.9);
  background: linear-gradient(180deg, #fff3a8 0%, #ffd23f 45%, #e8930f 100%);
  box-shadow: 0 4px 14px rgba(255,170,40,.28);
}
.jg-consent__btn:focus-visible, .jg-consent__text a:focus-visible{ outline: 3px solid #ffd56a; outline-offset: 2px; }
@media (max-width: 560px){
  .jg-consent{ left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .jg-consent__inner{ width: 100%; padding: 16px 16px 14px; }
}
@media (prefers-reduced-motion: reduce){ .jg-consent__inner{ transition: none; } }
