/* GTA 6 flying badge. Site-wide include. No Rockstar marks. */
.igg-gta6-float{
  position:fixed;
  z-index:80;
  right:16px;
  bottom:max(16px, env(safe-area-inset-bottom));
  width:min(252px, calc(100vw - 32px));
  display:flex;
  align-items:stretch;
  gap:0;
  padding:0;
  border:0;
  background:transparent;
  font:inherit;
  color:inherit;
  text-decoration:none;
  filter:drop-shadow(0 10px 22px rgba(80,0,50,.45));
  animation:igg-gta6-drift 8s ease-in-out infinite;
  -webkit-tap-highlight-color:transparent;
}
.igg-gta6-float__card{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:8px 8px 8px 10px;
  border-radius:18px;
  color:#fff8f2;
  text-decoration:none;
  background:
    radial-gradient(120px 80px at 0% 0%,rgba(255,220,120,.55),transparent 70%),
    linear-gradient(135deg,#ff3fa6 0%,#ff5a3c 48%,#ff9a2e 100%);
  border:1px solid rgba(255,230,200,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(255,80,160,.2);
  min-height:52px;
}
.igg-gta6-float__art{
  flex:none;
  width:36px;
  height:36px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%,#ffe08a,#ff7a3a 54%,#c43dff 100%);
  box-shadow:0 0 0 2px rgba(255,255,255,.25), 0 0 16px rgba(255,120,60,.55);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.igg-gta6-float__art svg{width:30px;height:30px;display:block}
.igg-gta6-float__copy{min-width:0;flex:1}
.igg-gta6-float__kicker{
  display:block;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff6d8;
  line-height:1.2;
}
.igg-gta6-float__title{
  display:block;
  font-size:.92rem;
  font-weight:800;
  letter-spacing:-.01em;
  line-height:1.2;
  color:#fff;
}
.igg-gta6-float__close{
  appearance:none;
  flex:none;
  width:44px;
  height:44px;
  margin:0;
  border:0;
  border-radius:12px;
  background:rgba(20,8,16,.18);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  -webkit-tap-highlight-color:transparent;
}
.igg-gta6-float__close:hover,
.igg-gta6-float__close:focus-visible{
  background:rgba(20,8,16,.32);
  outline:2px solid #fff;
  outline-offset:1px;
}
@keyframes igg-gta6-drift{
  0%,100%{transform:translate(0,0) rotate(-1.2deg)}
  40%{transform:translate(-8px,-9px) rotate(1.4deg)}
  70%{transform:translate(5px,-3px) rotate(-.6deg)}
}
/* Narrow phones: stay bottom-right, above the home indicator, never over the hero. */
@media (max-width: 480px) {
  .igg-gta6-float:not(.is-in-header) {
    top: auto;
    right: 12px;
    left: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(200px, calc(100vw - 24px));
  }
  .igg-gta6-float:not(.is-in-header) .igg-gta6-float__card {
    min-height: 48px;
    padding: 6px 6px 6px 8px;
    gap: 8px;
  }
  .igg-gta6-float:not(.is-in-header) .igg-gta6-float__art {
    width: 30px;
    height: 30px;
  }
  .igg-gta6-float:not(.is-in-header) .igg-gta6-float__kicker {
    font-size: 8px;
  }
  .igg-gta6-float:not(.is-in-header) .igg-gta6-float__title {
    font-size: 12px;
  }
  .igg-gta6-float:not(.is-in-header) .igg-gta6-float__cta {
    font-size: 10px;
  }
}
/* Game play pages: sit in the header chrome, never over the canvas or HUD. */
body.game-page .igg-gta6-float.is-in-header{
  position:relative;
  right:auto;
  left:auto;
  top:auto;
  bottom:auto;
  width:auto;
  margin-left:auto;
  margin-right:6px;
  filter:drop-shadow(0 2px 8px rgba(80,0,50,.3));
  animation:igg-gta6-drift-mini 8s ease-in-out infinite;
  z-index:5;
}
body.game-page .igg-gta6-float.is-in-header .igg-gta6-float__card{
  padding:4px 4px 4px 6px;
  min-height:36px;
  border-radius:999px;
  gap:6px;
}
body.game-page .igg-gta6-float.is-in-header .igg-gta6-float__art{
  width:28px;height:28px;
}
body.game-page .igg-gta6-float.is-in-header .igg-gta6-float__art svg{width:24px;height:24px}
body.game-page .igg-gta6-float.is-in-header .igg-gta6-float__kicker{display:none}
body.game-page .igg-gta6-float.is-in-header .igg-gta6-float__title{font-size:.72rem;white-space:nowrap}
body.game-page .igg-gta6-float.is-in-header .igg-gta6-float__close{
  width:36px;height:36px;border-radius:999px;font-size:18px;
}
@keyframes igg-gta6-drift-mini{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-2px)}
}
@media(prefers-reduced-motion:reduce){
  .igg-gta6-float,
  body.game-page .igg-gta6-float.is-in-header{
    animation:none;
  }
}
@media(max-width:420px){
  body.game-page .igg-gta6-float.is-in-header .igg-gta6-float__title{display:none}
}
