:root {
  --contest-accent: #456b83;
  --contest-bg: #f1f5f7;
  --contest-text: #263d47;
  --contest-button-text: #ffffff;
  --widget-columns: 3;
  --widget-gap: 20px;
  --wheel-ring-opacity: 35%;
  --bg: #edf0ee;
  --surface: #ffffff;
  --surface-2: #f0f3ef;
  --line: #d6ddd9;
  --text: #293e47;
  --muted: #596c72;
  --accent: #3f667e;
  --accent-dark: #ffffff;
  --accent-soft: #e3eef3;
  --sage: #ecf2e7;
  --peach: #faf0e4;
  --danger: #9f3f4e;
  --danger-action: #ab4652;
  --danger-action-text: #ffffff;
  --youtube: #9e4148;
  --twitch: #705584;
  --radius: 8px;
  --font: Tahoma, Verdana, Arial, sans-serif;
  color-scheme: light;
  font-family: var(--font);
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
}

/* pCard keeps creator colors within its own two faces. */
.pcard {
  width: 100%;
  max-width: 530px;
  margin: 20px auto;
  font-family: var(--pc-body-font);
  font-synthesis: weight;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pc-text);
  overflow-wrap: anywhere;
}
.pcard [hidden] {
  display: none !important;
}
.pcard-face {
  min-height: 300px;
  border: 1px solid var(--pc-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pc-frontBackground);
  animation: pcard-face-in 150ms ease-out;
}
.pcard-back {
  background: var(--pc-backBackground);
  margin-top: 12px;
}
.pcard:has([data-pcard-controls]:not([hidden])) .pcard-back {
  margin-top: 0;
}
.pcard-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 14px;
  background: var(--pc-titleBackground);
  color: var(--pc-titleText);
  border-bottom: 1px solid var(--pc-border);
}
.pcard-content {
  padding: 20px;
}
.pcard-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pcard-identity > div {
  min-width: 0;
}
.pcard-identity h2 {
  margin: 0;
  font: 700 23px/1.2 var(--pc-title-font);
  color: var(--pc-username);
}
.pcard-slogan {
  margin: 7px 0 0;
  color: var(--pc-slogan);
}
.pcard-avatar {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 2px solid var(--pc-avatarBorder);
  border-radius: 7px;
  background: var(--pc-avatarBackground);
}
.pcard-initials {
  display: grid;
  place-items: center;
  font: 700 25px var(--pc-title-font);
  color: var(--pc-username);
}
.pcard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 0;
}
.pcard-metrics:empty {
  display: none;
}
.pcard-metric {
  padding: 8px 10px;
  background: var(--pc-metricBackground);
  border: 1px solid var(--pc-border);
  border-radius: 5px;
}
.pcard-metric dt {
  color: var(--pc-text);
  font-weight: 700;
}
.pcard-metric dt span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--pc-muted);
}
.pcard-metric dd {
  margin: 3px 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--pc-metricText);
}
.pcard-metric-note {
  display: block;
  color: var(--pc-muted);
  font-size: 10px;
  line-height: 1.4;
}
.pcard-contact {
  margin: 16px 0 0;
  color: var(--pc-contactText);
}
.pcard-contact:empty {
  display: none;
}
.pcard-contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pcard-back-heading {
  margin: 0 0 14px;
  font: 700 17px var(--pc-title-font);
  color: var(--pc-text);
}
.pcard-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}
.pcard-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid var(--pc-linkBorder);
  border-radius: 5px;
  background: var(--pc-linkBackground);
  color: var(--pc-linkText);
}
.pcard-links a:hover {
  background: var(--pc-linkHoverBackground);
  color: var(--pc-linkHoverText);
}
.pcard a:focus-visible,
.pcard button:focus-visible {
  outline-color: var(--pc-focus);
  outline-offset: 2px;
}
.pcard-empty {
  color: var(--pc-muted);
}
.pcard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}
.pcard-flip {
  font: inherit;
  background: var(--pc-linkBackground);
  color: var(--pc-linkText);
  border: 1px solid var(--pc-linkBorder);
  border-radius: 5px;
  padding: 8px 14px;
}
.pcard-flip:hover {
  background: var(--pc-linkHoverBackground);
  color: var(--pc-linkHoverText);
}
.pcard-side-status {
  color: var(--muted);
  font-family: var(--font);
  font-size: 11px;
}
.pcard-page {
  max-width: 700px;
}
.pcard-privacy {
  max-width: 530px;
  margin: 20px auto;
}
.pcard-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 24px;
  align-items: start;
}
.pcard-editor-layout > * {
  min-width: 0;
}
.pcard-editor-layout .panel {
  padding: 18px;
}
.pcard-preview-panel {
  position: sticky;
  top: 18px;
}
.pcard-preview-panel h2 {
  font-size: 17px;
}
.pcard-avatar-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.pcard-avatar-choice {
  display: flex !important;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.pcard-avatar-choice input,
.pcard-platform-check input,
.pcard-publish input {
  width: auto;
  margin: 0;
}
.pcard-avatar-choice img {
  border-radius: 4px;
  object-fit: cover;
}
.pcard-metric-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) 56px minmax(100px, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.pcard-metric-row label {
  min-width: 0;
  font-size: 11px;
}
.pcard-metric-row input[type='number'] {
  width: 100%;
  padding: 6px;
}
.pcard-platform-check,
.pcard-publish {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.pcard-link-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pcard-link-row label {
  min-width: 0;
}
.pcard-link-row label:nth-child(3),
.pcard-row-actions {
  grid-column: 1/-1;
}
.pcard-row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pcard-row-actions[hidden] {
  display: none;
}
.pcard-row-actions .button {
  min-width: 36px;
  padding: 6px 9px;
}
.pcard-font-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pcard-font-selects label {
  min-width: 0;
}
.pcard-color-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@keyframes pcard-face-in {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1100px) {
  .pcard-editor-layout {
    grid-template-columns: 1fr;
  }
  .pcard-preview-panel {
    position: static;
    grid-row: 1;
  }
}
@media (max-width: 450px) {
  .pcard-content {
    padding: 14px;
  }
  .pcard-identity {
    gap: 12px;
  }
  .pcard-avatar {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }
  .pcard-identity h2 {
    font-size: 20px;
  }
  .pcard-font-selects {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pcard-face {
    animation: none;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
img {
  max-width: 100%;
  object-fit: contain;
}
p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
}
h1,
h2,
h3 {
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  line-height: 1.25;
}
h1 {
  font-size: 28px;
  font-weight: 400;
}
h1 span:not(.accent) {
  color: var(--muted);
}
h2 {
  font-size: 21px;
  font-weight: 400;
}
h3 {
  font-size: 16px;
  font-weight: 700;
}
h1 + h2 {
  margin-top: 20px;
}
section[id] {
  scroll-margin-top: 28px;
}
[hidden] {
  display: none !important;
}
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent);
}
.wide {
  width: 100%;
}
.narrow {
  max-width: 760px !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 99;
  background: var(--accent);
  color: #000;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.preview-bar {
  padding: 8px 5vw;
  background: var(--sage);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.preview-bar span {
  font-weight: 400;
  letter-spacing: 0;
}
.site-header {
  max-width: 1040px;
  margin: 20px auto 0;
  padding: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid #c5d1d7;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1px;
  color: #3d6175;
}
.wordmark img {
  width: 28px;
  height: 28px;
}
.wordmark-dot {
  color: var(--accent);
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  gap: 0;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 400;
  background: linear-gradient(#edf3f7, #dce7ed);
  border-top: 1px solid #d3dee4;
}
.site-header nav > a {
  color: var(--muted);
  white-space: nowrap;
}
.site-header nav > a:hover,
.site-header nav > a.active {
  color: var(--text);
}
.site-header nav .nav-cta {
  margin-left: auto;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  display: flex;
  gap: 8px;
  color: #354f60;
  background: transparent;
}
.eyebrow {
  color: var(--muted);
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 9px;
  line-height: 1.5;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 6px;
  border: 1px solid transparent;
  line-height: 1.4;
  white-space: normal;
  min-height: 34px;
  transition: background 0.15s;
}
.button:hover {
  transform: none;
}
.primary {
  background: linear-gradient(#5b7f95, #40677e);
  color: #fff;
  border-color: #3f637a;
  box-shadow: inset 0 1px 0#ffffff30;
}
.primary:hover {
  background: #32576d;
}
.secondary {
  border-color: #b7c7cc;
  background: linear-gradient(#ffffff, #edf2f3);
  color: var(--text);
}
.secondary:hover {
  background: var(--accent-soft);
}
.compact {
  padding: 9px 13px;
  font-size: 12px;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
}
.text-link:hover {
  color: var(--accent);
}
.section {
  max-width: 1040px;
  margin: auto;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid #c5d1d7;
  border-top: 0;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin: 0;
  font-size: 21px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.directory-tools {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
}
.directory-tools p {
  font-size: 12px;
  margin: 0;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 13px;
  border-radius: 7px;
}
.search-box input {
  background: none;
  border: none;
  min-width: 0;
  padding: 6px 0;
  font-size: 11px;
}
.creator-grid {
  display: block;
}
.creator-card {
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid #e0e5e6;
  border-radius: 0;
  overflow: hidden;
}
.creator-card:hover {
  background: #fafcfb;
  transform: none;
}
.card-art {
  height: 72px;
  position: relative;
  overflow: hidden;
  background: var(--accent-soft);
  border-top: 0;
}
.art-1 {
  background: var(--sage);
}
.art-2 {
  background: #eee8f3;
}
.art-3 {
  background: var(--peach);
}
.creator-monogram {
  position: absolute;
  right: 16px;
  top: 12px;
  color: var(--muted);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.card-index {
  display: none;
}
.card-category {
  position: absolute;
  left: 18px;
  bottom: 24px;
  font-size: 10px;
  color: var(--text);
}
.card-content {
  padding: 18px;
}
.creator-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.avatar-letter {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.creator-identity h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 3px;
}
.creator-identity .small {
  font-size: 10px;
}
.round-link {
  margin-left: auto;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
}
.card-tagline {
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 12px;
  min-height: 0;
}
.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card-stats dt {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-stats dd {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.stats-caption {
  font-size: 8px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 12px;
}
.channel-stats {
  --platform-color: var(--twitch);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin: 16px 0 0;
  background: var(--bg);
}
.youtube-stats {
  --platform-color: var(--youtube);
  border-top: 2px solid var(--platform-color);
}
.channel-stats-heading,
.channel-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.channel-stats-heading {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.platform-icon {
  color: var(--platform-color);
  background: var(--surface-2);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.channel-platform h3,
.channel-platform h4 {
  font-size: 14px;
  letter-spacing: 0;
  margin: 0 0 3px;
}
.channel-platform span:not(.platform-icon),
.channel-watch {
  font-size: 11px;
  color: var(--muted);
}
.channel-watch {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 0;
}
.channel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 18px;
}
.channel-metrics > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.channel-metrics dt {
  font-size: 11px;
  color: var(--muted);
}
.channel-metrics dd {
  order: -1;
  margin: 0;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 750;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.channel-metrics > div:first-child dd {
  color: var(--platform-color);
}
.channel-stats-footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.channel-stats-footer a:hover,
.channel-watch:hover {
  color: var(--text);
  text-decoration: underline;
}
.stats-status {
  flex-basis: 100%;
  color: var(--danger);
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.card-profile-link {
  display: inline-block;
  margin-top: 20px;
}
.channel-stats-expanded {
  padding: 28px;
  margin-bottom: 28px;
}
.channel-stats-expanded .channel-platform h3 {
  font-size: 20px;
}
.channel-stats-expanded .channel-platform span:not(.platform-icon),
.channel-stats-expanded .channel-watch {
  font-size: 13px;
}
.channel-stats-expanded .channel-metrics {
  margin: 32px 0;
  gap: 24px;
}
.channel-stats-expanded .channel-metrics dd {
  font-size: clamp(28px, 4vw, 48px);
}
.channel-stats-expanded .channel-metrics dt {
  font-size: 13px;
}
.channel-stats-expanded .metric-grid {
  margin: 24px 0;
}
@media (max-width: 600px) {
  .channel-stats {
    padding: 14px;
  }
  .channel-stats-expanded {
    padding: 20px;
  }
  .channel-stats-expanded .channel-metrics {
    gap: 12px;
  }
  .channel-stats-expanded .channel-metrics dt {
    font-size: 11px;
  }
  .channel-stats-expanded .channel-platform span:not(.platform-icon) {
    font-size: 11px;
  }
}
.site-footer {
  max-width: 1040px;
  margin: 0 auto 28px;
  border: 1px solid #c5d1d7;
  border-top: 0;
  border-radius: 0 0 9px 9px;
  background: #eef1ef;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-footer > span {
  font-size: 11px;
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  gap: 27px;
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.site-footer .wordmark {
  font-size: 16px;
  gap: 0;
  padding: 0;
}
.lede {
  font-size: 13px;
  max-width: 640px;
  margin-bottom: 24px;
}
.panel {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
}
.panel h2 {
  font-size: 18px;
}
.panel h3 {
  font-size: 19px;
}
.panel p {
  font-size: 13px;
}
.panel p:last-child {
  margin-bottom: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #426756;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.empty-state {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 28px 0 35px;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.metric > span {
  color: var(--muted);
  font-size: 12px;
}
.metric strong {
  font-size: 26px;
  letter-spacing: 0;
}
.metric > a {
  font-size: 18px;
  color: var(--accent);
  word-break: break-word;
}
.profile-hero {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  margin: 50px 0 70px;
}
.profile-hero > div:first-child {
  max-width: 680px;
}
.profile-avatar {
  width: 240px;
  height: 240px;
  border-radius: 35px;
  font-size: 80px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.appeal-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 55px;
}
.appeal-link p {
  margin: 0;
}
.detail-list {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
}
.detail-list dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}
.detail-list dd {
  font-size: 24px;
  margin: 7px 0;
  font-weight: 700;
}
.auth-page {
  max-width: 580px;
  margin: 85px auto 110px;
  padding: 0 25px;
}
.auth-page h1 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
}
.auth-page .button {
  margin: 10px 0 20px;
}
.auth-page .form-stack .button {
  margin: 0;
}
.workspace-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  max-width: 1040px;
  margin: auto;
  background: var(--surface);
  border-left: 1px solid #c5d1d7;
  border-right: 1px solid #c5d1d7;
}
.workspace-nav {
  padding: 22px 12px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  background: #f4f6f3;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--muted);
  margin: 10px 0 10px;
  text-transform: none;
}
.workspace-nav > a {
  padding: 11px 14px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
}
.workspace-nav > a:hover,
.workspace-nav > a.selected {
  background: var(--accent-soft);
  color: var(--accent);
}
.workspace-account {
  margin-top: auto;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}
.avatar-initial {
  height: 35px;
  width: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.workspace-main {
  min-width: 0;
  padding: 28px 24px 38px;
}
.workspace-main h1 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.workspace-main .eyebrow {
  margin-bottom: 17px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
  margin: 30px 0;
}
.feature-tile {
  border: 1px solid var(--line);
  border-radius: 14px;
  display: block;
  overflow: hidden;
  position: relative;
  padding: 38px;
  background: var(--sage);
}
.feature-tile h2 {
  font-size: 37px;
  position: relative;
  z-index: 1;
}
.feature-tile p {
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.feature-tile .button {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}
.wheel-tile {
  background: radial-gradient(circle at 120% 45%, #245b54, transparent 75%), var(--sage);
}
.mini-wheel {
  position: absolute;
  right: -80px;
  bottom: 0;
  width: 300px;
  height: 300px;
  border: 2px solid #60978c60;
  border-radius: 50%;
  background: repeating-conic-gradient(from 5deg, #2f676061 0deg 1deg, transparent 1deg 30deg);
  transform: rotate(10deg);
}
.mini-wheel:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid #6caf946b;
  left: calc(50% - 25px);
  top: calc(50% - 25px);
}
.dashboard-shortcuts .panel:last-child {
  margin: 0;
}
.dashboard-shortcuts .panel {
  padding: 28px;
  display: block;
}
.dashboard-shortcuts .panel .eyebrow {
  font-size: 8px;
  display: block;
  margin-bottom: 12px;
}
.dashboard-shortcuts h3 {
  display: flex;
  justify-content: space-between;
}
.dashboard-shortcuts h3 span {
  color: var(--accent);
}
.workspace-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tool-feature {
  max-width: 850px;
  padding: 26px;
  margin-top: 24px;
}
.tool-feature h2 {
  margin-top: 16px;
  font-size: 26px;
}
.feature-notes {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-top: 25px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 24px 0 18px;
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
thead {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
tbody th {
  font-weight: 600;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
.rank {
  font-family: monospace;
  color: var(--muted);
}
.table-wrap .empty-state {
  border: 0;
  white-space: normal;
}
label {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--text);
}
input,
textarea,
select {
  background: var(--surface);
  border: 1px solid #9eafb5;
  border-radius: 6px;
  color: var(--text);
  padding: 12px 13px;
  width: 100%;
  font-size: 13px;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
input:read-only {
  color: var(--muted);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-stack h2,
.form-stack p {
  margin: 0;
}
.field-note {
  font-size: 10px !important;
  line-height: 1.6 !important;
  color: var(--muted);
  margin: 7px 0 0 !important;
}
.form-inline {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.form-inline > label {
  flex: 1;
  min-width: 170px;
}
.form-inline .button {
  flex-shrink: 0;
}
.color-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.color-grid input {
  height: 48px;
  padding: 5px;
  cursor: pointer;
}
.branding-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
}
.friendship-brand,
.brand-save {
  grid-column: 1/-1;
}
.friendship-brand .color-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
#friendship-preview .mini-wheel {
  border-color: var(--accent);
  background: repeating-conic-gradient(
    var(--preview-slice-a) 0deg 30deg,
    var(--preview-slice-b) 30deg 60deg
  );
}
#friendship-preview .mini-wheel:after {
  background: var(--preview-winner);
  border-color: var(--preview-secondary);
}
#friendship-preview strong {
  color: var(--text);
  background: var(--surface);
  border-radius: 6px;
  padding: 4px 8px;
  box-decoration-break: clone;
  overflow-wrap: anywhere;
}
.brand-preview {
  position: relative;
  overflow: hidden;
  min-height: 165px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--preview-bg, var(--surface));
  padding: 24px;
}
.brand-preview > span {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 17px;
}
.brand-preview strong {
  font-size: 23px;
  position: relative;
  z-index: 1;
  color: var(--text);
  background: var(--surface);
  border-radius: 6px;
  padding: 4px 8px;
  box-decoration-break: clone;
}
.brand-preview .mini-wheel {
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: -40px;
}
.notice {
  padding: 15px 18px;
  border: 1px solid;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.6;
}
.success {
  color: #365c46;
  background: #edf4e9;
  border-color: #acbfa6;
}
.error {
  color: #8a3445;
  background: #fcf0ef;
  border-color: #cba4aa;
}
.text-button {
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover {
  color: var(--accent);
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:first-child {
  padding-top: 0;
}
.list-row:last-child {
  border: 0;
  padding-bottom: 0;
}
.list-row h3,
.list-row p {
  margin: 0 0 5px;
}
.list-row time {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.section-tabs {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 5px 0 20px;
  margin-bottom: 40px;
  font-size: 13px;
}
.section-tabs span {
  color: var(--accent);
  margin-left: 5px;
}
#blacklist,
#team,
#activity {
  margin-top: 45px;
}
.appeal-notes {
  padding: 20px;
  background: var(--surface-2);
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.vote-summary {
  display: flex;
  gap: 25px;
  color: var(--muted);
  font-size: 11px;
  margin: 20px 0;
}
.appeal-card details {
  margin-top: 22px;
  color: var(--muted);
}
.appeal-card details p {
  margin-top: 12px;
  font-size: 12px;
}
summary {
  cursor: pointer;
}
.error-page {
  min-height: 70vh;
  padding-top: 100px;
}
.error-page .text-link {
  margin-left: 25px;
}
.check-label {
  flex-direction: row;
  align-items: flex-start;
  gap: 11px;
  font-size: 11px;
}
.check-label input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}
.check-label small {
  display: block;
  font-size: 9px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 3px;
}
.claim-clock {
  margin: 15px auto;
  padding: 12px;
  border: 1px solid #cba4aa;
  background: #fcf0ef;
  border-radius: 6px;
  font-family: monospace;
  color: #8a3445;
  text-align: center;
  font-size: 13px;
}
.claim-clock strong {
  font-size: 22px;
  margin-left: 8px;
}
dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  padding: 32px;
  max-width: min(440px, 92vw);
  width: 440px;
  box-shadow: 0 25px 100px #293e4722;
}
dialog::backdrop {
  background: #293e4766;
  backdrop-filter: blur(6px);
}
.giveaway-integrity-dialog {
  padding: 20px;
  border-radius: 8px;
  max-width: min(540px, 92vw);
  width: 540px;
}
.giveaway-integrity-dialog::backdrop {
  backdrop-filter: none;
}
.giveaway-integrity-dialog .button-row {
  flex-wrap: wrap;
}
.giveaway-integrity-dialog .button-row form {
  margin: 0;
}
.giveaway-save[hidden] {
  display: none;
}
.giveaway-edit-history {
  list-style: none;
  padding: 0;
}
.giveaway-edit-history li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.giveaway-edit-diff {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.giveaway-edit-review pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.giveaway-public-edits {
  margin: 12px;
}
.result-dialog {
  text-align: center;
}
.result-dialog img {
  border-radius: 50%;
  border: 2px solid var(--accent);
  margin-bottom: 24px;
}
.result-dialog h2 {
  font-size: 35px;
  overflow-wrap: anywhere;
}
.result-dialog .button {
  margin-top: 12px;
}
.result-dialog .eyebrow {
  font-size: 10px;
}
.result-dialog p {
  font-size: 13px;
}
@media (min-width: 1440px) {
}
@media (max-width: 1180px) {
  .creator-grid {
    gap: 18px;
  }
  .card-content {
    padding: 17px;
  }
  .card-stats {
    gap: 8px;
  }
  .workspace-main {
    padding: 40px 27px;
  }
  .workspace-layout {
    grid-template-columns: 185px 1fr;
  }
  .workspace-nav {
    padding: 30px 17px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .dashboard-shortcuts .panel {
    margin: 0;
  }
  .tool-feature h2 {
    font-size: 34px;
  }
}
@media (max-width: 900px) {
  .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .workspace-layout {
    grid-template-columns: 160px 1fr;
  }
  .workspace-nav {
    padding: 20px 12px;
  }
  .workspace-nav > a {
    padding: 10px 9px;
    font-size: 11px;
  }
  .workspace-main h1 {
    font-size: 38px;
  }
  .branding-grid {
    grid-template-columns: 1fr;
  }
  .profile-hero {
    gap: 30px;
  }
  .profile-avatar {
    width: 180px;
    height: 180px;
  }
}
@media (max-width: 650px) {
  .site-header {
    height: 78px;
    padding: 0 6vw;
  }
  .site-header .wordmark {
    font-size: 25px;
    gap: 7px;
  }
  .wordmark img {
    width: 30px;
    height: 36px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 11px;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .site-header nav .nav-cta {
    padding: 10px 11px;
    gap: 10px;
    font-size: 10px;
  }
  .section {
    padding: 50px 6vw;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .directory-tools {
    width: 100%;
    align-items: flex-start;
  }
  .search-box {
    width: 100%;
  }
  .creator-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card-art {
    height: 170px;
  }
  .card-content {
    padding: 23px;
  }
  .creator-identity h3 {
    font-size: 19px;
  }
  .card-stats dt {
    font-size: 10px;
  }
  .card-stats dd {
    font-size: 23px;
  }
  .card-tagline {
    font-size: 12px;
    min-height: 0;
  }
  .stats-caption {
    font-size: 9px;
  }
  .site-footer {
    padding: 30px 6vw;
    flex-wrap: wrap;
    gap: 18px;
  }
  .site-footer > div {
    margin-left: 0;
    flex-basis: 100%;
    gap: 25px;
  }
  .workspace-layout {
    display: block;
  }
  .workspace-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: row;
    padding: 14px 5vw;
    gap: 5px;
    flex-wrap: wrap;
  }
  .workspace-label,
  .workspace-account {
    display: none;
  }
  .workspace-nav > a {
    font-size: 10px;
    padding: 9px;
  }
  .workspace-nav > a span {
    display: none;
  }
  .workspace-main {
    padding: 35px 6vw 50px;
  }
  .workspace-main h1 {
    font-size: 36px;
  }
  .metric-grid {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .metric {
    padding: 19px;
  }
  .metric strong {
    font-size: 30px;
  }
  .metric > a {
    font-size: 14px;
  }
  .dashboard-shortcuts {
    grid-template-columns: 1fr;
  }
  .feature-tile {
    padding: 28px;
  }
  .feature-tile h2 {
    font-size: 32px;
  }
  .feature-tile .mini-wheel {
    opacity: 0.55;
  }
  .profile-hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 32px;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 22px;
    font-size: 45px;
  }
  .person-page h1 {
    font-size: 42px;
    overflow-wrap: anywhere;
  }
  .appeal-link {
    flex-direction: column;
    align-items: flex-start;
  }
  .auth-page {
    margin: 60px auto 85px;
  }
  .auth-page h1 {
    font-size: 45px;
  }
  .panel {
    padding: 22px;
  }
  .list-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .vote-summary {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .section-tabs {
    gap: 18px;
    font-size: 11px;
  }
  .preview-bar {
    font-size: 9px;
    gap: 7px;
    padding: 7px 10px;
  }
  .preview-bar span {
    font-size: 9px;
  }
  .tool-feature h2 {
    font-size: 30px;
  }
  .tool-feature .mini-wheel {
    right: -160px;
  }
  .empty-state {
    padding: 30px;
  }
  .error-page .text-link {
    display: block;
    margin: 25px 0;
  }
  .form-inline .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover,
  .creator-card:hover {
    transform: none;
  }
}
.creator-card .card-art {
  background: color-mix(in srgb, var(--card-accent) 9%, var(--surface));
}
.creator-card .creator-monogram {
  color: var(--muted);
}
.creator-card .round-link:hover {
  border-color: var(--card-accent);
}
.person-page .profile-avatar {
  border-color: var(--profile-accent);
  background: color-mix(in srgb, var(--profile-accent) 8%, var(--surface));
}
.person-page .profile-hero {
  border-bottom: 1px solid color-mix(in srgb, var(--profile-accent) 40%, transparent);
}
.person-page .eyebrow {
  color: var(--profile-accent);
}
.result-dialog.is-elimination #result-label {
  color: var(--result-danger);
}
.result-dialog.is-elimination #result-avatar {
  border-color: var(--result-danger);
}
.wheel-page {
  --wheel-bg: var(--bg);
  --wheel-accent: var(--accent);
  --wheel-secondary: var(--accent);
  --wheel-danger: var(--danger);
  --wheel-font: var(--font);
  padding: 32px clamp(14px, 3vw, 42px);
  min-width: 0;
}
.wheel-page-heading,
.wheel-toolbar,
.wheel-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wheel-page-heading {
  margin-bottom: 24px;
}
.wheel-page h1 {
  font-size: clamp(23px, 2.4vw, 32px);
  margin: 0;
  overflow-wrap: anywhere;
}
.wheel-page-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}
.wheel-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 22px clamp(16px, 3vw, 40px) 24px;
  border: 1px solid color-mix(in srgb, var(--wheel-accent) var(--wheel-ring-opacity), var(--line));
  border-radius: var(--radius);
  background: var(--wheel-bg);
  overflow: hidden;
  text-align: center;
}
.wheel-stage::before {
  content: none;
}
.wheel-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  text-align: left;
}
.wheel-toolbar > button {
  justify-self: end;
}
.wheel-toolbar .button-row {
  gap: 8px;
}
.wheel-toolbar .button {
  border-radius: 999px;
  min-height: 44px;
}
.wheel-count {
  font-variant-numeric: tabular-nums;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 2px 7px;
}
.wheel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  max-width: 100%;
}
.wheel-brand img {
  object-fit: contain;
  border-radius: 50%;
}
.wheel-brand span {
  min-width: 0;
}
.wheel-brand strong {
  display: block;
  font-family: var(--wheel-font);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.wheel-brand small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 4px;
}
.wheel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
}
.wheel-head #wheel-join {
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
}
.wheel-prize-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  max-width: 580px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 20px;
}
.wheel-prize-card img {
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.wheel-prize-card .eyebrow {
  margin-bottom: 5px;
  font-size: 9px;
  color: var(--muted);
}
.wheel-prize {
  margin: 0;
  font-family: var(--wheel-font);
  font-size: 19px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.canvas-wrap {
  position: relative;
  margin: 38px auto 30px;
  width: min(100% - 28px, 64vh, 720px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--wheel-accent) 45%, transparent);
  border-radius: 50%;
  padding: 6px;
}
.wheel-orbit {
  position: absolute;
  inset: -13px;
  border: 1px solid color-mix(in srgb, var(--wheel-accent) 25%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.is-spinning .wheel-orbit {
  animation: wheel-orbit 24s linear infinite;
}
@keyframes wheel-orbit {
  to {
    transform: rotate(360deg);
  }
}
#wheel-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -15px;
  transform: translateX(-50%);
  width: 26px;
  height: 36px;
  background: var(--wheel-danger);
  clip-path: polygon(20%0, 80%0, 100% 20%, 50% 100%, 0 20%);
  z-index: 2;
}
.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 23%;
  min-width: 66px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--wheel-accent);
  background: var(--surface);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px;
  box-shadow: 0 0 28px #293e4722;
}
.wheel-center img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}
.wheel-center span {
  font-size: clamp(8px, 1vw, 13px);
  letter-spacing: 1.5px;
  font-weight: 800;
}
.wheel-center:disabled {
  opacity: 1;
  color: var(--muted);
}
.wheel-center:hover:enabled {
  box-shadow: 0 0 32px color-mix(in srgb, var(--wheel-accent) 35%, transparent);
}
.wheel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 580px;
  margin: 0 auto 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 8px;
}
.wheel-metrics > div + div {
  border-left: 1px solid var(--line);
}
.wheel-metrics.is-single-spin {
  grid-template-columns: repeat(2, 1fr);
}
.result-dialog.is-single-spin #result-avatar {
  border-color: var(--wheel-winner);
}
.wheel-metrics strong {
  display: block;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}
.wheel-metrics span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.wheel-status {
  font-size: 12px;
  margin: 12px auto;
  max-width: 580px;
  background: var(--surface);
  border-radius: 8px;
  padding: 9px 12px;
}
.wheel-page dialog {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--wheel-accent) 35%, var(--line));
  max-height: 90dvh;
  overflow: auto;
}
.wheel-dialog-head {
  position: sticky;
  top: -24px;
  z-index: 2;
  background: var(--surface);
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.wheel-dialog-head h2 {
  margin: 0;
  font-size: 22px;
}
.wheel-dialog-head .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.wheel-config-dialog {
  width: 580px;
  max-width: min(580px, 94vw);
  padding: 24px;
}
.wheel-config-dialog .wheel-controls {
  display: block;
}
.wheel-controls .panel {
  padding: 20px;
  margin: 0 0 16px;
}
.wheel-controls h2 {
  font-size: 22px;
}
.wheel-controls input,
.wheel-controls textarea {
  font-size: 14px;
}
.wheel-controls .form-stack {
  gap: 16px;
}
.wheel-controls .eyebrow {
  font-size: 10px;
}
.wheel-controls .check-label {
  font-size: 13px;
}
.wheel-controls .check-label small {
  font-size: 11px;
}
.wheel-controls .field-note {
  line-height: 1.6;
}
.prize-presets {
  flex-wrap: wrap;
  gap: 8px;
}
.wheel-drawer {
  width: 440px;
  padding: 24px;
}
.roster-list {
  max-height: 60dvh;
  overflow: auto;
}
.roster-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.roster-row img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.roster-row span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.ban-small {
  margin-left: auto;
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--surface-2);
  color: var(--danger);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}
.wheel-page .result-dialog {
  border-top: 3px solid var(--wheel-accent);
  box-shadow: 0 0 70px #293e4722;
}
.wheel-page .result-dialog.is-elimination {
  border-top-color: var(--wheel-danger);
}
.wheel-page .result-dialog img {
  object-fit: cover;
  border-color: var(--wheel-accent);
}
.wheel-page .result-dialog.is-elimination #result-label {
  color: var(--danger);
}
.wheel-page .result-dialog .claim-clock {
  font-size: 12px;
}
.wheel-page dialog .button {
  min-height: 44px;
}
.button.danger {
  background: var(--danger-action);
  border-color: var(--danger-action);
  color: var(--danger-action-text);
}
.button.danger:hover:not(:disabled) {
  filter: brightness(0.92);
}
.wheel-reset-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wheel-reset {
  min-width: 180px;
  min-height: 52px;
}
.focus-view .workspace-nav,
.focus-view .site-header,
.focus-view .site-footer,
.focus-view .preview-bar {
  display: none;
}
.focus-view .workspace-layout {
  display: block;
}
.focus-view .wheel-page {
  max-width: 1600px;
  margin: auto;
  padding-top: 20px;
}
.focus-view .canvas-wrap {
  width: min(100% - 28px, max(280px, 100dvh - 440px), 780px);
}
.focus-view .wheel-page-heading {
  margin-bottom: 16px;
}
@media (max-width: 1100px) {
  .wheel-toolbar {
    grid-template-columns: 1fr auto;
  }
  .wheel-brand {
    order: -1;
    grid-column: 1/-1;
    justify-content: center;
    border-radius: 12px;
  }
}
@media (max-width: 600px) {
  .wheel-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .wheel-page-heading .button-row {
    width: 100%;
    justify-content: space-between;
  }
  .wheel-stage {
    padding: 14px 12px;
  }
  .wheel-toolbar {
    gap: 12px;
  }
  .wheel-toolbar .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .wheel-toolbar .button-row {
    gap: 5px;
  }
  .wheel-count {
    padding: 2px 5px;
  }
  .wheel-prize {
    font-size: 16px;
  }
  .canvas-wrap,
  .focus-view .canvas-wrap {
    width: calc(100% - 26px);
  }
  .wheel-metrics strong {
    font-size: 20px;
  }
  .wheel-metrics span {
    font-size: 9px;
    padding: 0 3px;
  }
  .wheel-config-dialog {
    padding: 18px;
  }
  .wheel-controls .panel {
    padding: 16px;
  }
  .wheel-dialog-head h2 {
    font-size: 19px;
  }
}
.creator-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.creator-metric {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  padding: 22px;
  background: var(--surface);
  min-width: 0;
}
.creator-metric-youtube {
  border-top-color: var(--youtube);
}
.creator-metric-twitch {
  border-top-color: var(--twitch);
}
.creator-metric-top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.creator-metric h3 {
  font-size: 16px;
  margin: 14px 0 8px;
}
.creator-metric-value {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.creator-metric footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 16px;
}
.metrics-notice p {
  margin-top: 0;
}
.metric-options {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 8px;
}
.metric-option {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.metric-option label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin: 0;
  min-width: 0;
}
.metric-option input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.metric-option small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.metric-move-controls {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.metric-move-controls[hidden] {
  display: none;
}
.metric-move-controls .button {
  padding: 8px 14px;
  min-height: 44px;
}
.metric-customizer {
  scroll-margin-top: 24px;
}
.metric-filters {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.metric-filter-fields {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}
.metric-filter-fields label {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
}
.metric-filter-fields input,
.metric-filter-fields select {
  width: 100%;
}
.metric-filters[hidden],
.metric-option[hidden],
#metric-no-results[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .creator-metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-option {
    flex-direction: column;
    align-items: stretch;
  }
  .metric-move-controls {
    margin-left: auto;
  }
}
.vault-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 32px;
}
.vault-heading h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
.vault-heading .lede {
  margin: 0;
}
.vault-list {
  display: grid;
  gap: 12px;
}
.vault-list-item {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text);
  text-decoration: none;
  margin: 0;
  transition: border-color 0.15s;
}
.vault-list-item:hover {
  border-color: var(--accent);
}
.vault-list-item > div:first-child {
  flex: 1;
  min-width: 0;
}
.vault-list-item h2 {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.vault-stock {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.vault-stock strong {
  font-size: 2rem;
  font-weight: 600;
}
.vault-stock span {
  color: var(--muted);
  font-size: 0.85rem;
}
.vault-empty {
  padding: 48px 24px;
  text-align: center;
}
.vault-filters {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.vault-inventory {
  padding: 0 24px;
}
.vault-key {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.vault-key:last-child {
  border-bottom: 0;
}
.vault-key-title {
  flex: 1;
  min-width: 120px;
}
.vault-key-title h2 {
  font-size: 1rem;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.vault-key-code {
  display: grid;
  gap: 6px;
}
.vault-key-code code,
.vault-draw code {
  white-space: nowrap;
  letter-spacing: 0.08em;
  font-size: 1rem;
}
.vault-key-code small {
  font-size: 0.72rem;
}
.vault-key-actions {
  justify-content: flex-end;
}
.vault-state {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}
.deletion-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.deletion-row > div {
  flex: 1 1 16rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.deletion-row form {
  max-width: 100%;
}
.deletion-button {
  white-space: normal;
}
.deletion-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.deletion-confirm input {
  width: auto;
  margin-top: 0.3rem;
  flex-shrink: 0;
}
.vault-form-pair {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 14px;
}
.vault-key-input {
  -webkit-text-security: disc;
  font-family: ui-monospace, monospace;
}
.vault-history {
  margin-top: 32px;
}
.vault-history summary {
  cursor: pointer;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.vault-history summary span {
  margin-left: 12px;
}
.vault-history .list-row {
  gap: 20px;
  overflow-wrap: anywhere;
}
.vault-history time {
  flex-shrink: 0;
  color: var(--muted);
}
.vault-draw {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px auto;
  max-width: 700px;
}
.vault-draw p {
  flex-basis: 100%;
  text-align: center;
  margin: 0;
}
@media (max-width: 1180px) {
  .vault-key {
    flex-wrap: wrap;
  }
  .vault-key-actions {
    margin-left: auto;
  }
  .vault-secondary {
    display: none;
  }
}
@media (max-width: 650px) {
  .vault-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .vault-inventory {
    padding: 0 16px;
  }
  .vault-key {
    gap: 14px;
  }
  .vault-key-title {
    flex: 1 1 calc(100% - 40px);
  }
  .vault-key-code {
    flex: 1 1 100%;
  }
  .vault-list-item {
    gap: 16px;
  }
  .vault-form-pair {
    grid-template-columns: 1fr;
  }
  .vault-history .list-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.wheel-keybar > label {
  flex: 1 1 13rem;
  min-width: 0;
  text-align: left;
}
.wheel-keybar select {
  width: 100%;
}
.wheel-keybar > .field-note {
  flex-basis: 100%;
  margin: 0;
}
.game-cover {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 75px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.65rem;
  text-align: center;
}
.game-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vault-game-cover {
  float: left;
  margin-right: 14px;
}
.vault-key-title {
  min-height: 75px;
}
.wheel-prize-card #prize-art {
  width: 72px;
  height: 96px;
  object-fit: contain;
  border-radius: 6px;
}
:root {
  --form-text: var(--text);
}
.contact-shell {
  max-width: 840px;
  margin: 32px auto;
  padding: 0 20px;
}
.contact-panel {
  background: var(--form-background);
  border-top: 4px solid var(--form-accent);
  color: var(--form-text);
}
.contact-panel h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: inherit;
  overflow-wrap: anywhere;
}
.contact-panel .field-note,
.contact-panel label {
  color: inherit;
}
.contact-description,
.form-response dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.contact-banner,
.contact-footer {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  margin: 20px 0;
  border-radius: var(--radius);
}
.contact-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: var(--radius);
}
.contact-question {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 16px 0;
}
.contact-question legend {
  font-weight: 700;
  padding: 0;
  overflow-wrap: anywhere;
}
.contact-choice {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0;
}
.contact-choice input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 3px;
}
.contact-choice span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.form-question-editor {
  display: grid;
  gap: 16px;
  margin: 20px 0;
  padding: 20px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form-response {
  margin: 24px 0;
}
.form-response dt {
  font-weight: 700;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.form-response dd {
  margin: 8px 0;
}
.extension-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.extension-catalog h2 {
  font-size: 1.4rem;
}
.source-editor {
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  tab-size: 2;
}
#widget-validation-report li {
  margin-block: 0.75rem;
  overflow-wrap: anywhere;
}
#widget-validation-report button.text-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}
.widget-grid {
  display: grid;
  grid-template-columns: repeat(var(--widget-columns), minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: var(--widget-gap);
  margin: 24px 0;
}
.widget-cell {
  grid-column: span var(--widget-span);
  grid-row: span var(--widget-rows);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 18px;
}
.widget-cell h3 {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.widget-frame-shell {
  position: relative;
  height: 280px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.widget-cell .widget-frame-shell {
  flex: 1;
  height: auto;
  min-height: 0;
}
.widget-frame-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--bg);
}
.widget-frame-shell iframe[hidden] {
  display: none;
}
.extension-page {
  max-width: none;
}
.extension-page-frame {
  height: max(560px, calc(100dvh - 190px));
  border-radius: var(--radius);
}
@media (max-width: 600px) {
  .extension-page-frame {
    height: max(500px, calc(100dvh - 170px));
  }
}
.widget-load-status {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  margin: 0;
  padding: 4px;
  background: var(--surface);
  pointer-events: none;
}
.widget-retry {
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.widget-editor {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: var(--radius);
  min-width: 0;
}
.widget-editor legend {
  padding: 0 8px;
  font-weight: 700;
}
.widget-grid-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.widget-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
}
.widget-add-row label {
  flex: 1;
  min-width: 160px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkbox-label input {
  width: auto;
}
@media (max-width: 900px) {
  .widget-grid {
    grid-template-columns: repeat(var(--widget-tablet-columns), minmax(0, 1fr));
  }
  .widget-cell {
    grid-column: span var(--widget-tablet-span);
  }
}
@media (max-width: 650px) {
  .widget-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .widget-cell {
    grid-column: span 1;
  }
  .widget-grid-settings {
    grid-template-columns: 1fr;
  }
  .widget-editor {
    padding: 12px;
  }
  .widget-add-row {
    align-items: stretch;
    flex-direction: column;
  }
}
.giveaway-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.giveaway-heading h1 {
  font-size: clamp(32px, 4vw, 54px);
}
.giveaway-heading h2,
.giveaway-heading p {
  margin-bottom: 10px;
}
.giveaway-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.giveaway-workflow > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 8px;
}
.giveaway-workflow span {
  color: var(--accent);
  font-size: 13px;
  font-family: monospace;
}
.giveaway-workflow small {
  color: var(--muted);
}
.giveaway-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}
.giveaway-empty {
  text-align: center;
  padding: 56px 24px;
}
.giveaway-symbol {
  color: var(--accent);
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
}
.giveaway-list-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  transition: border-color 0.15s;
}
.giveaway-list-item:hover {
  border-color: var(--accent);
}
.giveaway-list-item h2 {
  margin: 14px 0 8px;
  font-size: 25px;
}
.giveaway-list-item > div:last-child {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.giveaway-list-item strong {
  font-size: 24px;
}
.giveaway-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}
.giveaway-steps li {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--line);
  padding: 12px 6px 18px;
}
.giveaway-steps li.reached {
  border-color: var(--accent);
  color: var(--text);
}
.giveaway-steps li[aria-current] {
  font-weight: 700;
}
.giveaway-steps li span {
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.giveaway-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.giveaway-control h2 {
  font-size: 28px;
}
.giveaway-control p {
  margin-bottom: 6px;
}
.giveaway-control .button {
  white-space: nowrap;
}
.giveaway-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr);
  gap: 26px;
  align-items: start;
}
.giveaway-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 20px;
}
.giveaway-section-title {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.giveaway-section-title > span {
  color: var(--accent);
  font-family: monospace;
  font-size: 14px;
}
.giveaway-section-title h2 {
  font-size: 25px;
  margin-bottom: 6px;
}
.giveaway-section-title p {
  margin-bottom: 12px;
}
.giveaway-url-input {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.giveaway-url-input > span {
  padding-left: 14px;
  color: var(--muted);
}
.giveaway-url-input input {
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.giveaway-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.giveaway-check {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  padding: 15px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.giveaway-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  flex: none;
  accent-color: var(--accent);
}
.giveaway-check span {
  display: grid;
  gap: 6px;
}
.giveaway-check small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.giveaway-check strong {
  font-size: 13px;
}
.giveaway-field-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 14px;
}
.giveaway-reward-editor {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  margin-bottom: 14px;
}
.giveaway-reward-editor label {
  font-size: 13px;
}
.giveaway-vault-fields[hidden] {
  display: none;
}
.giveaway-save {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.giveaway-save p {
  margin: 0;
}
.giveaway-preview-wrap {
  position: sticky;
  top: 24px;
}
.giveaway-preview {
  color: var(--contest-text);
  background: var(--contest-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin: 14px 0 20px;
}
.giveaway-preview-banner {
  height: 170px;
  position: relative;
  background: linear-gradient(
    125deg,
    color-mix(in srgb, var(--contest-accent) 32%, var(--contest-bg)),
    var(--contest-bg)
  );
  display: grid;
  place-items: center;
}
.giveaway-preview-banner > span {
  color: var(--contest-accent);
  font-size: 100px;
}
.giveaway-preview-banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.giveaway-preview-body {
  padding: 26px;
}
.giveaway-preview-body .badge {
  color: var(--contest-text);
  border-color: currentColor;
  background: transparent;
}
.giveaway-preview-body > h2 {
  font-size: 30px;
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.giveaway-preview-prizes > div {
  padding: 12px 0;
  border-top: 1px solid color-mix(in srgb, var(--contest-text) 20%, transparent);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.giveaway-preview-cta {
  background: var(--contest-accent);
  color: var(--contest-button-text);
  text-align: center;
  font-weight: 700;
  border-radius: 9px;
  padding: 15px 10px;
  margin: 20px 0 14px;
}
.giveaway-preview-body small {
  font-size: 11px;
}
.giveaway-entry-list {
  margin: 20px 0;
}
.giveaway-entry-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.giveaway-entry-list span {
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.giveaway-winners article {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.giveaway-winners article > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.giveaway-winners h3,
.giveaway-winners p {
  margin-bottom: 6px;
}
.giveaway-studio > section.panel,
.giveaway-studio > details {
  margin-bottom: 24px;
}
.giveaway-contest {
  background: var(--contest-bg);
  color: var(--contest-text);
  font-family: var(--contest-font);
}
.giveaway-contest p {
  color: inherit;
}
.contest-banner {
  height: 300px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--contest-accent) 35%, var(--contest-bg)),
    var(--contest-bg)
  );
}
.contest-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contest-spark {
  position: absolute;
  right: 12%;
  top: -35px;
  font-size: 330px;
  color: var(--contest-accent);
  line-height: 1;
}
.contest-host {
  position: absolute;
  bottom: 30px;
  left: max(24px, calc((100% - 1120px) / 2));
  color: var(--text);
  background: var(--surface);
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.contest-content {
  max-width: 1170px;
  margin: 0 auto;
  padding: 44px 26px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: 64px;
}
.contest-story h1 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  margin: 20px 0;
}
.contest-title-row {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contest-mark {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}
.contest-chip {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--contest-button-text);
  background: var(--contest-accent);
  padding: 9px 12px;
  border-radius: 100px;
}
.contest-description {
  overflow-wrap: anywhere;
  margin-bottom: 36px;
  line-height: 1.8;
}
.markdown-content {
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  min-width: 0;
}
.markdown-content > :first-child {
  margin-top: 0;
}
.markdown-content > :last-child {
  margin-bottom: 0;
}
.markdown-content p {
  color: inherit;
  white-space: pre-line;
  margin: 0 0 12px;
}
.markdown-content :is(h2, h3, h4, h5, h6) {
  color: inherit;
  line-height: 1.35;
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
}
.markdown-content :is(h3, h4, h5, h6) {
  font-size: 14px;
}
.markdown-content :is(ul, ol) {
  margin: 8px 0 12px;
  padding-left: 24px;
}
.markdown-content li + li {
  margin-top: 4px;
}
.markdown-content blockquote {
  margin: 12px 0;
  border-left: 3px solid currentColor;
  padding-left: 12px;
}
.markdown-content a {
  color: inherit;
  text-decoration: underline;
}
.markdown-content code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.95em;
}
.markdown-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 10px;
}
.markdown-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}
.giveaway-contest .eyebrow {
  color: inherit;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.contest-prizes h2,
.contest-results h2 {
  font-size: 30px;
  margin: 12px 0 22px;
}
.contest-prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px;
}
.contest-prize {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--contest-text) 25%, transparent);
  border-radius: 14px;
}
.contest-prize > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.contest-prize-placeholder {
  display: grid;
  place-items: center;
  height: 130px;
  font-size: 64px;
  color: var(--contest-accent);
  background: color-mix(in srgb, var(--contest-text) 5%, transparent);
}
.contest-prize > div {
  padding: 20px;
}
.contest-prize h3 {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.contest-prize p {
  margin: 0;
  font-size: 12px;
}
.contest-entry-card {
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--contest-text) 25%, transparent);
  border-radius: 18px;
}
.contest-small-spark {
  font-size: 38px;
  color: var(--contest-accent);
  display: block;
  margin-bottom: 18px;
}
.contest-entry h2 {
  font-size: 30px;
}
.contest-entry p {
  font-size: 13px;
}
.contest-count {
  border-bottom: 1px solid color-mix(in srgb, var(--contest-text) 20%, transparent);
  padding-bottom: 18px;
}
.contest-count strong {
  font-size: 30px;
  margin-right: 6px;
}
.contest-entry-buttons {
  display: grid;
  gap: 12px;
}
.contest-entry .button {
  width: 100%;
  white-space: normal;
}
.contest-primary {
  background: var(--contest-accent);
  color: var(--contest-button-text);
  border-color: var(--contest-accent);
}
.contest-primary:hover {
  filter: brightness(0.94);
}
.giveaway-contest .button.secondary {
  color: inherit;
  background: transparent;
  border-color: color-mix(in srgb, var(--contest-text) 35%, transparent);
}
.giveaway-contest :focus-visible {
  outline-color: var(--contest-text);
}
.contest-entry-note {
  margin-top: 20px;
  font-size: 11px !important;
}
.contest-provider-unavailable {
  font-size: 12px;
  padding: 10px 0;
}
.contest-host-note {
  margin-top: 18px;
  text-align: center;
  font-size: 11px !important;
}
.contest-confirmation {
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 10px;
}
.contest-my-prize {
  margin-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--contest-text) 25%, transparent);
  padding-top: 22px;
}
.contest-results {
  margin-top: 36px;
}
.contest-results article {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid color-mix(in srgb, var(--contest-text) 25%, transparent);
}
.contest-results article > span {
  color: var(--contest-accent);
  font-size: 30px;
}
.contest-results h3 {
  overflow-wrap: anywhere;
  font-size: 22px;
  margin: 0 0 8px;
}
.contest-results p {
  margin: 0;
  font-size: 13px;
}
.contest-sharing {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid color-mix(in srgb, var(--contest-text) 25%, transparent);
}
.contest-sharing > span {
  display: block;
  font-size: 12px;
  margin-bottom: 14px;
}
.contest-footer-image {
  display: block;
  max-height: 260px;
  width: 100%;
  object-fit: cover;
}
@media (max-width: 1100px) {
  .giveaway-editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .giveaway-preview-wrap {
    position: static;
    max-width: 440px;
  }
  .giveaway-platforms {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .giveaway-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .giveaway-control {
    align-items: flex-start;
    flex-direction: column;
  }
  .giveaway-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .giveaway-steps li {
    gap: 6px;
    font-size: 11px;
    flex-direction: column;
  }
  .giveaway-field-pair {
    grid-template-columns: 1fr;
  }
  .giveaway-save {
    flex-direction: column;
    align-items: stretch;
  }
  .giveaway-winners article {
    flex-wrap: wrap;
  }
  .contest-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 30px 20px 48px;
  }
  .contest-banner {
    height: 190px;
  }
  .contest-spark {
    font-size: 250px;
    right: 5%;
  }
  .contest-prize > img {
    height: 130px;
  }
  .contest-prize > div {
    padding: 15px;
  }
  .contest-prize h3 {
    font-size: 17px;
  }
  .contest-entry-card {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .giveaway-list-item {
    transition: none;
  }
}
.wordmark-suffix {
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -1px;
}
.wordmark .brand-icon {
  width: 40px;
  height: 40px;
  flex: none;
}
.wordmark .brand-name {
  width: 128px;
  height: auto;
  margin: -14px 0;
  flex: none;
}
.site-footer .wordmark .brand-name {
  width: 96px;
  margin: -10px 0;
}
.home-page {
  max-width: 1040px;
  padding: 22px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid #c5d1d7;
  border-top: 0;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  gap: 20px;
  align-items: start;
}
.directory-heading {
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 12px;
  background: linear-gradient(#f2f6f9, #e4edf3);
  border-bottom: 1px solid #c8d6df;
  min-height: 45px;
}
.directory-heading h2 {
  font:
    700 13px Tahoma,
    Verdana,
    sans-serif;
  letter-spacing: 0;
  margin: 0;
  color: #3d586a;
}
.directory-heading p {
  margin: 0;
  font-size: 11px;
}
.directory-heading .search-box {
  width: 160px;
  border-radius: 5px;
}
.home-sidebar {
  padding: 0;
}
.home-sidebar h2 {
  font:
    700 12px Tahoma,
    Verdana,
    sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  margin: -14px -14px 14px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#f9faf6, #edf1e8);
  border-radius: 7px 7px 0 0;
  color: #486048;
}
.home-sidebar p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.home-sidebar .text-link {
  font-size: 11px;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.soft-sage {
  background: #f9fbf6;
  border-color: #ccd9c4;
}
.soft-peach {
  background: #fffbf3;
  border-color: #dfd5bf;
}
.preview-bar {
  background: #f3eddc;
  color: #665c43;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #e4dcc8;
}
.workspace-main {
  min-width: 0;
  padding: 28px 24px 38px;
}
.workspace-nav a.selected {
  box-shadow: inset 3px 0#91adbb;
}
.dashboard-feature {
  background: var(--sage);
}
.dashboard-feature .mini-wheel {
  opacity: 0.35;
}
.auth-page {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 36px;
  max-width: 480px;
  margin: 60px auto;
}
.auth-page h1 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
}
a:hover {
  text-decoration-thickness: 1px;
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--accent);
}
.person-page .eyebrow {
  color: var(--muted);
}
@media (min-width: 1500px) {
  .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .home-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .workspace-layout {
    grid-template-columns: 170px minmax(0, 1fr);
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer > div {
    margin-left: 0;
    flex-wrap: wrap;
  }
  .workspace-nav {
    padding: 24px 12px;
  }
}
@media (max-width: 650px) {
  .site-header {
    height: auto;
    min-height: 110px;
    padding: 18px 20px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
  }
  .site-header nav .nav-cta {
    padding: 9px 12px;
  }
  .wordmark {
    font-size: 27px;
  }
  .home-page {
    padding: 20px 16px;
  }
  .home-columns {
    gap: 22px;
  }
  .directory-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .directory-heading .search-box {
    width: 100%;
  }
  .creator-grid {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    grid-template-columns: 1fr;
  }
  .preview-bar {
    font-size: 9px;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
  }
  .workspace-layout {
    display: block;
  }
  .workspace-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .workspace-nav > a {
    padding: 9px 11px;
  }
  .workspace-label,
  .workspace-account {
    display: none;
  }
  .workspace-main {
    padding: 26px 16px;
  }
  .auth-page {
    margin: 26px 16px;
    padding: 28px 22px;
  }
  .site-footer {
    padding: 24px 20px;
    gap: 16px;
  }
  .site-footer > div {
    gap: 16px;
    font-size: 10px;
  }
  .section {
    padding: 30px 16px;
  }
  .button {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.site-description {
  padding: 16px 20px;
  font-size: 11px;
  color: #697c83;
}
.site-header nav > a {
  display: block;
  padding: 10px 16px;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}
.card-content {
  padding: 14px 16px;
}
.card-tagline {
  margin: 6px 0 8px;
}
.creator-card .channel-metrics {
  margin: 4px 0;
}
.creator-card .card-profile-link {
  margin-top: 8px;
}
.site-header nav > a.active {
  background: #fff;
  border-color: #c8d6df;
  color: #304d5e;
}
.home-intro {
  padding: 0 0 20px;
}
.home-intro h1 {
  font:
    400 23px Tahoma,
    Verdana,
    sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 9px;
  color: #3d6175;
}
.home-intro p {
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
}
.directory-panel {
  min-width: 0;
  border: 1px solid #c8d6df;
  border-radius: 8px;
  overflow: hidden;
}
.directory-count {
  font-weight: 400;
  color: #647780;
}
.creator-card:last-child {
  border-bottom: 0;
}
.creator-card .channel-stats {
  padding: 0;
  margin: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.creator-card .channel-stats-heading {
  display: none;
}
.creator-card .channel-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 8px 0;
}
.creator-card .channel-metrics > div {
  flex-direction: row;
  gap: 5px;
  align-items: baseline;
}
.creator-card .channel-metrics dt {
  font-size: 11px;
}
.creator-card .channel-metrics dd {
  font-size: 12px;
  font-weight: 700;
  order: 0;
  letter-spacing: 0;
  color: var(--text);
}
.creator-card .channel-stats-footer {
  border: 0;
  padding: 0;
  font-size: 10px;
  gap: 5px 12px;
}
.card-profile-link {
  font-size: 11px;
  margin-top: 12px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-sidebar .panel {
  padding: 14px;
  margin-bottom: 16px;
}
.home-sidebar .soft-peach h2 {
  background: linear-gradient(#fffdf6, #f5edd8);
  color: #796648;
  border-color: #dfd5bf;
}
.home-sidebar .panel:not(.soft-peach):not(.soft-sage) h2 {
  background: linear-gradient(#f9fbfc, #e7eff3);
  color: #3e6075;
}
.portal-links {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.portal-links li + li {
  border-top: 1px solid #e7ede2;
}
.portal-links a {
  display: block;
  padding: 7px 0;
  font-size: 12px;
  color: #476677;
}
.portal-links a:hover {
  text-decoration: underline;
}
.panel-note {
  font-size: 10px !important;
  color: #687a6c;
}
.text-link {
  color: var(--accent);
}
.badge {
  border-radius: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.empty-state {
  padding: 30px 18px;
  border: 0;
  border-radius: 0;
}
.preview-bar {
  font:
    11px Tahoma,
    Verdana,
    sans-serif;
  letter-spacing: 0;
  padding: 6px 12px;
}
.feature-tile h2 {
  font-size: 26px;
}
.mini-wheel {
  display: none;
}
.wheel-page h1 {
  font-size: 25px;
}
.wheel-stage {
  border-radius: 8px;
}
.canvas-wrap {
  width: min(100% - 28px, 54vh, 550px);
}
.wheel-item-images {
  position: absolute;
  inset: 6px;
  pointer-events: none;
}
.wheel-item-images img {
  position: absolute;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.wheel-controls #preconfigured-section {
  grid-column: 1 / -1;
}
.wheel-item-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 80px minmax(140px, 2fr) auto;
  gap: 8px;
  align-items: end;
  margin-block: 10px;
}
.wheel-item-row label {
  min-width: 0;
}
.wheel-item-row input {
  width: 100%;
}
@media (max-width: 600px) {
  .wheel-item-row {
    grid-template-columns: minmax(0, 1fr) 70px;
  }
  .wheel-item-row label:nth-child(3) {
    grid-column: 1 / -1;
  }
  .wheel-item-images img {
    width: 26px;
    height: 26px;
  }
}
.wheel-brand {
  border-radius: 7px;
}
.wheel-toolbar .button {
  border-radius: 6px;
}
.wheel-toolbar {
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.wheel-brand {
  grid-row: 1;
  grid-column: 1/-1;
  justify-self: center;
}
.wheel-toolbar > .button-row {
  grid-row: 2;
}
.wheel-toolbar > button {
  grid-row: 2;
  grid-column: 2;
}
.wheel-prize-card {
  border-radius: 7px;
}
.wheel-metrics {
  border-radius: 7px;
}
.panel h2 {
  letter-spacing: 0;
}
.workspace-main .eyebrow {
  margin-bottom: 10px;
}
.section-heading {
  gap: 16px;
  margin-bottom: 20px;
}
.site-footer > span {
  font-size: 10px;
}
@media (max-width: 900px) {
  .home-columns {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .home-sidebar {
    display: block;
  }
  .workspace-layout {
    grid-template-columns: 155px minmax(0, 1fr);
  }
}
@media (max-width: 650px) {
  .site-header {
    margin: 10px 10px 0;
    min-height: 0;
    padding: 0;
    gap: 0;
  }
  .site-description {
    display: none;
  }
  .wordmark {
    padding: 15px 16px;
    font-size: 25px;
  }
  .site-header nav {
    width: 100%;
    gap: 0;
    justify-content: flex-start;
    padding: 0 3px;
    font-size: 11px;
  }
  .site-header nav > a {
    padding: 10px;
  }
  .site-header nav .nav-cta {
    padding: 10px 7px;
    font-size: 11px;
  }
  .home-page {
    margin: 0 10px;
    padding: 18px 12px;
  }
  .home-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-intro h1 {
    font-size: 21px;
  }
  .directory-heading {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }
  .directory-heading h2 {
    font-size: 12px;
  }
  .directory-heading .search-box {
    width: 130px;
    padding: 0 8px;
  }
  .home-sidebar {
    display: block;
  }
  .creator-grid {
    display: block;
  }
  .card-content {
    padding: 15px;
  }
  .site-footer {
    margin: 0 10px 18px;
    padding: 14px;
    gap: 12px;
  }
  .site-footer > div {
    font-size: 10px;
    gap: 14px;
  }
  .workspace-layout {
    display: block;
    margin: 0 10px;
  }
  .workspace-nav {
    padding: 10px;
    gap: 2px;
  }
  .workspace-main {
    padding: 22px 12px;
  }
  .workspace-main h1 {
    font-size: 25px;
  }
  .section {
    margin: 0 10px;
    padding: 22px 14px;
  }
  .wheel-page {
    padding: 22px 10px;
  }
  .home-sidebar .panel {
    margin-bottom: 14px;
  }
  .site-footer .wordmark {
    font-size: 16px;
  }
  .auth-page {
    margin: 24px 12px;
  }
  .preview-bar {
    font-size: 10px;
  }
}

@media (max-width: 650px) {
  .site-header nav > a:first-child {
    display: block;
  }
  .creator-identity h3 {
    font-size: 15px;
  }
}
/* Account roles use the same compact portal panels and native controls. */
.registration-choices {
  display: grid;
  gap: 1rem;
}
.form-stack label.role-choice {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.role-choice input {
  width: auto;
}
.verified-badge {
  color: #315848;
  background: #e7eee2;
  border: 1px solid #a8bdac;
}
.account-request {
  align-items: start;
  gap: 1rem;
  flex-wrap: wrap;
}
.account-request > div,
.account-request form {
  flex: 1 1 240px;
  min-width: 0;
}
.request-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.im-page {
  min-width: 0;
}
.im-page .button-row {
  gap: 0.75rem;
  margin-block: 0.8rem;
  flex-wrap: wrap;
}
.im-inbox {
  list-style: none;
  padding: 0;
}
.im-inbox li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.im-transcript {
  margin-block: 1rem;
}
.im-transcript ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.im-message {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 0.75rem;
  margin: 0.65rem 1rem 0.65rem 0;
}
.im-message.im-own {
  background: #edf3ef;
  margin-right: 0;
  margin-left: 1rem;
}
.im-message-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.8rem;
}
.im-message-meta time {
  color: var(--muted);
}
.im-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-block: 0.65rem;
}
.im-page h2,
.im-page strong {
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .im-message,
  .im-message.im-own {
    margin-inline: 0;
  }
}
/* Fair draw certificates: long hashes wrap; verification reads as a plain checklist. */
.fair-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}
.fair-facts dt,
.fair-proof dt {
  color: var(--muted);
  font-size: 11px;
}
.fair-facts dd {
  margin: 3px 0 0;
  font-weight: 700;
}
.fair-proof {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 8px 16px;
  margin: 0;
}
.fair-proof dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.proof-hash,
.fair-code {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.fair-code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
}
.fair-steps {
  margin: 0 0 8px;
  padding-left: 20px;
  line-height: 1.6;
}
.fair-pool {
  line-height: 2;
  overflow-wrap: anywhere;
}
.fair-checks {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  line-height: 1.7;
}
.fair-checks .is-ok {
  color: #365c46;
}
.fair-checks .is-failed {
  color: #8a3445;
}
.fair-checks .is-pending {
  color: var(--muted);
}
.fair-line {
  margin: 4px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .fair-proof {
    grid-template-columns: 1fr;
  }
}
/* Channel proofs: one compact row per link; long links wrap. */
.proof-row {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.proof-row:last-child {
  border-bottom: 0;
}
.proof-row h3 {
  font-size: 15px;
  margin: 0;
  overflow-wrap: anywhere;
}
.proof-link {
  width: 100%;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 12px;
}
/* Bug flags: chat text wraps inside the otherwise single-line tables. */
.bug-text {
  white-space: normal;
  min-width: 180px;
  overflow-wrap: anywhere;
}
.page-share {
  max-width: 1040px;
  margin-inline: auto;
  padding: 12px 22px;
  align-items: center;
  background: var(--surface);
  border: 1px solid #c5d1d7;
  border-top-color: var(--line);
}
.page-share-fallback {
  width: 100%;
  max-width: 32rem;
}
@media (max-width: 650px) {
  .page-share {
    margin-inline: 10px;
    padding-inline: 14px;
  }
}
/* PWNDf: compact server-rendered forum, shared portal typography and colors. */
.forum-page {
  max-width: 1100px;
  margin-inline: auto;
  padding: 24px;
  min-width: 0;
}
.forum-nav {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9e1e2;
}
.forum-category {
  border: 1px solid #cbd7db;
  border-radius: 6px;
  overflow: hidden;
  margin: 22px 0;
  background: #fff;
}
.forum-category > h2 {
  font-size: 1.05rem;
  padding: 11px 15px;
  background: #e6eef3;
  margin: 0;
  border-bottom: 1px solid #cbd7db;
}
.forum-category > p {
  padding-inline: 15px;
}
.forum-board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid #e4e9e9;
  min-width: 0;
}
.forum-board-row:last-child {
  border-bottom: 0;
}
.forum-board-row h3 {
  font-size: 1rem;
  margin: 0 0 5px;
}
.forum-board-row p {
  margin: 0;
}
.forum-board-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.forum-post {
  border: 1px solid #ccd7da;
  border-radius: 6px;
  margin: 18px 0;
  padding: 18px;
  background: #fff;
  scroll-margin-top: 15px;
  min-width: 0;
}
.forum-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.forum-post-author > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.forum-permalink {
  margin-left: auto;
  align-self: flex-start;
}
.forum-avatar {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bbcbd0;
  color: #35596f;
  background: #e6eef3;
}
.forum-avatar svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.forum-color-sage {
  background: #e6eee6;
  color: #3b6353;
}
.forum-color-rose {
  background: #f3e6e5;
  color: #804d52;
}
.forum-color-lavender {
  background: #eae6f0;
  color: #635080;
}
.forum-color-sand {
  background: #f3eedf;
  color: #786335;
}
.forum-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.forum-url {
  overflow-wrap: anywhere;
}
.forum-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.forum-tools {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #e0e6e7;
}
.forum-tools summary {
  cursor: pointer;
}
.forum-tools form {
  padding: 12px 0;
}
.forum-suppressed {
  border-color: #aa6969;
  background: #fff5f2;
}
.forum-shape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.forum-shape-choice {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  border: 1px solid #ccd7da;
  border-radius: 5px;
  padding: 12px;
}
.forum-shape-choice:has(input:checked) {
  background: #e8f0e9;
  border-color: #6b8b7e;
}
.forum-shape-choice input {
  width: auto;
}
.forum-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.forum-profile h1 {
  margin-top: 0;
}
.forum-share {
  margin-block: 16px;
}
.forum-copy-fallback {
  max-width: 100%;
}
@media (max-width: 640px) {
  .forum-page {
    padding: 16px 12px;
  }
  .forum-post {
    padding: 12px;
  }
  .forum-board-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }
  .forum-profile {
    flex-direction: column;
  }
  .forum-shape-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .forum-avatar {
    width: 44px;
    height: 44px;
  }
  .forum-avatar svg {
    width: 34px;
    height: 34px;
  }
  .forum-post-author {
    align-items: flex-start;
  }
  .forum-badges {
    font-size: 0.7rem;
  }
}

/* Centrally managed bundle identity and private decision history. */
.badge.admin-bundle-badge {
  background: #eef2df;
  color: #405730;
  border: 1px solid #b9c4a6;
  font-weight: 700;
}
.admin-bundle-event {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

/* Private invitation management and the deliberately compact onboarding page. */
.invite-admin h1,
.invite-public h1 {
  font-size: 23px;
  overflow-wrap: anywhere;
}
.invite-admin .panel h2,
.invite-public .panel h2 {
  font-size: 16px;
}
.invite-admin fieldset {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  min-width: 0;
  background: var(--surface-2);
}
.invite-admin fieldset label {
  margin-block: 10px;
}
.invite-admin legend {
  font-size: 12px;
  padding-inline: 5px;
}
.invite-public {
  max-width: 740px;
  margin-inline: auto;
}
.invite-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.invite-admin .list-row {
  flex-wrap: wrap;
  gap: 10px;
}
.invite-admin .list-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.invite-admin input[readonly] {
  font-family: monospace;
  font-size: 12px;
}

/* Meme: scoped browser editor using the portal's shared colors and native fonts. */
.meme-page {
  max-width: 1220px;
  margin-inline: auto;
  padding: 22px 16px;
}
.meme-page [hidden] {
  display: none !important;
}
.meme-heading h1 {
  font-size: 24px;
  margin: 0 0 6px;
}
.meme-heading p {
  margin: 0;
}
.meme-settings h2 {
  overflow-wrap: anywhere;
}
.meme-status {
  min-height: 20px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.meme-error {
  color: var(--danger);
  font-weight: 700;
}
.meme-controls {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.meme-page .panel {
  padding: 14px;
  border-radius: 5px;
}
.meme-page .panel h2 {
  font-size: 15px;
  margin: 0;
}
.meme-page .button {
  font-size: 12px;
  padding: 7px 10px;
  min-height: 34px;
}
.meme-page .button:disabled {
  opacity: 0.55;
  cursor: default;
}
.meme-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.meme-toolbar .button-row,
.meme-page .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.meme-panel-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
  padding: 0 0 4px;
  overflow-x: auto;
}
.meme-panel-list li {
  flex: 0 0 116px;
  min-width: 0;
}
.meme-panel-list button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 8px;
  border-radius: 4px;
  color: var(--text);
  cursor: pointer;
}
.meme-panel-list button[aria-pressed='true'] {
  background: var(--sage);
  border-color: var(--accent);
}
.meme-panel-list strong {
  display: block;
  color: var(--accent);
  font-size: 15px;
}
.meme-panel-list span {
  display: block;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 4px 0;
}
.meme-panel-list small {
  font-size: 10px;
  color: var(--muted);
}
.meme-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: start;
}
.meme-studio > * {
  min-width: 0;
}
.meme-preview-panel {
  position: sticky;
  top: 12px;
}
.meme-preview-stage {
  background: var(--surface-2);
  border: 1px solid var(--line);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px;
}
.meme-preview-stage[aria-busy='true'] {
  border-color: var(--accent);
}
.meme-preview-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
}
.meme-preview-stage p {
  padding: 24px;
  text-align: center;
}
.meme-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.meme-tabs button {
  font: inherit;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 5px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
}
.meme-tabs button[aria-selected='true'] {
  background: var(--accent-soft);
  border-color: var(--accent);
  font-weight: 700;
}
.meme-page label {
  font-size: 12px;
  gap: 4px;
  margin: 9px 0;
}
.meme-page input,
.meme-page textarea,
.meme-page select {
  font-size: 12px;
  padding: 7px;
  border-radius: 3px;
  min-width: 0;
}
.meme-page textarea {
  min-height: 58px;
}
.meme-page input[type='checkbox'] {
  width: auto;
  margin: 0;
}
.meme-page input[type='range'] {
  padding: 0;
  cursor: pointer;
}
.meme-page input[type='color'] {
  height: 32px;
  padding: 3px;
  cursor: pointer;
}
.meme-page .field-note {
  font-size: 11px;
  line-height: 1.5;
  margin: 7px 0;
}
.meme-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.meme-fields label {
  min-width: 0;
}
.meme-fields output,
.meme-page output {
  font-size: 11px;
  color: var(--muted);
}
.meme-checks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.meme-checks label {
  flex-direction: row;
  align-items: center;
}
.meme-link-row {
  display: flex;
  gap: 6px;
}
.meme-link-row input {
  flex: 1;
  width: 0;
}
.meme-group {
  margin: 12px 0;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 4px;
  padding: 8px 10px;
  min-width: 0;
}
.meme-group legend {
  padding: 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .meme-studio {
    grid-template-columns: minmax(0, 1fr);
  }
  .meme-preview-panel {
    position: static;
  }
  .meme-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .meme-page {
    padding: 16px 10px;
  }
  .meme-page .panel {
    padding: 10px;
  }
  .meme-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .meme-preview-stage {
    min-height: 180px;
    padding: 4px;
  }
  .meme-toolbar .button-row {
    gap: 4px;
  }
}
.contractors-page {
  max-width: 1040px;
  margin-inline: auto;
  min-width: 0;
}
.contractor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contractor-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
  flex: 1 1 260px;
}
.contractor-identity > div {
  min-width: 0;
}
.contractor-identity h1,
.contractor-identity h3 {
  margin: 0 0 8px;
}
.contractor-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  flex-shrink: 0;
}
.contractor-summary {
  flex: 0 1 280px;
}
.contractor-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.contractor-identity p {
  overflow-wrap: anywhere;
}

/* Media Kit keeps creator colors and fonts within its own sheet. Values are validated tokens. */
.mk-page h1 {
  margin-bottom: 4px;
}
.mk {
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--mk-radius);
  background: var(--mk-page);
  color: var(--mk-ink);
  font-family: var(--mk-body);
  font-size: 15px;
  line-height: 1.5;
}
/* Site-wide element colors and type stay outside the creator's sheet. */
.mk :where(p, h2, h3, li, blockquote, figcaption, footer, td, th, summary, strong, span, a) {
  color: inherit;
  letter-spacing: inherit;
}
.mk :where(h2, h3) {
  font-family: inherit;
}
.mk .mk-icon {
  flex: none;
  fill: currentColor;
}
.mk-row {
  display: flex;
  background: var(--mk-page);
}
.mk-bg-surface {
  background: var(--mk-surface);
}
.mk-bg-alternate {
  background: var(--mk-alternate);
}
.mk-bg-dark {
  --mk-ink: var(--mk-onDark);
  --mk-muted: var(--mk-onDark);
  background: var(--mk-dark);
  color: var(--mk-onDark);
}
.mk-bg-accent {
  --mk-ink: var(--mk-onAccent);
  --mk-muted: var(--mk-onAccent);
  background: var(--mk-accent);
  color: var(--mk-onAccent);
}
.mk-bg-accent .mk-panel {
  --mk-accent: var(--mk-onAccent);
}
.mk-side {
  display: flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: var(--mk-accent);
  color: var(--mk-onAccent);
  font: 700 21px/1 var(--mk-heading);
  letter-spacing: calc(var(--mk-tracking) + 2px);
}
.mk-side span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.mk-bg-accent .mk-side {
  background: var(--mk-dark);
  color: var(--mk-onDark);
}
.mk-row-body {
  flex: 1;
  min-width: 0;
  padding: 28px;
}
.mk-compact .mk-row-body {
  padding: 20px;
}
.mk-bleed .mk-row-body {
  padding: 0;
}
.mk-row-heading {
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--mk-accent);
  font: 700 22px/1.2 var(--mk-heading);
  letter-spacing: max(1px, var(--mk-tracking));
}
.mk-columns {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 40px;
}
.mk-span-3 {
  grid-column: span 3;
}
.mk-span-4 {
  grid-column: span 4;
}
.mk-span-6 {
  grid-column: span 6;
}
.mk-span-8 {
  grid-column: span 8;
}
.mk-span-9 {
  grid-column: span 9;
}
.mk-span-12 {
  grid-column: span 12;
}
.mk-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.mk-dividers > .mk-col + .mk-col::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  width: 1px;
  background: var(--mk-rule);
}
.mk-col:has(> .mk-stat:only-child),
.mk-col:has(> .mk-quote:only-child) {
  justify-content: center;
}
.mk-heading {
  margin: 0 0 12px;
  font: 700 19px/1.2 var(--mk-heading);
  letter-spacing: var(--mk-tracking);
}
.mk-interests .mk-heading {
  color: var(--mk-accent);
}
.mk-quote .mk-heading,
.mk-platform .mk-heading,
.mk-pillars .mk-heading {
  text-align: center;
}
.mk-upper .mk-eyebrow,
.mk-upper .mk-title,
.mk-upper .mk-subtitle,
.mk-upper .mk-heading,
.mk-upper .mk-row-heading,
.mk-upper .mk-side,
.mk-upper .mk-figure-label,
.mk-upper .mk-sublabel,
.mk-upper .mk-badge,
.mk-upper .mk-highlight span,
.mk-upper .mk-genders span,
.mk-upper .mk-donut figcaption span,
.mk-upper .mk-pillar-list strong,
.mk-upper .mk-interests .mk-items span {
  text-transform: uppercase;
}
.mk-header-inner {
  position: relative;
  display: flex;
}
.mk-with-photo {
  min-height: 520px;
}
.mk-header-text {
  position: relative;
  z-index: 1;
  flex: 0 0 56%;
  box-sizing: border-box;
  padding: 56px;
}
.mk-header-inner:not(.mk-with-photo) .mk-header-text {
  flex: 1;
}
.mk-layout-centered .mk-header-text {
  text-align: center;
}
.mk-layout-photo-left {
  flex-direction: row-reverse;
}
.mk-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mk-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.mk-opacity-5 {
  opacity: 0.05;
}
.mk-opacity-10 {
  opacity: 0.1;
}
.mk-opacity-15 {
  opacity: 0.15;
}
.mk-opacity-20 {
  opacity: 0.2;
}
.mk-opacity-25 {
  opacity: 0.25;
}
.mk-opacity-30 {
  opacity: 0.3;
}
.mk-opacity-35 {
  opacity: 0.35;
}
.mk-opacity-40 {
  opacity: 0.4;
}
.mk-photo-area {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.mk-shape {
  position: absolute;
  inset: 0;
  background-color: var(--mk-accent);
}
.mk-shape-diagonal {
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 72% 100%);
}
.mk-layout-photo-left .mk-shape-diagonal {
  clip-path: polygon(0 0, 58% 0, 28% 100%, 0 100%);
}
.mk-shape-band {
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 62% 100%);
}
.mk-layout-photo-left .mk-shape-band {
  clip-path: polygon(0 0, 38% 0, 38% 100%, 0 100%);
}
.mk-shape-circle {
  clip-path: circle(44% at 50% 50%);
}
.mk-pattern-dots {
  background-image: radial-gradient(
    color-mix(in srgb, var(--mk-onAccent) 22%, transparent) 2.5px,
    transparent 3px
  );
  background-size: 18px 18px;
}
.mk-pattern-stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--mk-onAccent) 22%, transparent) 0 2px,
    transparent 2px 11px
  );
}
.mk-pattern-grid {
  background-image:
    linear-gradient(color-mix(in srgb, var(--mk-onAccent) 22%, transparent) 2px, transparent 2px),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--mk-onAccent) 22%, transparent) 2px,
      transparent 2px
    );
  background-size: 28px 28px;
}
.mk-photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mk-photo-frame.mk-mask-rounded,
.mk-photo-frame.mk-mask-circle {
  width: min(82%, 440px);
  height: auto;
  aspect-ratio: 1;
  margin: auto;
  border-radius: 24px;
}
.mk-photo-frame.mk-mask-circle {
  border-radius: 50%;
}
.mk-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-monogram {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: 56px;
  color: var(--mk-ink);
  font: 700 44px/1 var(--mk-display);
}
img.mk-monogram {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.mk-layout-photo-left .mk-monogram {
  right: auto;
  left: 56px;
}
.mk-monogram.mk-on-accent {
  color: var(--mk-onAccent);
}
.mk-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font: 700 14px/1.3 var(--mk-heading);
  letter-spacing: var(--mk-tracking);
}
.mk-layout-centered .mk-eyebrow {
  justify-content: center;
}
.mk-eyebrow .mk-icon {
  color: var(--mk-accent);
}
.mk-title {
  margin: 0;
  font: 700 clamp(44px, 8vw, 112px)/0.95 var(--mk-display);
  overflow-wrap: anywhere;
}
.mk-rule {
  display: block;
  width: 72px;
  height: 5px;
  margin: 18px 0;
  background: var(--mk-accent);
}
.mk-layout-centered .mk-rule {
  margin-inline: auto;
}
.mk-subtitle {
  margin: 0 0 14px;
  color: var(--mk-accent);
  font: 700 clamp(20px, 3vw, 32px)/1.1 var(--mk-heading);
  letter-spacing: var(--mk-tracking);
}
.mk-bio {
  max-width: 40em;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.mk-layout-centered .mk-bio {
  margin-inline: auto;
}
.mk-avatar {
  width: 128px;
  height: 128px;
  margin-bottom: 16px;
  border-radius: 50%;
  object-fit: cover;
}
.mk-stat-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.mk-stat-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 84px;
  height: 84px;
  box-sizing: border-box;
  color: var(--mk-accent);
}
.mk-icon-circle {
  border: 3px solid var(--mk-accent);
  border-radius: 50%;
}
.mk-figure {
  margin: 0;
  font: 700 68px/1 var(--mk-display);
}
.mk-platform .mk-figure-large {
  font-size: 60px;
}
.mk-figure-small {
  font-size: 30px;
}
.mk-marker {
  margin-left: 3px;
  color: var(--mk-muted);
  font-family: var(--mk-body);
  font-size: 0.32em;
  vertical-align: super;
}
.mk-figure-label {
  margin: 6px 0 0;
  color: var(--mk-accent);
  font: 700 21px/1.2 var(--mk-heading);
  letter-spacing: var(--mk-tracking);
}
.mk-platform .mk-figure-large + .mk-figure-label {
  font-size: 19px;
}
.mk-figure-small + .mk-figure-label {
  color: var(--mk-muted);
  font-size: 11px;
}
.mk-sublabel {
  margin: 4px 0 0;
  color: var(--mk-muted);
  font-size: 12px;
  letter-spacing: var(--mk-tracking);
}
.mk-note {
  margin: 4px 0 0;
  color: var(--mk-muted);
  font-size: 11px;
}
.mk-quote-inner {
  margin: 0;
  text-align: center;
  font: 700 22px/1.4 var(--mk-heading);
}
.mk-quote-inner::before {
  content: '\201C';
  display: block;
  color: var(--mk-accent);
  font: 700 56px/0.8 var(--mk-display);
}
.mk-quote-inner p {
  margin: 0;
}
.mk-quote-inner footer {
  margin-top: 8px;
  color: var(--mk-muted);
  font: 400 13px/1.4 var(--mk-body);
}
.mk-quote-inner .mk-icon {
  margin-top: 12px;
  color: var(--mk-accent);
}
.mk-platform {
  text-align: center;
}
.mk-platform-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font: 700 28px/1 var(--mk-heading);
}
.mk-handle {
  margin: 6px 0 4px;
  color: var(--mk-muted);
  font-size: 14px;
}
.mk-secondary {
  display: flex;
  margin: 14px 12% 0;
  padding-top: 14px;
  border-top: 1px solid var(--mk-rule);
}
.mk-secondary > div {
  flex: 1;
}
.mk-secondary > div + div {
  border-left: 1px solid var(--mk-rule);
}
.mk-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 20px;
  border-radius: 15px;
  background: var(--mk-badge);
  color: var(--mk-onBadge);
  font: 700 13px/1.4 var(--mk-heading);
  letter-spacing: var(--mk-tracking);
}
.mk-badge.mk-badge-brand {
  background: var(--mk-brand);
  color: #ffffff;
}
.mk-geo-donut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.mk-donut {
  position: relative;
  flex: none;
  width: 240px;
  height: 240px;
  margin: 0;
}
.mk-donut svg {
  display: block;
  width: 240px;
  height: 240px;
}
.mk-donut figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px;
  text-align: center;
}
.mk-donut figcaption strong {
  font: 700 38px/1 var(--mk-display);
}
.mk-donut figcaption span {
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--mk-tracking);
}
.mk-legend {
  display: grid;
  flex: 1;
  gap: 8px;
  min-width: 180px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-legend li {
  display: grid;
  grid-template-columns: 14px 52px 1fr;
  align-items: center;
  gap: 10px;
}
.mk-legend strong {
  font: 700 16px/1.2 var(--mk-heading);
}
.mk-legend .mk-bar {
  grid-column: 1 / -1;
}
.mk-bar {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
}
.mk-table {
  margin-top: 10px;
  font-size: 13px;
}
.mk-table summary {
  color: var(--mk-muted);
  cursor: pointer;
}
.mk-table table {
  border-collapse: collapse;
}
.mk-table td,
.mk-table th {
  padding: 2px 12px 2px 0;
  text-align: left;
}
.mk-demo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.mk-highlight {
  margin: 0;
}
.mk-highlight strong {
  display: block;
  color: var(--mk-accent);
  font: 700 72px/1 var(--mk-display);
}
.mk-highlight span {
  font-size: 15px;
  letter-spacing: var(--mk-tracking);
}
.mk-genders,
.mk-bars {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-genders-icons li {
  display: grid;
  grid-template-columns: 34px auto;
  align-items: center;
  column-gap: 14px;
}
.mk-genders-icons li .mk-icon {
  grid-row: span 2;
}
.mk-genders strong {
  font: 700 28px/1 var(--mk-display);
}
.mk-genders span {
  color: var(--mk-muted);
  font-size: 10px;
  letter-spacing: var(--mk-tracking);
}
.mk-genders-bars li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
}
.mk-genders-bars .mk-bar {
  grid-column: 1 / -1;
}
.mk-gender-male .mk-icon {
  color: var(--mk-accent);
}
.mk-bars {
  flex: 1;
  gap: 6px;
  min-width: 220px;
}
.mk-bars li {
  display: grid;
  grid-template-columns: 56px 1fr 52px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.mk-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 16px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.mk-items li,
.mk-items a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mk-interests .mk-items li {
  font-size: 10px;
  letter-spacing: var(--mk-tracking);
}
.mk-social-items li {
  font-size: 13px;
}
.mk-social-items a {
  color: inherit;
  text-decoration: none;
}
.mk-social-items a:hover span {
  text-decoration: underline;
}
.mk a:focus-visible,
.mk summary:focus-visible {
  outline: 2px solid var(--mk-accent);
  outline-offset: 3px;
}
.mk-pillar-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.mk-pillar-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mk-pillar-list .mk-icon {
  color: var(--mk-accent);
}
.mk-pillar-list strong {
  font: 700 15px/1.3 var(--mk-heading);
  letter-spacing: var(--mk-tracking);
}
.mk-pillar-list span {
  color: var(--mk-muted);
  font-size: 12px;
}
.mk-text-body {
  margin: 0;
  white-space: pre-line;
}
.mk-contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}
.mk-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mk-contact-list .mk-icon {
  color: var(--mk-accent);
}
.mk-contact-list a {
  color: inherit;
  overflow-wrap: anywhere;
}
.mk-footer {
  margin: 0 28px;
  padding: 12px 0 18px;
  border-top: 1px solid var(--mk-rule);
  color: var(--mk-muted);
  font-size: 11px;
}
.mk-footer p {
  margin: 2px 0;
}
@media (max-width: 760px) {
  .mk-row {
    flex-direction: column;
  }
  .mk-side {
    flex: none;
    justify-content: flex-start;
    padding: 10px 16px;
  }
  .mk-side span {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .mk-row-body {
    padding: 20px 16px;
  }
  .mk-columns {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .mk-dividers > .mk-col + .mk-col::before {
    display: none;
  }
  .mk-header-inner {
    flex-direction: column;
  }
  .mk-header-text {
    flex: none;
    padding: 28px 16px;
  }
  .mk-with-photo {
    min-height: 0;
  }
  .mk-photo-area {
    min-height: 320px;
  }
  .mk-monogram {
    top: 20px;
    right: 16px;
  }
  .mk-stat-inner {
    gap: 16px;
  }
  .mk-figure {
    font-size: 52px;
  }
  .mk-footer {
    margin: 0 16px;
  }
}
.mk-editor .mk-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 12px;
}
.mk-editor .mk-row-editor,
.mk-editor .mk-entry-row,
.mk-editor .mk-row-settings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  align-items: end;
  gap: 8px;
}
.mk-editor .mk-row-editor {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mk-editor .mk-entry-row {
  margin-bottom: 8px;
}
.mk-editor .mk-layout-row {
  margin: 8px 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.mk-editor .mk-layout-row > summary {
  cursor: pointer;
  font-weight: 700;
}
.mk-editor .mk-layout-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.mk-editor .mk-layout-column {
  padding: 8px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.mk-editor .mk-layout-panels {
  margin: 0 0 8px;
  padding-left: 18px;
}
.mk-editor .mk-layout-panels li {
  margin: 6px 0;
}
.mk-editor .mk-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.mk-editor .mk-panel-actions .button {
  min-width: 0;
  padding: 2px 8px;
}
.mk-editor .button-row form,
.mk-editor .mk-panel-actions form {
  margin: 0;
}
.mk-editor .inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  margin: 8px 0;
}

/* Creator portal: bounded colors, native typography and shared profile preview. */
.profile-backdrop {
  background: var(--profile-backdrop);
  padding: 18px 0;
  min-width: 0;
}
.profile-backdrop .person-page {
  background: var(--profile-surface);
  color: var(--profile-text);
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.profile-backdrop .channel-stats {
  background: var(--profile-stats);
  border-color: var(--profile-stats-accent);
}
.profile-backdrop .channel-stats h3 {
  color: var(--profile-stats-accent);
}
.profile-backdrop .metric {
  background: var(--profile-surface);
  color: var(--profile-text);
}
.profile-backdrop .profile-section {
  background: var(--profile-surface);
  color: var(--profile-text);
}
.profile-bio {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.profile-stream {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.profile-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.profile-section-photo {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}
.profile-provenance {
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}
.profile-appeal {
  margin-top: 24px;
}
.step-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0;
}
.step-rail a {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-2);
}
.step-rail .selected {
  background: var(--accent-soft);
  font-weight: bold;
}
.brand-workflow {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: start;
}
.brand-live-preview {
  position: sticky;
  top: 16px;
  max-height: 85vh;
  overflow: auto;
}
.brand-live-preview .profile-hero {
  grid-template-columns: 1fr;
}
.brand-live-preview .profile-avatar {
  width: 120px;
  height: 120px;
}
.brand-live-preview .metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.brand-live-preview .person-page {
  padding: 16px;
}
@media (max-width: 850px) {
  .brand-workflow {
    grid-template-columns: 1fr;
  }
  .brand-live-preview {
    position: static;
    max-height: none;
  }
  .profile-backdrop .person-page {
    padding: 16px;
  }
}

.contest-banner {
  height: auto;
  min-height: 0;
  aspect-ratio: 4/1;
}
.contest-prize > img {
  height: auto;
  aspect-ratio: 16/9;
}
.contest-footer-image {
  height: auto;
  aspect-ratio: 8/1;
  object-fit: contain;
}

.profile-backdrop .channel-stats-footer,
.profile-backdrop .channel-stats .muted,
.profile-backdrop .metric span,
.profile-backdrop .channel-stats-heading span,
.profile-backdrop .channel-stats h3,
.profile-backdrop a {
  color: var(--profile-text);
}
.profile-backdrop .button.primary {
  color: var(--profile-button-ink);
  background: var(--profile-accent);
}
.profile-backdrop .button.secondary {
  color: var(--profile-text);
  background: var(--profile-surface);
}
.profile-backdrop a:focus-visible {
  outline-color: var(--profile-text);
}
.profile-backdrop .person-page h1 {
  font-size: 26px;
  margin: 0 0 10px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.profile-backdrop .person-page h2 {
  font-size: 20px;
  margin: 0;
}
.profile-backdrop .profile-hero {
  margin: 0 0 24px;
  gap: 24px;
  padding-bottom: 16px;
}
.profile-backdrop .profile-avatar {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  font-size: 48px;
}
.profile-backdrop .metric strong {
  font-size: 24px;
}
.profile-backdrop .section-heading {
  margin-top: 24px;
  margin-bottom: 12px;
}
@media (max-width: 850px) {
  .profile-backdrop .profile-avatar {
    width: 120px;
    height: 120px;
  }
  .profile-backdrop .profile-hero {
    gap: 16px;
  }
}
.profile-backdrop .mk-figure {
  font:
    700 24px/1.3 Tahoma,
    Verdana,
    Arial,
    sans-serif;
  letter-spacing: normal;
}
.profile-backdrop .channel-metrics dd {
  font-size: 24px;
  line-height: 1.3;
}
/* Public discovery: compact portal typography, native links and stable deep links. */
.discovery-page {
  max-width: 1040px;
  margin-inline: auto;
  padding: 24px;
  min-width: 0;
}
.discovery-page h1 {
  font-size: 22px;
}
.discovery-page p {
  max-width: 78ch;
}
.discovery-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.discovery-breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.35rem;
}
.discovery-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
  margin-bottom: 0.75rem;
}
.discovery-list {
  list-style: none;
  padding: 0;
}
.discovery-list > li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.discovery-list h2 {
  font-size: 16px;
  margin: 0 0 0.35rem;
}
.discovery-list p {
  margin: 0.35rem 0;
}
.guide-section {
  margin: 1.5rem 0;
}
.guide-section h2 {
  font-size: 16px;
  padding: 8px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.guide-section:target,
.discovery-page tr:target {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.guide-section,
.discovery-page [id],
#channel-statistics {
  scroll-margin-top: 1rem;
}
.section-permalink {
  font-size: 0.8em;
  font-weight: normal;
  margin-left: 0.25rem;
}
.home-intro .discovery-toc {
  margin-bottom: 0;
}

/* Compact task navigation; native disclosures work without JavaScript. */
.site-header {
  overflow: visible;
}
.site-header nav {
  flex-wrap: wrap;
}
.site-menu {
  position: relative;
  align-self: stretch;
}
.site-menu > summary {
  padding: 10px 12px;
  cursor: pointer;
}
.site-menu[open] > summary,
.site-menu > summary:hover {
  background: var(--accent-soft);
}
.site-menu-links {
  position: absolute;
  right: 0;
  z-index: 10;
  min-width: 185px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px;
}
.site-menu-links a {
  display: block;
  padding: 10px;
}
.workspace-nav nav {
  min-width: 0;
}
.workspace-overview,
.workspace-group-links a {
  display: block;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.workspace-group {
  margin: 5px 0;
  border-top: 1px solid var(--line);
}
.workspace-group > summary {
  padding: 10px 4px;
  color: var(--accent);
  font-weight: bold;
  cursor: pointer;
}
.workspace-overview:hover,
.workspace-group-links a:hover,
.workspace-nav a.selected {
  background: var(--accent-soft);
  color: var(--accent);
}
.workspace-group-links {
  padding-bottom: 5px;
}
.workspace-nav .workspace-account {
  display: flex;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.workspace-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.workspace-section {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.workspace-section > summary {
  padding: 12px;
  cursor: pointer;
  font-weight: bold;
  background: var(--accent-soft);
}
.workspace-section > section {
  margin: 0;
  padding: 16px;
  border: 0;
}
.registration-choices {
  gap: 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
}
.registration-choices > section {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.registration-choices h2 {
  font-size: 15px;
  margin: 0 0 5px;
}
.registration-choices p {
  margin: 0 0 8px;
}
.signup-selection {
  background: var(--accent-soft);
  padding: 10px;
  border-radius: var(--radius);
}
.home-sidebar .button + p {
  margin-top: 10px;
}
@media (max-width: 650px) {
  .site-menu > summary {
    padding: 10px;
  }
  .site-menu-links {
    left: 0;
    right: auto;
  }
  .workspace-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }
  .workspace-overview,
  .workspace-group[open] {
    grid-column: 1 / -1;
  }
  .workspace-nav {
    display: block;
  }
  .workspace-nav .workspace-account {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .workspace-shortcuts {
    grid-template-columns: 1fr;
  }
}
.discovery-page input[type='search'] {
  max-width: 100%;
}
.site-footer > div {
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
@media (max-width: 650px) {
  .discovery-page {
    padding: 20px 16px;
  }
}
