* {
  box-sizing: border-box;
}

[hidden] {
  display: none!important;
}

html {
  scrollbar-color: var(--line-strong) transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 var(--font);
  letter-spacing: var(--font-tracking,-.011em);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  font-family: var(--font-display,var(--font));
  letter-spacing: inherit;
  color: inherit;
}

input {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

select {
  font: inherit;
  font-family: var(--font-display,var(--font));
  letter-spacing: inherit;
  color: inherit;
}

textarea {
  font: inherit;
  color: inherit;
  line-height: 1.5;
  resize: vertical;
}

::selection { background: var(--selection-bg,#53417f); color: var(--selection-ink,var(--text)); }

button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h2 {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display,var(--font));
  text-transform: var(--heading-case,none);
}

.page-heading,
.section-heading.page-heading {
  --page-heading-margin: var(--section-gap,22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 40px;
  margin: 0 0 var(--page-heading-margin);
}

.mc-page>.page-heading,
.gn-page>.page-heading { --page-heading-margin: 0px; }

.page-heading-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.page-heading-title>.icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--brand-fg);
}

.page-heading h1 {
  min-width: 0;
  margin: 0;
  font-size: var(--page-title-size,28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: var(--page-title-tracking,-.8px);
  text-wrap: balance;
}

p {
  margin: 0;
}

h2 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: var(--heading-tracking,-.33px);
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Keep captions aligned with icons in fields, group headings and text actions. */
.mc-icon-label { display:inline-flex; align-items:center; gap:8px; min-width:0; }
.mc-icon-label > .icon { flex:none; width:16px; height:16px; }

.icon-definitions {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.eyebrow {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .01px;
  color: var(--muted);
  font-weight: 500;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -90px;
  left: 16px;
  background: var(--brand);
  color: var(--brand-ink,#fff);
  padding: 12px 16px;
  border-radius: var(--r-btn);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  flex: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-badge);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.platform-twitch {
  --platform-color: var(--twitch);
}

.platform-youtube {
  --platform-color: var(--youtube);
}

.platform-tiktok {
  --platform-color: var(--tiktok);
}

.mc-platform-caption {
  color: var(--platform-color, var(--text-2));
}

.platform-logo {
  display: inline-flex;
  width: 16px;
  height: 17px;
  align-items: center;
  justify-content: center;
  flex: none;
}

.platform-logo svg {
  width: 100%;
  height: 100%;
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    animation: none!important;
  }

  *:before {
    transition: none!important;
    animation: none!important;
  }

  *:after {
    transition: none!important;
    animation: none!important;
  }
}

/* Common inline labels match the concept's 14px semantic marks. */
.relay-panel .mc-icon-label { gap:7px; }
.relay-panel .mc-icon-label>.icon { width:14px; height:14px; color:var(--accent); }
@keyframes page-in { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@keyframes dialog-in { from { opacity:0; transform:translateY(8px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
.relay-panel .page { animation:page-in .2s var(--ease); }
.relay-panel dialog[open] { animation:dialog-in .2s var(--ease); }
