@media (max-width: 1020px) {
  .hdr-actions > .gt-sb { --sc: #16a34a; position: static; margin: 0; padding: 0; background: none; display: flex; }
  .hdr-actions > .gt-sb.is-beta, .hdr-actions > .gt-sb.is-maintenance, .hdr-actions > .gt-sb.is-tester { --sc: #ea580c; }
  .hdr-actions > .gt-sb.is-maintenance { --sc: #dc2626; }
  .hdr-actions > .gt-sb.is-hidden-page:not(.is-beta):not(.is-maintenance) { --sc: #9333ea; }
  .hdr-actions > .gt-sb .gt-sb-pill { box-sizing: border-box; height: 38px; gap: 8px; padding: 0 10px 0 12px; border: 1px solid color-mix(in srgb, var(--sc) 70%, transparent); border-radius: 0; color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; box-shadow: none;
    background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--sc) 22%, transparent) 0 6px, transparent 6px 12px); }
  .hdr-actions > .gt-sb .gt-sb-pill::after { content: ""; width: 5px; height: 5px; margin: -3px 0 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform .15s ease; }
  .hdr-actions > .gt-sb.is-open .gt-sb-pill::after { transform: translateY(3px) rotate(-135deg); }
  .hdr-actions > .gt-sb .gt-sb-pill:hover, .hdr-actions > .gt-sb.is-open .gt-sb-pill { border-color: var(--sc); background: color-mix(in srgb, var(--sc) 18%, transparent); }
  .hdr-actions > .gt-sb .gt-sb-pill .gt-sb-dot { width: 8px; height: 8px; border-radius: 0; background: var(--sc); box-shadow: none; animation: gt-sb-sq 1.8s ease-out infinite; }
  @keyframes gt-sb-sq { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sc) 70%, transparent); } 100% { box-shadow: 0 0 0 7px transparent; } }

  .hdr-actions > .gt-sb .gt-sb-card { position: fixed; top: calc(var(--hdr-h, 60px) + 8px); left: 24px; right: 24px; width: auto; max-width: none; border-radius: 0; transform: translate(0, -4px); }
  .hdr-actions > .gt-sb:hover .gt-sb-card, .hdr-actions > .gt-sb:focus-within .gt-sb-card, .hdr-actions > .gt-sb.is-open .gt-sb-card { transform: none; }
  .hdr-actions > .gt-sb .gt-sb-links a { border-radius: 0; }
}
@media (max-width: 500px) { .hdr-actions > .gt-sb .gt-sb-card { left: 16px; right: 16px; } }

@media (max-width: 640px) {
  .hdr-actions > .gt-sb .gt-sb-pill { width: 38px; padding: 0; justify-content: center; }
  .hdr-actions > .gt-sb .gt-sb-tag, .hdr-actions > .gt-sb .gt-sb-pill::after { display: none; }
}

@media (hover: none) {
  .gt-sb:not(.is-open):hover .gt-sb-card, .gt-sb:not(.is-open):focus-within .gt-sb-card { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .hdr-actions > .gt-sb .gt-sb-pill .gt-sb-dot { animation: none; } }

.hdr-actions > .gt-sb .gt-sb-pill::after { display: none !important; }
