/* Shared consent UI: independent of games, account providers and route animations. */
.tg-cookie-banner,.tg-cookie-dialog{
  color:var(--text,#222);background:var(--surface,#fff);border:1px solid var(--line,#d8d8d8);
  box-shadow:0 14px 50px rgba(0,0,0,.20);font-family:inherit;
}
.tg-cookie-banner{
  position:fixed;z-index:12000;left:50%;bottom:max(16px,env(safe-area-inset-bottom));
  transform:translateX(-50%);box-sizing:border-box;width:min(750px,calc(100vw - 28px));
  border-radius:16px;padding:19px 21px;display:flex;gap:22px;
  align-items:center;justify-content:space-between;
}
.tg-cookie-banner-copy{flex:1;min-width:0}
.tg-cookie-banner-copy strong{font-size:15px;letter-spacing:-.015em;font-weight:730}
.tg-cookie-banner-copy p,.tg-cookie-dialog p{
  margin:7px 0 0;font-size:13px;line-height:1.55;color:var(--muted,#666);
}
.tg-cookie-banner-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.tg-cookie-button{
  display:inline-flex;justify-content:center;align-items:center;min-height:38px;
  padding:9px 13px;white-space:nowrap;font-size:12px;line-height:1.2;font-weight:680;
  color:var(--text,#222);background:var(--surface-soft,#f2f2f2);
  border:1px solid var(--line,#ccc);border-radius:9px;cursor:pointer;font-family:inherit;
}
.tg-cookie-button:hover{filter:brightness(.95)}
.tg-cookie-button.tg-cookie-primary{background:var(--text,#222);color:var(--canvas,#fff);border-color:var(--text,#222)}
.tg-cookie-button:focus-visible,.tg-cookie-link:focus-visible,
.tg-cookie-dialog a:focus-visible,.tg-cookie-dialog input:focus-visible,.tg-cookie-close:focus-visible{
  outline:2px solid var(--accent,#777);outline-offset:3px;
}
.tg-cookie-backdrop{
  position:fixed;z-index:12001;inset:0;background:rgba(7,10,10,.60);
  display:grid;place-items:center;padding:18px;box-sizing:border-box;
}
.tg-cookie-dialog{
  width:min(560px,100%);max-height:min(770px,calc(100dvh - 36px));
  box-sizing:border-box;overflow:auto;overscroll-behavior:contain;
  border-radius:17px;padding:25px;
}
.tg-cookie-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.tg-cookie-dialog-head h2{margin:0;line-height:1.2;letter-spacing:-.035em;font-size:23px;font-weight:740}
.tg-cookie-close{
  font-family:inherit;width:34px;height:34px;flex:none;border:1px solid var(--line,#ccc);
  color:var(--text,#222);background:var(--surface-soft,#eee);border-radius:9px;
  cursor:pointer;font-size:24px;line-height:1;
}
.tg-cookie-intro{margin-top:14px!important}
.tg-cookie-category{
  display:block;padding:15px 0;border-top:1px solid var(--line,#ddd);
  font-size:13px;color:var(--text,#222);
}
.tg-cookie-intro + .tg-cookie-category{margin-top:20px}
.tg-cookie-category strong{font-weight:720;font-size:13px}
.tg-cookie-category p{margin-top:6px!important}
.tg-cookie-appearance-toggle{margin-top:12px;font-size:12px;font-weight:650}
.tg-cookie-appearance-toggle input{width:20px;height:20px;accent-color:var(--text,#222);cursor:pointer}
.tg-cookie-service-list{margin-top:0}
.tg-cookie-option-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tg-cookie-option-top input{width:20px;height:20px;accent-color:var(--text,#222);cursor:pointer}
.tg-cookie-provider{font-size:12px!important}
.tg-cookie-empty{padding:14px 0;border-top:1px solid var(--line,#ddd)}
.tg-cookie-privacy-link,.tg-cookie-dialog a{color:var(--text,#222);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.tg-cookie-dialog-actions{margin-top:20px;display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap}
.tg-cookie-dialog-actions .tg-cookie-button{min-width:126px}
.footer .tg-cookie-link,.legal-footer .tg-cookie-link{
  padding:0;border:0;background:transparent;color:inherit;font:inherit;
  cursor:pointer;text-decoration:none;
}
.footer .tg-cookie-link:hover,.legal-footer .tg-cookie-link:hover{text-decoration:underline;color:var(--text,#222)}
@media(max-width:670px){
  .tg-cookie-banner{bottom:max(10px,env(safe-area-inset-bottom));padding:16px;display:block;border-radius:13px}
  .tg-cookie-banner-actions{justify-content:stretch;margin-top:15px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .tg-cookie-banner-actions .tg-cookie-button{white-space:normal}
  .tg-cookie-banner-actions .tg-cookie-button:nth-child(3){grid-column:1/-1}
  .tg-cookie-dialog{padding:19px 17px}
  .tg-cookie-dialog-head h2{font-size:21px}
  .tg-cookie-dialog-actions .tg-cookie-button{flex:1}
}
@media(prefers-reduced-motion:reduce){
  .tg-cookie-banner,.tg-cookie-dialog{scroll-behavior:auto}
}