:root {
  --bg: #090b10;
  --surface: #11141b;
  --surface-2: #171b24;
  --surface-3: #1f2530;
  --border: #2a3140;
  --text: #f3f5f7;
  --muted: #8e97a8;
  --muted-2: #697386;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --rail-tab-width: 22px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 25%),
    var(--bg);
}

body[data-page="account"] {
  height: 100vh;
  overflow: hidden;
}

body.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.scroll-position-dot {
  position: fixed;
  right: 8px;
  top: var(--scroll-dot-top, 96px);
  width: 12px;
  height: 30px;
  border-radius: 999px;
  background: rgba(142, 151, 168, 0.86);
  box-shadow: 0 0 0 5px rgba(142, 151, 168, 0.1);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  z-index: 120;
  transition: top 0.08s linear, opacity 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.scroll-position-dot:hover,
.scroll-position-dot.is-dragging {
  background: rgba(217, 251, 255, 0.92);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.14), 0 0 20px rgba(34, 211, 238, 0.18);
}

.scroll-position-dot.is-dragging {
  cursor: grabbing;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: grid-template-columns 0.24s ease;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 76px 1fr;
}

html.sidebar-state-collapsed .app-shell {
  grid-template-columns: 76px 1fr;
}

html.is-rail-state-restoring .app-shell {
  visibility: hidden;
}

html.is-rail-state-restoring .app-shell,
html.is-rail-state-restoring .app-shell *,
.app-shell.is-restoring,
.app-shell.is-restoring .sidebar,
.app-shell.is-restoring .dashboard-grid,
.app-shell.is-restoring .explore-page-grid,
.app-shell.is-restoring .account-page-grid,
.app-shell.is-restoring .create-page-grid,
.app-shell.is-restoring .saved-page,
.app-shell.is-restoring .my-stuff-page,
.app-shell.is-restoring .help-page {
  transition: none;
}

/* Sidebar */

.sidebar {
  position: fixed;
  grid-column: 1;
  grid-row: 1;
  top: 78px;
  left: 0;
  width: 280px;
  height: calc(100vh - 78px);
  padding: 16px 24px;
  min-width: 0;
  border-right: 1px solid var(--border);
  background: rgba(12, 15, 22, 0.86);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  z-index: 50;
  transition: padding 0.24s ease, border-color 0.24s ease, width 0.24s ease;
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  bottom: 0;
  width: 13px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(142, 151, 168, 0.18) 45%,
    rgba(142, 151, 168, 0.18) 55%,
    transparent
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.sidebar:has(.sidebar-toggle:hover)::after {
  opacity: 1;
}

.brand-block {
  display: none;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.brand-block h1 {
  font-size: 1.05rem;
  margin: 0;
}

.brand-block p {
  color: var(--muted);
  margin: 3px 0 0;
  font-size: 0.82rem;
}

.sidebar-toggle {
  width: 24px;
  height: 88px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-left: 1px solid var(--surface-2);
  border-radius: 0 12px 12px 0;
  background: var(--surface-2);
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  overflow: visible;
  position: absolute;
  left: auto;
  right: -24px;
  top: auto;
  bottom: 24px;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  transition: 0.18s ease;
}

.sidebar-toggle span {
  display: none;
}

.sidebar-toggle::before {
  content: "<";
  display: inline-block;
  line-height: 1;
}

.sidebar-toggle:hover {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border);
  border-left-color: var(--surface-3);
}

.sidebar-toggle:hover span {
  display: none;
}

.sidebar .sidebar-toggle:hover {
  opacity: 1;
  pointer-events: auto;
}

.sidebar:has(.sidebar-toggle:hover) .sidebar-toggle {
  opacity: 1;
  pointer-events: auto;
}

.app-shell.sidebar-collapsed .sidebar {
  position: fixed;
  grid-column: 1;
  grid-row: 1;
  top: 78px;
  left: 0;
  width: 76px;
  height: calc(100vh - 78px);
  min-height: calc(100vh - 78px);
  padding: 16px 10px;
  align-items: stretch;
  z-index: 50;
  border-right-color: var(--border);
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

html.sidebar-state-collapsed .sidebar {
  width: 76px;
  padding: 16px 10px;
}

.app-shell.sidebar-collapsed .sidebar-toggle {
  width: 24px;
  height: 88px;
  min-height: 0;
  left: auto;
  right: -24px;
  top: auto;
  bottom: 24px;
  transform: none;
  border-radius: 0 12px 12px 0;
  padding: 0;
  border: 1px solid var(--border);
  border-left: 1px solid var(--surface-2);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.82rem;
  opacity: 1;
  pointer-events: auto;
  z-index: 45;
}

.app-shell.sidebar-collapsed .sidebar-toggle span {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-toggle::before {
  content: ">";
}

.app-shell.sidebar-collapsed .sidebar-toggle:hover span {
  display: none;
}

.app-shell.sidebar-collapsed .brand-block {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-footer {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-help-link {
  width: 48px;
  height: 48px;
  margin-top: auto;
  padding: 0;
  border-radius: 14px;
  flex: 0 0 48px;
  font-size: 0;
}

.app-shell.sidebar-collapsed .sidebar-help-link span {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-help-link::after {
  content: attr(data-short);
  font-size: 1.05rem;
  font-weight: 900;
}

.side-nav {
  display: grid;
  gap: 6px;
  width: 100%;
}

.side-nav a {
  padding: 11px 12px;
  color: var(--muted);
  border-radius: 12px;
  transition: 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.side-nav-desk {
  display: grid;
  gap: 6px;
}

.desk-nav-row {
  width: 100%;
  color: var(--muted);
  border-radius: 12px;
  transition: 0.18s ease;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 5px;
}

.desk-nav-row:has(.nav-my-stuff.active),
.desk-nav-row:has(.nav-my-stuff:focus-visible),
.desk-nav-row:hover {
  background: var(--surface-2);
  color: var(--text);
}

.desk-nav-row .nav-my-stuff {
  min-height: 48px;
  padding: 11px 0 11px 12px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  min-width: 0;
}

.desk-nav-row .nav-my-stuff:hover,
.desk-nav-row .nav-my-stuff.active {
  background: transparent;
}

.desk-subnav-toggle {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(4px);
}

.desk-subnav-toggle span {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--accent-2);
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.18));
  transition: transform 0.18s ease, border-top-color 0.18s ease;
}

.desk-subnav-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.desk-subnav {
  display: grid;
  gap: 0;
  padding: 0 12px;
}

.desk-subnav[hidden] {
  display: none;
}

.desk-subnav button {
  position: relative;
  width: 100%;
  min-height: 34px;
  padding: 9px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.desk-subnav button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 211, 238, 0.08) 14%,
    rgba(34, 211, 238, 0.24) 50%,
    rgba(34, 211, 238, 0.08) 86%,
    transparent
  );
  pointer-events: none;
}

.desk-subnav button:hover,
.desk-subnav button:focus-visible,
.desk-subnav button.is-selected {
  background: transparent;
  color: var(--text);
  outline: 0;
}

.side-nav a::before {
  content: none;
}

.side-nav a:hover,
.side-nav a.active {
  background: var(--surface-2);
  color: var(--text);
}

.nav-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #ddd6fe;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.nav-badge.danger {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px;
}

.sidebar-footer p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 10px 0 0;
}

.sidebar-help-link {
  position: relative;
  isolation: isolate;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(142, 151, 168, 0.32);
  border-radius: 14px;
  background: rgba(142, 151, 168, 0.08);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.sidebar-help-link::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  padding: 2px;
  background:
    repeating-radial-gradient(
      ellipse at 18% 50%,
      rgba(255, 255, 255, 0) 0 8px,
      rgba(255, 255, 255, 0.18) 9px 10px,
      rgba(255, 255, 255, 0) 11px 18px
    ),
    linear-gradient(
      100deg,
      rgba(248, 113, 113, 0.78),
      rgba(251, 191, 36, 0.7),
      rgba(74, 222, 128, 0.72),
      rgba(34, 211, 238, 0.72),
      rgba(167, 139, 250, 0.76),
      rgba(244, 114, 182, 0.7),
      rgba(248, 113, 113, 0.78)
    );
  background-size: 160% 160%, 220% 100%;
  opacity: 0.28;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.sidebar-help-link span,
.app-shell.sidebar-collapsed .sidebar-help-link::after {
  position: relative;
  z-index: 1;
}

.sidebar-help-link:hover,
.sidebar-help-link:focus-visible,
.sidebar-help-link.is-active {
  background: rgba(142, 151, 168, 0.12);
  border-color: rgba(142, 151, 168, 0.48);
  outline: 0;
}

.app-shell.help-tab-intro .sidebar-help-link::before {
  animation: helpRainbowWaver 1.8s ease-in-out 2;
  opacity: 0.62;
}

@keyframes helpRainbowWaver {
  0% {
    background-position: 0 50%, 0 0;
    filter: saturate(0.92);
  }

  50% {
    background-position: 46px 46%, 100% 0;
    filter: saturate(1.18);
  }

  100% {
    background-position: 92px 50%, 200% 0;
    filter: saturate(0.96);
  }
}

.beta-pill {
  display: inline-flex;
  font-size: 0.75rem;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 9px;
  border-radius: 999px;
}

.app-shell.sidebar-collapsed .side-nav {
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  scroll-snap-type: none;
  scrollbar-width: auto;
}

.app-shell.sidebar-collapsed .side-nav::-webkit-scrollbar {
  display: initial;
}

.app-shell.sidebar-collapsed .side-nav a {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(142, 151, 168, 0.38);
  background: rgba(142, 151, 168, 0.1);
  justify-content: center;
  position: relative;
  font-size: 0;
  scroll-snap-align: start;
}

.app-shell.sidebar-collapsed .side-nav a.nav-dashboard {
  position: relative;
  left: auto;
  top: auto;
  z-index: 2;
  margin-top: 0;
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  background: rgba(142, 151, 168, 0.1);
  border-radius: 14px;
  border-color: rgba(142, 151, 168, 0.38);
  color: var(--muted);
  font-weight: 900;
}

.app-shell.sidebar-collapsed .side-nav a::before {
  content: attr(data-short);
  display: inline;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0;
}

.app-shell.sidebar-collapsed .side-nav a.nav-dashboard::before {
  content: "";
  width: 17px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px 3px 4px 4px;
  transform: translateY(2px);
}

.app-shell.sidebar-collapsed .side-nav a.nav-dashboard::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(-5px) rotate(45deg);
}

.app-shell.sidebar-collapsed .side-nav a.nav-settings::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    0 -7px 0 -5px currentColor,
    0 7px 0 -5px currentColor,
    7px 0 0 -5px currentColor,
    -7px 0 0 -5px currentColor,
    5px 5px 0 -5px currentColor,
    -5px 5px 0 -5px currentColor,
    5px -5px 0 -5px currentColor,
    -5px -5px 0 -5px currentColor;
}

.app-shell.sidebar-collapsed .side-nav a.nav-settings::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.app-shell.sidebar-collapsed .side-nav a span {
  display: none;
}

.app-shell.sidebar-collapsed .nav-badge {
  position: absolute;
  top: -3px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.62rem;
}

/* Main */

.main-area {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  padding-top: 78px;
  z-index: 1;
}

.topbar {
  height: 78px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: rgba(9, 11, 16, 0.68);
  backdrop-filter: blur(16px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.topbar-brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.topbar-brand-copy strong {
  font-size: 1.05rem;
}

.topbar-brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.topbar-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 0.86rem;
}

.app-shell.sidebar-collapsed .topbar-brand {
  display: inline-flex;
}

.app-shell.sidebar-collapsed .topbar {
  top: 0;
  height: 78px;
  padding: 18px 28px;
  z-index: 30;
}

.app-shell.sidebar-collapsed .dashboard-grid,
.app-shell.sidebar-collapsed .explore-page-grid,
.app-shell.sidebar-collapsed .account-page-grid,
.app-shell.sidebar-collapsed .saved-page,
.app-shell.sidebar-collapsed .my-stuff-page,
.app-shell.sidebar-collapsed .help-page {
  padding-top: 28px;
}

.app-shell.sidebar-collapsed .side-nav-desk {
  gap: 0;
}

.app-shell.sidebar-collapsed .desk-nav-row {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(142, 151, 168, 0.38);
  background: rgba(142, 151, 168, 0.1);
  justify-content: center;
  position: relative;
  font-size: 0;
}

.app-shell.sidebar-collapsed .desk-nav-row::before {
  content: none;
}

.app-shell.sidebar-collapsed .side-nav-desk .desk-subnav,
.app-shell.sidebar-collapsed .desk-subnav-toggle {
  display: none;
}

.app-shell.sidebar-collapsed .desk-nav-row .nav-my-stuff {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-shell.sidebar-collapsed .create-page-grid {
  padding-top: 6px;
}

.dashboard-grid,
.explore-page-grid,
.account-page-grid,
.create-page-grid,
.saved-page,
.my-stuff-page,
.help-page {
  min-width: 0;
}

.app-shell.sidebar-collapsed .dashboard-grid,
.app-shell.sidebar-collapsed .explore-page-grid,
.app-shell.sidebar-collapsed .account-page-grid,
.app-shell.sidebar-collapsed .create-page-grid,
.app-shell.sidebar-collapsed .saved-page,
.app-shell.sidebar-collapsed .my-stuff-page,
.app-shell.sidebar-collapsed .help-page {
  margin-left: 0;
}

.search-wrap {
  width: min(520px, 48vw);
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  color: var(--muted);
}

.search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
}

.search-icon::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.search-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-wrap input::placeholder {
  color: var(--muted-2);
}

.hub-stamp {
  min-width: 76px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(34, 211, 238, 0.36);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d9fbff;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(245, 158, 11, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 32px rgba(0, 0, 0, 0.18);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hub-stamp:hover,
.hub-stamp.is-active {
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.56);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(245, 158, 11, 0.2));
  transform: translateY(-1px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.auth-signed-out .auth-signed-in,
body:not(.auth-signed-out) .auth-signed-out {
  display: none;
}

[data-auth] {
  display: none;
}

body.auth-signed-in [data-auth="logged-in"],
body.auth-signed-out [data-auth="logged-out"] {
  display: revert;
}

.topbar-actions[data-auth] {
  display: none;
}

body.auth-signed-in .topbar-actions[data-auth="logged-in"],
body.auth-signed-out .topbar-actions[data-auth="logged-out"] {
  display: flex;
}

.auth-gate-open .app-shell {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.beta-gate-open .app-shell,
.beta-gate-open .auth-shell {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(9, 11, 16, 0.58);
}

.auth-gate[hidden] {
  display: none;
}

.auth-gate-panel {
  width: min(100%, 440px);
  padding: 28px;
  border: 1px solid rgba(142, 151, 168, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12)),
    rgba(17, 20, 27, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.auth-gate-panel h2,
.auth-gate-panel p {
  margin: 0;
}

.auth-gate-panel h2 {
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1;
}

.auth-gate-panel p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-gate-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-gate-close {
  margin-top: 12px;
}

.beta-gate {
  position: fixed;
  inset: 0;
  z-index: 520;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(9, 11, 16, 0.64);
}

.beta-gate[hidden] {
  display: none;
}

.beta-gate-panel {
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid rgba(142, 151, 168, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.1)),
    rgba(17, 20, 27, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 14px;
}

.beta-gate-panel h2,
.beta-gate-panel p {
  margin: 0;
}

.beta-gate-panel h2 {
  margin-top: 2px;
  color: var(--text);
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1;
}

.beta-gate-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.beta-gate-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.beta-gate-panel input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: 0;
  background: rgba(17, 20, 27, 0.86);
  color: var(--text);
}

.beta-gate-panel input:focus {
  border-color: rgba(34, 211, 238, 0.64);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.beta-gate-error {
  color: #fecaca;
  font-size: 0.86rem;
}

.auth-shell {
  width: min(100%, 420px);
  display: grid;
  gap: 18px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.auth-brand span:not(.brand-mark) {
  display: grid;
  gap: 2px;
}

.auth-brand strong {
  font-size: 1rem;
}

.auth-brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.auth-card {
  padding: 28px;
  border: 1px solid rgba(142, 151, 168, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.1)),
    rgba(17, 20, 27, 0.92);
  box-shadow: var(--shadow);
}

.auth-card h1,
.auth-card p {
  margin: 0;
}

.auth-card h1 {
  margin-top: 6px;
  font-size: 2.2rem;
  line-height: 1;
}

.google-auth-btn,
.auth-form input,
.auth-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(17, 20, 27, 0.86);
  color: var(--text);
}

.google-auth-btn {
  min-height: 44px;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}

.google-auth-btn:hover,
.google-auth-btn:focus-visible {
  border-color: rgba(34, 211, 238, 0.54);
  background: var(--surface-2);
}

.google-auth-btn span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  color: #11141b;
  font-weight: 900;
}

.auth-divider {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-form input,
.auth-form textarea {
  min-height: 44px;
  padding: 0 12px;
  outline: 0;
}

.auth-form input[type="file"] {
  padding: 10px 12px;
  color: var(--muted);
}

.auth-form textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.auth-form input:focus,
.auth-form textarea:focus {
  border-color: rgba(34, 211, 238, 0.64);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.auth-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.auth-status {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.auth-status[data-status="error"] {
  color: #fecaca;
}

.auth-switch {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-switch a {
  color: var(--accent-2);
  font-weight: 900;
}

.auth-confirm-note {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
  font-size: 0.86rem;
  line-height: 1.45;
}

.auth-required-panel {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(142, 151, 168, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.08)),
    rgba(17, 20, 27, 0.9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.auth-required-panel h2,
.auth-required-panel p {
  margin: 0;
}

.auth-required-panel h2 {
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.auth-required-panel p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-required-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-required-panel small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.small-btn {
  border: 0;
  border-radius: 999px;
  color: var(--text);
  transition: 0.18s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), #6d5dfc);
  padding: 11px 17px;
  font-weight: 700;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.28);
}

.secondary-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 16px;
  color: var(--muted);
}

.secondary-btn:hover,
.ghost-btn:hover,
.small-btn:hover {
  background: var(--surface-3);
  color: var(--text);
}

.ghost-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 11px 17px;
}

.large {
  padding: 13px 20px;
}

.wallet-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-2);
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wallet-chip:hover {
  background: var(--surface-2);
  border-color: rgba(34, 211, 238, 0.35);
}

.wallet-icon {
  width: 24px;
  height: 20px;
  border-radius: 7px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  font-size: 0.65rem;
  line-height: 1;
  background: rgba(34, 211, 238, 0.08);
}

.profile-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border);
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.profile-dot:hover,
.profile-dot:focus-visible,
.profile-dot.is-active {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.42);
  color: var(--accent-2);
  outline: 0;
}

.profile-dot:hover,
.profile-dot:focus-visible {
  transform: translateY(-1px);
}

/* Dashboard */

.dashboard-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  transition:
    grid-template-columns 0.24s ease,
    gap 0.24s ease;
}

.dashboard-grid.rail-collapsed {
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
}

html.rail-state-collapsed .dashboard-grid {
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
}

.dashboard-grid.is-restoring {
  transition: none;
}

/* Account Page */

.account-page-grid {
  height: calc(100vh - 78px);
  padding: 34px 36px 34px 28px;
  overflow: hidden;
}

.account-auth-required {
  align-self: center;
}

.account-layout {
  width: min(100%, 1560px);
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 18px;
}

.account-layout.is-tab-compact {
  gap: 10px;
}

.account-header {
  position: relative;
  min-height: 128px;
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.06)),
    rgba(17, 20, 27, 0.86);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.account-header .eyebrow {
  position: absolute;
  top: -28px;
  left: 0;
  margin: 0;
  color: var(--accent-2);
  font-size: 0.86rem;
}

.account-layout.is-tab-compact .account-header {
  min-height: 0;
  margin-top: 0;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.account-layout.is-manage-tab .account-header {
  display: none;
}

.account-layout.is-titleless-tab .account-header {
  display: none;
}

.account-layout.is-tab-compact .account-header h2,
.account-layout.is-tab-compact .account-identity {
  display: none;
}

.account-layout.is-tab-compact .account-header .eyebrow {
  position: static;
  margin: 0;
  color: var(--accent-2);
  font-size: 0.86rem;
}

.account-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.35rem);
  letter-spacing: 0;
}

.account-identity {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  min-width: 286px;
  padding: 12px 56px 12px 14px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.38);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.account-identity:hover,
.account-identity:focus-visible {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.09);
  outline: 0;
  transform: translateY(-1px);
}

.account-identity div {
  display: grid;
  gap: 3px;
}

.account-identity span:not(.account-avatar) {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.account-copy-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
}

.account-copy-icon::before,
.account-copy-icon::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1.5px solid rgba(34, 211, 238, 0.82);
  border-radius: 4px;
  background: rgba(10, 13, 19, 0.72);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.account-copy-icon::before {
  top: 2px;
  left: 6px;
}

.account-copy-icon::after {
  right: 6px;
  bottom: 2px;
}

.account-identity:hover .account-copy-icon::before,
.account-identity:hover .account-copy-icon::after,
.account-identity:focus-visible .account-copy-icon::before,
.account-identity:focus-visible .account-copy-icon::after {
  border-color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
}

.account-identity.is-copied .account-copy-icon::before {
  transform: translate(1px, -1px);
}

.account-identity.is-copied .account-copy-icon::after {
  transform: translate(-1px, 1px);
}

.account-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.36);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.account-avatar.large {
  width: 72px;
  height: 72px;
  font-size: 1.45rem;
}

.account-avatar.has-profile-image {
  background-position: center;
  background-size: cover;
  color: transparent;
}

.account-tabs {
  margin: 8px 0 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.account-tabs button {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 850;
}

.account-tabs button.is-active,
.account-tabs button:hover,
.account-tabs button:focus-visible {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(34, 211, 238, 0.09);
  outline: 0;
}

.account-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  min-height: 0;
  overflow: hidden;
}

.account-content[hidden] {
  display: none;
}

.account-stuff-content {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
}

.account-profile-content {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: max-content max-content;
  align-items: stretch;
  align-content: start;
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}

.account-profile-content::-webkit-scrollbar {
  display: none;
}

.account-content[data-account-panel="manage"] {
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}

.account-content[data-account-panel="manage"]::-webkit-scrollbar {
  display: none;
}

.account-public-profile {
  min-height: 132px;
  padding: 22px;
  display: grid;
  align-content: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.account-public-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 124px;
  padding: 22px 28px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.08)),
    rgba(17, 20, 27, 0.86);
}

.account-layout:not(.is-profile-tab) .account-public-banner {
  display: none;
}

.account-public-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--account-banner-image, linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(34, 211, 238, 0.16)));
  background-position: center;
  background-size: cover;
  opacity: 0.72;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 12%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 22%, #000 76%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 12%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 22%, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.account-public-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 20, 27, 0.92), rgba(17, 20, 27, 0.28) 34%, rgba(17, 20, 27, 0.78)),
    linear-gradient(0deg, rgba(17, 20, 27, 0.88), transparent 48%);
}

.account-public-banner > .account-avatar,
.account-public-banner > div,
.account-public-banner > .account-identity {
  position: relative;
  z-index: 1;
}

.account-public-banner > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-public-banner h2,
.account-public-copy p {
  margin: 0;
}

.account-public-banner h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  letter-spacing: 0;
}

.account-public-banner strong {
  color: var(--accent-2);
  font-size: 0.9rem;
}

.account-banner-handle {
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.account-banner-handle:hover,
.account-banner-handle:focus-visible {
  color: #d9fbff;
  text-decoration: underline;
  outline: 0;
}

.account-public-banner .account-identity {
  margin-left: auto;
  flex: 0 0 auto;
}

.account-layout.is-tab-compact .account-public-banner .account-identity {
  display: inline-flex;
}

.account-public-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  max-width: 960px;
}

.account-public-copy p {
  color: var(--muted);
  line-height: 1.5;
  max-width: 760px;
}

.account-profile-scroll {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
}

.account-stuff-column,
.account-item-list,
.account-profile-side-column {
  display: grid;
  gap: 14px;
}

.account-stuff-panel {
  border-radius: 8px;
}

.account-featured-panel {
  padding: 16px;
  border-color: rgba(139, 92, 246, 0.22);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(34, 211, 238, 0.03)),
    var(--surface);
}

.account-profile-stats {
  padding: 18px 22px;
  border-color: rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.05);
}

.account-featured-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-highlight-card {
  min-width: 0;
}

.account-highlight-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 8px;
  background-image: var(--highlight-image, linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.08)));
  background-position: center;
  background-size: cover;
  color: var(--text);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.account-highlight-media:hover,
.account-highlight-media:focus-visible {
  border-color: rgba(34, 211, 238, 0.48);
  outline: 0;
  transform: translateY(-1px);
}

.account-highlight-placeholder {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(34, 211, 238, 0.36);
  border-radius: 50%;
  background: rgba(10, 13, 19, 0.5);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.account-highlight-media.has-image .account-highlight-placeholder {
  display: none;
}

.account-highlight-actions {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}

.account-highlight-actions label,
.account-highlight-actions button {
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid rgba(142, 151, 168, 0.24);
  border-radius: 5px;
  background: rgba(10, 13, 19, 0.3);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  cursor: pointer;
}

.account-highlight-actions label:hover,
.account-highlight-actions label:focus-within,
.account-highlight-actions button:hover,
.account-highlight-actions button:focus-visible {
  border-color: rgba(34, 211, 238, 0.42);
  color: var(--accent-2);
  outline: 0;
}

.account-highlight-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-gallery-content {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.36fr);
  align-items: start;
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}

.account-gallery-content::-webkit-scrollbar {
  display: none;
}

.account-gallery-main,
.account-gallery-aside {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.account-gallery-overview {
  display: grid;
  gap: 18px;
  align-content: start;
  overflow: visible;
  padding-bottom: 46px;
}

.account-gallery-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.4fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(142, 151, 168, 0.18);
}

.account-gallery-about {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.account-gallery-topline .account-gallery-about {
  padding: 0;
}

.account-gallery-identity {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.gallery-profile-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.15rem;
}

.account-gallery-identity strong {
  font-size: 0.86rem;
}

.account-gallery-blurb {
  display: grid;
  gap: 7px;
}

.account-gallery-blurb .eyebrow,
.account-gallery-blurb textarea {
  margin: 0;
}

.account-gallery-blurb textarea {
  min-height: 82px;
  width: 100%;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid rgba(142, 151, 168, 0.24);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.3);
  color: var(--muted);
  font: inherit;
  line-height: 1.45;
}

.account-gallery-blurb textarea:focus {
  border-color: rgba(34, 211, 238, 0.5);
  outline: 0;
}

.account-gallery-featured {
  padding-left: 18px;
  border-left: 1px solid rgba(142, 151, 168, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-gallery-featured-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(250, 204, 21, 0.46);
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.1);
  color: #fde68a;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.account-gallery-featured div {
  display: grid;
  gap: 3px;
}

.account-gallery-featured .eyebrow,
.account-gallery-featured strong,
.account-gallery-featured small {
  margin: 0;
}

.account-gallery-featured strong {
  font-size: 0.86rem;
}

.account-gallery-featured small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.account-gallery-folders {
  display: grid;
  gap: 10px;
  padding-bottom: 34px;
}

.account-gallery-panel {
  display: grid;
  gap: 10px;
  align-content: start;
}

.account-gallery-panel > .section-heading,
.account-favorites-panel > .section-heading {
  margin-bottom: 0;
}

.account-gallery-folders > .section-heading {
  margin-bottom: 0;
}

.gallery-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 20px;
}

.gallery-crumb,
.gallery-back-crumb {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.gallery-crumb:hover,
.gallery-crumb:focus-visible {
  color: var(--accent-2);
  outline: 0;
}

.gallery-back-crumb {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  color: var(--accent-2);
}

.gallery-crumb-divider {
  color: rgba(142, 151, 168, 0.62);
}

.account-gallery-intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 104px));
  gap: 10px 14px;
  justify-content: start;
  align-items: start;
}

.account-gallery-card {
  display: grid;
  grid-template-rows: 96px 2.2em 1.2em;
  gap: 5px;
  width: 104px;
  min-width: 0;
  align-content: start;
}

.account-gallery-placeholder,
.account-work-thumb {
  width: 96px;
  aspect-ratio: 1;
  justify-self: start;
}

.account-gallery-placeholder {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px dashed rgba(34, 211, 238, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.06)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, 0.025) 10px 20px);
}

.account-gallery-card strong {
  font-size: 0.95rem;
  line-height: 1.15;
  max-height: 2.3em;
  overflow: hidden;
}

.account-gallery-card small {
  margin-top: -6px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.2;
  max-height: 1.2em;
  overflow: hidden;
}

.account-folder-card {
  padding: 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.account-folder-card::after,
.account-work-card::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -20px;
  left: -6px;
  height: 26px;
  pointer-events: auto;
}

.account-folder-card:hover,
.account-folder-card:focus-visible {
  border-color: transparent;
  background: transparent;
  transform: none;
  outline: 0;
}

.account-folder-card:hover .account-folder-icon,
.account-folder-card:focus-visible .account-folder-icon {
  transform: translateY(-2px);
}

.account-folder-card .account-gallery-placeholder {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.account-folder-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.22));
  pointer-events: none;
  user-select: none;
  transition: transform 0.16s ease;
}

.account-folder-card.is-folder-dragover .account-gallery-placeholder {
  border-radius: 8px;
  outline: 1px solid rgba(34, 211, 238, 0.72);
  outline-offset: 4px;
  background: rgba(34, 211, 238, 0.1);
}

.account-folder-toggles {
  position: absolute;
  top: calc(100% - 6px);
  left: 3px;
  z-index: 4;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  width: auto;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.account-item-toggles {
  position: absolute;
  top: calc(100% - 6px);
  left: 3px;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  width: auto;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.account-folder-card:hover .account-folder-toggles,
.account-folder-card:focus-within .account-folder-toggles,
.account-work-card:hover .account-item-toggles,
.account-work-card:focus-within .account-item-toggles {
  opacity: 1;
  pointer-events: auto;
}

.account-folder-toggles button,
.account-item-toggles button {
  min-width: 38px;
  padding: 3px 6px;
  border: 1px solid rgba(142, 151, 168, 0.24);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1;
}

.account-folder-toggles button.is-active {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-2);
}

.account-item-toggles button.is-active {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-2);
}

.account-work-card {
  padding: 3px;
  position: relative;
  cursor: grab;
}

.account-file-card {
  min-width: 0;
}

.account-work-card:active {
  cursor: grabbing;
}

.account-gallery-card.is-gallery-dragging {
  opacity: 0.48;
}

.account-gallery-card.is-gallery-drag-target .account-work-thumb,
.account-gallery-card.is-gallery-drag-target .account-gallery-placeholder {
  outline: 1px solid rgba(34, 211, 238, 0.68);
  outline-offset: 3px;
}

.account-gallery-card.is-gallery-combine-target .account-work-thumb {
  outline: 1px solid rgba(34, 211, 238, 0.82);
  outline-offset: 4px;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.18)),
    rgba(10, 13, 19, 0.42);
}

.account-work-thumb {
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.account-file-thumb {
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.12)),
    rgba(10, 13, 19, 0.34);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 900;
}

.account-file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(2, 6, 23, 0.28);
}

.account-file-card strong,
.account-file-card small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-file-card strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

.account-file-card small {
  white-space: nowrap;
}

.work-thumb-photo {
  background:
    radial-gradient(circle at 28% 30%, rgba(253, 224, 71, 0.72) 0 12%, transparent 13%),
    linear-gradient(145deg, #334155, #0f766e 52%, #1e293b 53%);
}

.work-thumb-art {
  background:
    radial-gradient(ellipse at 50% 65%, rgba(250, 204, 21, 0.8) 0 25%, transparent 26%),
    linear-gradient(135deg, #7e22ce, #312e81 56%, #0e7490);
}

.work-thumb-video {
  background: linear-gradient(135deg, #7c2d12, #4c1d95);
  color: #fef3c7;
  font-size: 1.25rem;
}

.gallery-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gallery-sort-select {
  min-height: 30px;
  padding: 7px 32px 7px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%),
    var(--surface-2);
  background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%, 0 0;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px, auto;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
  outline: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.gallery-sort-select:hover {
  border-color: rgba(34, 211, 238, 0.34);
}

.gallery-sort-select:focus {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.09);
}

.gallery-sort-select option {
  background: #0a0d13;
  color: var(--text);
}

.gallery-upload-button {
  width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.07);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.gallery-upload-button:hover,
.gallery-upload-button:focus-within {
  border-color: rgba(34, 211, 238, 0.65);
  background: rgba(34, 211, 238, 0.13);
  outline: 0;
}

.gallery-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-folder-files,
.account-gallery-upload-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.my-stuff-page {
  --my-stuff-switcher-right: 386px;
  min-height: calc(100vh - 78px);
  padding: 28px 386px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: padding-right 0.24s ease;
}

.app-shell.sidebar-collapsed .my-stuff-page {
  padding-top: 28px;
}

.my-stuff-page.rail-collapsed,
html.rail-state-collapsed .my-stuff-page {
  --my-stuff-switcher-right: 28px;
  padding-right: 28px;
}

.my-stuff-desk {
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 134px);
  position: relative;
}

.my-stuff-desk::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, background 0.28s ease;
}

.my-stuff-page[data-active-role="sponsor"] .my-stuff-desk::before {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 8%, rgba(168, 85, 247, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.06), transparent 48%);
}

.my-stuff-page[data-active-role="creator"] .my-stuff-desk::before {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 8%, rgba(239, 68, 68, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(239, 68, 68, 0.05), transparent 48%);
}

.my-stuff-hero {
  max-width: 760px;
  padding-right: 280px;
}

.my-stuff-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.my-stuff-hero p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.my-stuff-board {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.72fr);
  gap: 14px;
  align-items: start;
}

.my-stuff-board[hidden] {
  display: none;
}

.my-stuff-large-panel {
  grid-row: span 3;
}

.my-stuff-panel {
  min-height: 188px;
}

.my-stuff-open-panel {
  min-height: 100%;
  padding: 4px 6px 0 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.my-stuff-open-panel .section-heading {
  padding: 0 2px;
}

.my-stuff-open-panel .my-stuff-list article {
  position: relative;
  min-height: 68px;
  overflow: hidden;
  border-color: rgba(142, 151, 168, 0.22);
  background:
    linear-gradient(270deg, rgba(168, 85, 247, 0.12), rgba(34, 211, 238, 0.08) 48%, transparent 72%),
    rgba(15, 23, 42, 0.56);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.18);
}

.my-stuff-open-panel .my-stuff-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.42), rgba(168, 85, 247, 0.38));
}

.my-stuff-open-panel .my-stuff-list article > * {
  position: relative;
  z-index: 1;
}

.my-stuff-open-panel .my-stuff-list article > span {
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(10, 13, 19, 0.34);
  color: var(--accent-2);
  box-shadow: none;
}

.my-stuff-open-panel .my-stuff-list strong {
  color: var(--text);
}

.my-stuff-open-panel .my-stuff-list small {
  color: var(--muted);
}

.my-stuff-open-panel .my-stuff-list b {
  color: var(--accent-2);
}

.my-stuff-drafts {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(142, 151, 168, 0.12);
}

.my-stuff-bounty-scroll {
  max-height: 302px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-color: rgba(34, 211, 238, 0.54) rgba(10, 13, 19, 0.5);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.my-stuff-bounty-scroll::-webkit-scrollbar {
  width: 8px;
}

.my-stuff-bounty-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(10, 13, 19, 0.48);
}

.my-stuff-bounty-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.46);
}

.desk-scroll-button {
  position: relative;
  width: 100%;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-2);
  cursor: pointer;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.desk-scroll-button-up {
  margin-bottom: -4px;
}

.desk-scroll-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.desk-scroll-button:hover,
.desk-scroll-button:focus-visible {
  color: #f4f7fb;
  outline: 0;
}

.desk-scroll-button:hover::before,
.desk-scroll-button:focus-visible::before {
  opacity: 1;
}

.desk-scroll-button:hover .create-return-arrow,
.desk-scroll-button:focus-visible .create-return-arrow {
  animation: create-return-bob 0.86s ease-in-out infinite;
}

.desk-scroll-button[aria-disabled="true"] {
  color: var(--muted);
  cursor: default;
  opacity: 0.42;
}

.desk-scroll-button:disabled {
  pointer-events: none;
}

.desk-scroll-button[aria-disabled="true"]::before {
  opacity: 0;
}

.desk-scroll-button[aria-disabled="true"] .create-return-arrow {
  animation: none;
}

.my-stuff-list {
  display: grid;
  gap: 10px;
}

.my-stuff-list article,
.my-stuff-metric-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(142, 151, 168, 0.14);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.38);
}

.my-stuff-list article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.my-stuff-list strong,
.my-stuff-metric-row strong {
  display: block;
  color: var(--text);
}

.my-stuff-list small,
.my-stuff-metric-row span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.my-stuff-list b {
  color: var(--accent-2);
  font-size: 0.78rem;
}

.my-stuff-open-panel .my-stuff-draft-list article {
  border-color: rgba(251, 191, 36, 0.24);
  background:
    linear-gradient(270deg, rgba(251, 191, 36, 0.12), rgba(168, 85, 247, 0.06) 48%, transparent 72%),
    rgba(15, 23, 42, 0.5);
}

.my-stuff-open-panel .my-stuff-draft-list article::before {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.52), rgba(251, 191, 36, 0.24));
}

.my-stuff-open-panel .my-stuff-draft-list article > span {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(120, 53, 15, 0.18);
  color: #fbbf24;
}

.my-stuff-open-panel .my-stuff-draft-list article b {
  color: #fbbf24;
}

.my-stuff-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-stuff-chip-grid span {
  padding: 7px 9px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.07);
  color: #d9fbff;
  font-size: 0.78rem;
  font-weight: 850;
}

.sponsor-attention-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  margin-top: -12px;
}

.sponsor-attention-title h2 {
  margin: 0;
  color: #f3e8ff;
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.sponsor-attention-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 0 8px;
  border-bottom: 1px solid rgba(142, 151, 168, 0.12);
}

.sponsor-attention-tabs button {
  position: relative;
  min-height: 32px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.05;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 5px;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sponsor-attention-tabs button:hover,
.sponsor-attention-tabs button:focus-visible,
.sponsor-attention-tabs button.is-active {
  border-color: rgba(192, 132, 252, 0.72);
  background: transparent;
  color: #f3e8ff;
}

.sponsor-attention-tabs button:focus-visible {
  outline: 2px solid rgba(192, 132, 252, 0.28);
  outline-offset: 2px;
}

.sponsor-attention-tabs button span {
  position: absolute;
  top: -10px;
  right: 4px;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(192, 132, 252, 0.24);
  color: #f3e8ff;
  font-size: 0.67rem;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.22);
}

.sponsor-attention-panels {
  min-height: 174px;
}

.sponsor-attention-list {
  display: grid;
  gap: 10px;
}

.sponsor-attention-list[hidden] {
  display: none;
}

.sponsor-attention-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(142, 151, 168, 0.14);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.38);
}

.sponsor-attention-list article > span {
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.36);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.16);
  color: #f3e8ff;
  font-size: 0.72rem;
  font-weight: 950;
}

.sponsor-attention-list article.is-dispute > span {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(239, 68, 68, 0.18);
  color: #fee2e2;
}

.sponsor-attention-list strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}

.sponsor-attention-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.32;
}

.sponsor-watchlist-list {
  align-content: start;
}

.sponsor-watchlist-panel,
.my-stuff-share-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.sponsor-watchlist-copy {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.sponsor-watchlist-creators {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.creator-watchlist-card {
  position: relative;
  min-height: 58px;
  padding: 9px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--creator-banner) 32%, rgba(142, 151, 168, 0.2));
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--creator-banner) 24%, transparent), transparent 70%),
    linear-gradient(90deg, color-mix(in srgb, var(--creator-banner) 12%, rgba(10, 13, 19, 0.2)), rgba(10, 13, 19, 0.18)),
    rgba(10, 13, 19, 0.42);
}

.creator-watchlist-avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--creator-banner) 46%, rgba(217, 251, 255, 0.16));
  border-radius: 5px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--creator-banner) 42%, transparent), rgba(10, 13, 19, 0.72)),
    rgba(10, 13, 19, 0.58);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
}

.creator-watchlist-card strong,
.creator-watchlist-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-watchlist-card strong {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.1;
}

.creator-watchlist-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.share-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.share-link-grid a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.38);
  color: #d9fbff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.share-link-grid a:hover,
.share-link-grid a:focus-visible {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.08);
  color: #ffffff;
  outline: 0;
}

.share-link-grid a[aria-disabled="true"] {
  cursor: default;
}

.share-link-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.my-stuff-board[data-role-panel="creator"] {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.78fr);
  gap: 18px;
}

.creator-submissions-panel {
  position: relative;
  grid-row: span 5;
  overflow: hidden;
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(239, 68, 68, 0.12), rgba(34, 211, 238, 0.06) 48%, rgba(10, 13, 19, 0.92)),
    rgba(17, 20, 27, 0.92);
  border-color: rgba(248, 113, 113, 0.22);
}

.creator-submissions-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.55), rgba(34, 211, 238, 0.38), transparent);
  opacity: 0.85;
}

.creator-submission-grid {
  display: grid;
  gap: 10px;
}

.creator-submissions-panel > .section-heading {
  display: grid;
  grid-template-columns: auto minmax(168px, 224px) auto auto;
  align-items: center;
  gap: 12px;
}

.creator-submission-sort {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  justify-self: center;
  width: min(224px, 100%);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-submission-sort select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(142, 151, 168, 0.2);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.54);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0 9px;
}

.creator-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.creator-filter-tags button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  background: rgba(10, 13, 19, 0.34);
  color: var(--muted);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
}

.creator-filter-tags button:hover,
.creator-filter-tags button:focus-visible {
  border-color: rgba(34, 211, 238, 0.34);
  color: #d9fbff;
  outline: 0;
}

.creator-draft-pill {
  border-color: rgba(251, 191, 36, 0.42);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(248, 113, 113, 0.08)),
    rgba(10, 13, 19, 0.5);
  color: #fde68a;
}

.creator-submission-scroll {
  max-height: var(--creator-submission-scroll-height, 670px);
  overflow-y: hidden;
  padding-right: 8px;
  scrollbar-color: rgba(248, 113, 113, 0.44) rgba(10, 13, 19, 0.46);
  scrollbar-width: thin;
}

.creator-submission-scroll.is-scrollable {
  overflow-y: auto;
}

.creator-submission-card {
  position: relative;
  min-height: 126px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(142, 151, 168, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 34%),
    rgba(10, 13, 19, 0.36);
}

.creator-submission-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.creator-submission-topline,
.creator-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.creator-submission-topline span {
  padding: 5px 8px;
  border: 1px solid rgba(142, 151, 168, 0.2);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.creator-submission-topline strong {
  color: #d9fbff;
  font-size: 1.15rem;
}

.creator-submission-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.05;
}

.creator-submission-card p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.creator-status-row {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.creator-status-row span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.creator-status-row span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.52);
  vertical-align: 1px;
}

.creator-submission-card.is-reviewed,
.creator-submission-card.is-approved {
  border-color: rgba(52, 211, 153, 0.24);
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.14), transparent 54%),
    rgba(10, 13, 19, 0.42);
}

.creator-submission-card.is-pending {
  border-color: rgba(34, 211, 238, 0.24);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), transparent 54%),
    rgba(10, 13, 19, 0.42);
}

.creator-submission-card.is-revision {
  border-color: rgba(251, 191, 36, 0.28);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.13), transparent 56%),
    rgba(10, 13, 19, 0.42);
}

.creator-submission-card.is-denied {
  border-color: rgba(248, 113, 113, 0.28);
  background:
    linear-gradient(135deg, rgba(248, 113, 113, 0.13), transparent 56%),
    rgba(10, 13, 19, 0.42);
}

.creator-submission-card.is-disputed {
  border-color: rgba(192, 132, 252, 0.28);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.14), transparent 56%),
    rgba(10, 13, 19, 0.42);
}

.creator-rewards-panel,
.creator-trophy-panel,
.creator-share-panel,
.creator-applications-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  border-color: rgba(34, 211, 238, 0.18);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.08), transparent 58%),
    rgba(17, 20, 27, 0.9);
}

.creator-application-list {
  display: grid;
  gap: 9px;
}

.creator-application-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(142, 151, 168, 0.14);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.34);
}

.creator-application-list article > span {
  min-width: 52px;
  padding: 5px 7px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  color: #d9fbff;
  font-size: 0.66rem;
  font-weight: 950;
}

.creator-application-list strong,
.creator-application-list small {
  display: block;
}

.creator-application-list strong {
  color: var(--text);
  font-size: 0.84rem;
}

.creator-application-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.32;
}

.creator-reward-total {
  display: grid;
  gap: 5px;
}

.creator-rewards-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  min-height: 0;
  padding: 15px 16px 14px;
}

.creator-rewards-panel .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
  gap: 8px;
}

.creator-rewards-panel .section-heading h2 {
  font-size: 0.98rem;
  line-height: 1.05;
}

.creator-rewards-panel .section-heading .eyebrow {
  margin-bottom: 2px;
}

.creator-reward-total strong {
  color: #d9fbff;
  font-size: clamp(2.65rem, 5vw, 4.25rem);
  line-height: 0.86;
}

.creator-reward-total span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.creator-reward-actions {
  display: grid;
  align-self: start;
  justify-self: end;
  gap: 7px;
  min-width: 126px;
}

.creator-reward-actions .small-btn,
.creator-reward-actions .ghost-btn {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 900;
}

.creator-reward-actions .creator-reward-primary {
  min-height: 48px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.96), rgba(34, 211, 238, 0.82));
  color: #05110d;
  box-shadow: 0 12px 26px rgba(52, 211, 153, 0.18);
}

.creator-reward-actions .creator-reward-primary:hover,
.creator-reward-actions .creator-reward-primary:focus-visible {
  background: linear-gradient(135deg, #6ee7b7, #67e8f9);
  color: #04100d;
  outline: 0;
  transform: translateY(-1px);
}

.creator-gallery-link {
  color: #d9fbff;
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}

.creator-gallery-link:hover,
.creator-gallery-link:focus-visible {
  color: var(--accent-2);
  outline: 0;
}

.creator-trophy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.creator-trophy-grid span {
  min-height: 66px;
  padding: 10px;
  display: grid;
  align-items: end;
  border: 1px solid rgba(142, 151, 168, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 113, 113, 0.16), rgba(34, 211, 238, 0.08)),
    rgba(10, 13, 19, 0.42);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 900;
}

.my-stuff-role-gate {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: grid;
  place-items: center;
  padding: 34px;
  transition:
    opacity 0.28s ease,
    right 0.24s ease,
    visibility 0.28s ease;
}

.my-stuff-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.34);
  backdrop-filter: blur(18px);
  transition: opacity 0.3s ease;
}

.my-stuff-role-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  display: grid;
  gap: 18px;
  transition:
    width 0.34s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.my-stuff-saved-label {
  display: none;
  justify-self: center;
  min-width: 84px;
  min-height: 26px;
  padding: 0 14px;
  place-items: center;
  border: 1px solid rgba(142, 151, 168, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(20, 28, 40, 0.72), rgba(10, 13, 19, 0.52)),
    rgba(10, 13, 19, 0.5);
  color: rgba(217, 251, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.my-stuff-gate-copy {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  transition: opacity 0.2s ease, transform 0.26s ease;
}

.my-stuff-gate-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.my-stuff-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.my-stuff-remember input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 5px;
  background: rgba(10, 13, 19, 0.7);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.my-stuff-remember input::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 44%),
    var(--accent-2);
  opacity: 0;
  transform: scale(0.48);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.my-stuff-remember input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.my-stuff-role-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.my-stuff-role-card {
  width: 100%;
  min-height: 300px;
  contain: layout paint;
  transform-origin: center center;
}

.my-stuff-role-card .create-type-icon {
  transform: translateY(-42px);
}

.my-stuff-role-card:hover,
.my-stuff-role-card:focus-visible,
.my-stuff-role-card.is-selected {
  transform: none;
}

.my-stuff-role-card.sponsor-role:hover,
.my-stuff-role-card.sponsor-role:focus-visible {
  border-color: rgba(192, 132, 252, 0.48);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.13), rgba(17, 20, 27, 0.92) 62%),
    rgba(17, 20, 27, 0.92);
  box-shadow: 0 20px 55px rgba(168, 85, 247, 0.14);
}

.my-stuff-role-card.creator-role:hover,
.my-stuff-role-card.creator-role:focus-visible {
  border-color: rgba(248, 113, 113, 0.46);
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(17, 20, 27, 0.92) 62%),
    rgba(17, 20, 27, 0.92);
  box-shadow: 0 20px 55px rgba(239, 68, 68, 0.13);
}

.my-stuff-role-card:hover .create-type-icon,
.my-stuff-role-card:focus-visible .create-type-icon {
  width: 72%;
  opacity: 0.16;
  transform: translateY(50%) scale(1.72);
  z-index: 0;
}

.my-stuff-role-card.creator-role:hover .create-type-icon,
.my-stuff-role-card.creator-role:focus-visible .create-type-icon {
  transform: translateY(42%) scale(1.72);
}

.my-stuff-role-card.sponsor-role:hover .create-card-kicker,
.my-stuff-role-card.sponsor-role.is-selected .create-card-kicker,
.my-stuff-role-card.sponsor-role:focus-visible .create-card-kicker {
  border-color: rgba(192, 132, 252, 0.82);
  background: rgba(168, 85, 247, 0.28);
  color: #f3e8ff;
}

.my-stuff-role-card.creator-role:hover .create-card-kicker,
.my-stuff-role-card.creator-role.is-selected .create-card-kicker,
.my-stuff-role-card.creator-role:focus-visible .create-card-kicker {
  border-color: rgba(248, 113, 113, 0.78);
  background: rgba(239, 68, 68, 0.24);
  color: #fee2e2;
}

.my-stuff-page.has-role .my-stuff-role-gate {
  inset: 5px var(--my-stuff-switcher-right) auto auto;
  width: auto;
  min-height: 0;
  padding: 0;
  place-items: end;
  pointer-events: none;
}

.my-stuff-page.has-role .my-stuff-gate-backdrop {
  opacity: 0;
  pointer-events: none;
}

.my-stuff-page.has-role .my-stuff-role-panel {
  width: 246px;
  gap: 5px;
  transform: translate(0, 0);
  pointer-events: auto;
}

.my-stuff-page.has-role .my-stuff-gate-copy {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.my-stuff-page.has-role .my-stuff-role-cards {
  grid-template-columns: repeat(2, 118px);
  gap: 8px;
}

.my-stuff-page.has-role .my-stuff-role-card {
  min-height: 66px;
  height: 66px;
  padding: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  grid-template-rows: 1fr;
  transform: none;
}

.my-stuff-page.has-role .my-stuff-role-card:hover,
.my-stuff-page.has-role .my-stuff-role-card:focus-visible,
.my-stuff-page.has-role .my-stuff-role-card.is-selected {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.my-stuff-page.has-role .my-stuff-role-card::after,
.my-stuff-page.has-role .my-stuff-role-card .create-type-icon,
.my-stuff-page.has-role .my-stuff-role-card strong,
.my-stuff-page.has-role .my-stuff-role-card ul {
  display: none;
}

.my-stuff-page.has-role .my-stuff-role-card .create-card-kicker {
  width: 100%;
  padding: 9px 8px;
  top: 50%;
  font-size: 0.7rem;
  border-width: 1px;
  letter-spacing: 0.06em;
  transform: translate(-50%, -50%);
}

.my-stuff-page.has-role .my-stuff-role-card.is-selected .create-card-kicker {
  border-color: rgba(34, 211, 238, 0.68);
  background: rgba(34, 211, 238, 0.12);
  color: #d9fbff;
}

.my-stuff-page.has-role .my-stuff-role-card:not(.is-selected) .create-card-kicker {
  border-color: rgba(142, 151, 168, 0.24);
  background: rgba(10, 13, 19, 0.5);
  color: var(--muted);
}

.my-stuff-page.has-role .my-stuff-saved-label {
  display: inline-grid;
}

@media (max-width: 640px) {
  .sponsor-watchlist-creators {
    grid-template-columns: 1fr;
  }

  .account-gallery-topline {
    grid-template-columns: 1fr;
  }

  .account-gallery-featured {
    padding: 14px 0 0;
    border-top: 1px solid rgba(142, 151, 168, 0.18);
    border-left: 0;
  }

}

.account-upload-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(142, 151, 168, 0.2);
  border-radius: 6px;
  background: rgba(10, 13, 19, 0.28);
}

.account-upload-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.account-upload-item:not(:has(img)) {
  min-height: 64px;
  padding: 8px;
  display: grid;
  align-content: center;
  gap: 3px;
}

.account-upload-item strong,
.account-upload-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-upload-item strong {
  font-size: 0.7rem;
}

.account-upload-item small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
}

.account-gallery-upload-list {
  padding-top: 2px;
}

.account-favorites-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.account-favorites-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.account-favorites-grid {
  display: grid;
  gap: 12px;
}

.account-favorites-toggle {
  display: inline-flex;
  gap: 4px;
}

.account-favorites-toggle button {
  padding: 5px 7px;
  border: 1px solid rgba(142, 151, 168, 0.24);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 850;
}

.account-favorites-toggle button.is-active,
.account-favorites-toggle button:hover,
.account-favorites-toggle button:focus-visible {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-2);
  outline: 0;
}

.account-favorites-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}

.account-favorites-grid article > span {
  grid-row: span 2;
  width: 52px;
  aspect-ratio: 1;
  border: 1px dashed rgba(34, 211, 238, 0.3);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.07));
}

.account-favorites-grid strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
}

.account-favorites-grid small {
  color: var(--muted);
  font-weight: 700;
}

.account-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.account-item div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-item div span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.account-saved-link {
  display: grid;
  gap: 10px;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.account-saved-link:hover,
.account-saved-link:focus-visible {
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(34, 211, 238, 0.06);
  outline: 0;
  transform: translateY(-1px);
}

.account-saved-link p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-placeholder-content {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}

.account-panel-page-title h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  letter-spacing: 0;
}

.account-settings-panel {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1fr);
  gap: 0;
  background: transparent;
}

.account-settings-list {
  display: grid;
  align-content: start;
  padding-right: 24px;
}

.account-setting-row {
  position: relative;
  min-height: 72px;
  width: 100%;
  padding: 16px 44px 16px 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent, rgba(42, 49, 64, 0.72) 12%, rgba(42, 49, 64, 0.72) 88%, transparent) top / 100% 1px no-repeat;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}

.account-setting-row:first-child {
  background: none;
}

.account-setting-row:hover,
.account-setting-row:focus-visible,
.account-setting-row.is-active {
  outline: 0;
  background-color: rgba(34, 211, 238, 0.04);
}

.account-setting-row.is-active {
  color: var(--accent-2);
}

.account-setting-row > span:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-setting-row strong {
  font-size: 0.98rem;
}

.account-setting-row small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.account-setting-row.has-arrow::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.theme-choice-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.theme-choice-row strong {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(10, 13, 19, 0.3);
  font-size: 0.78rem;
}

.theme-choice-row strong.is-selected {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-2);
}

.account-settings-detail {
  min-height: 0;
  padding: 2px 0 0 28px;
  border-left: 1px solid rgba(34, 211, 238, 0.34);
  box-shadow: inset 14px 0 22px -22px rgba(34, 211, 238, 0.8);
}

.settings-detail-panel[hidden] {
  display: none;
}

.settings-detail-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.settings-detail-panel h2 {
  margin: -10px 0 2px;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  letter-spacing: 0;
}

.account-disputes-panel {
  display: grid;
  gap: 16px;
}

.account-disputes-panel h3,
.account-disputes-panel p {
  margin: 0;
}

.account-disputes-panel h3 {
  color: var(--text);
  font-size: 1.55rem;
}

.account-disputes-panel p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.account-dispute-preview-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-dispute-preview-list span {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(142, 151, 168, 0.16);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.38);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  align-items: flex-end;
}

.settings-option-list {
  display: grid;
}

.settings-option-list label {
  min-height: 58px;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(90deg, transparent, rgba(42, 49, 64, 0.7) 10%, rgba(42, 49, 64, 0.7) 90%, transparent) top / 100% 1px no-repeat;
}

.settings-option-list label:first-child {
  background: none;
}

.settings-option-list label span {
  color: var(--text);
  font-weight: 800;
}

.settings-option-list label strong {
  color: var(--muted);
  font-size: 0.82rem;
}

.settings-option-list input {
  appearance: none;
  width: 36px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 13, 19, 0.72);
  position: relative;
}

.settings-option-list input::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
}

.settings-option-list input:checked {
  border-color: rgba(34, 211, 238, 0.62);
  background: rgba(34, 211, 238, 0.14);
}

.settings-option-list input:checked::after {
  background: var(--accent-2);
  transform: translateX(16px);
}

.account-profile-panel {
  border-radius: 8px;
  min-height: 0;
  overflow: hidden;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.account-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-fields label {
  display: grid;
  gap: 7px;
  min-height: 74px;
}

.account-fields label.wide {
  grid-column: 1 / -1;
}

.account-fields span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.account-field-value {
  min-height: 44px;
  padding: 12px 13px;
  border: 1px solid rgba(42, 49, 64, 0.66);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.24);
  color: var(--text);
  display: flex;
  align-items: center;
  font-size: 0.96rem;
  line-height: 1.35;
}

.account-field-bio {
  min-height: 96px;
  align-items: start;
}

.account-fields input,
.account-fields select,
.account-fields textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  padding: 12px 13px;
  outline: 0;
  font: inherit;
  display: none;
}

.account-fields select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.account-fields textarea {
  min-height: 96px;
  resize: vertical;
}

.account-tag-manager {
  position: relative;
  display: grid;
  gap: 12px;
}

.account-tag-picker {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.1)),
    var(--surface-2);
}

.account-tag-picker > div {
  display: grid;
  gap: 8px;
}

.account-tag-picker strong {
  font-size: 0.86rem;
}

.account-tag-picker small {
  color: var(--muted);
  font-weight: 700;
}

.account-tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.account-tag-extra {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(34, 211, 238, 0.14);
}

.account-tag-extra[hidden] {
  display: none;
}

.account-tag-options button {
  border: 1px solid rgba(142, 151, 168, 0.3);
  border-radius: 999px;
  background: rgba(142, 151, 168, 0.08);
  color: var(--muted);
  padding: 6px 9px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.account-tag-options .account-tag-more {
  border-color: rgba(139, 92, 246, 0.46);
  background: rgba(139, 92, 246, 0.14);
  color: #ddd6fe;
}

.account-tag-options button:hover,
.account-tag-options button:focus-visible,
.account-tag-options button[aria-pressed="true"] {
  border-color: rgba(34, 211, 238, 0.52);
  background: rgba(34, 211, 238, 0.14);
  color: var(--accent-2);
  outline: 0;
}

.account-priority-tags button[aria-pressed="true"] {
  border-color: rgba(250, 204, 21, 0.52);
  background: rgba(250, 204, 21, 0.13);
  color: #fde68a;
}

.account-tag-options button[data-account-tag="Bounty Hunter"][aria-pressed="true"],
.tag-row span[data-profile-tag="Bounty Hunter"] {
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(239, 68, 68, 0.17);
  color: #fecaca;
}

.account-tag-options button[data-account-tag="Sponsor"][aria-pressed="true"],
.tag-row span[data-profile-tag="Sponsor"] {
  border-color: rgba(192, 132, 252, 0.64);
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
}

.tag-row span[data-profile-tag="Bounty Dualist"] {
  border-color: rgba(244, 114, 182, 0.64);
  background: linear-gradient(100deg, rgba(168, 85, 247, 0.24), rgba(239, 68, 68, 0.2));
  color: #fbcfe8;
}

.account-profile-panel.is-editing .account-field-value {
  display: none;
}

.account-profile-panel.is-editing .account-fields input,
.account-profile-panel.is-editing .account-fields select,
.account-profile-panel.is-editing .account-fields textarea {
  display: block;
}

.account-fields input:focus,
.account-fields select:focus,
.account-fields textarea:focus {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.09);
}

.account-side-stack {
  display: grid;
  gap: 18px;
}

.account-manage-tools {
  display: grid;
  gap: 10px;
  border-color: rgba(139, 92, 246, 0.28);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.05)),
    var(--surface);
}

.account-manage-tools h3,
.account-manage-tools p {
  margin: 0;
}

.account-manage-tools h3 {
  font-size: 1rem;
}

.account-manage-tools small {
  color: var(--muted);
  line-height: 1.4;
}

.account-checklist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.account-checklist span {
  color: var(--muted);
  font-weight: 800;
}

.account-meter {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(142, 151, 168, 0.16);
  overflow: hidden;
}

.account-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--success));
}

.account-stat-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.account-stat-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.account-stat-list strong {
  font-size: 1.35rem;
}

.account-stat-list span {
  color: var(--muted);
  font-weight: 750;
}

.account-wallet-content {
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}

.account-wallet-content::-webkit-scrollbar {
  display: none;
}

.wallet-main-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  border-color: rgba(34, 211, 238, 0.2);
}

.wallet-status {
  padding: 6px 9px;
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.09);
  color: #bbf7d0;
  font-size: 0.74rem;
  font-weight: 850;
}

.wallet-balance-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(139, 92, 246, 0.09)),
    rgba(10, 13, 19, 0.32);
}

.wallet-balance-card > div:first-child {
  display: grid;
  gap: 5px;
}

.wallet-balance-card span,
.wallet-balance-card small {
  color: var(--muted);
  font-weight: 750;
}

.wallet-balance-card strong {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.wallet-actions,
.wallet-period-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wallet-earnings-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 13, 19, 0.28);
}

.wallet-earnings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wallet-earnings-heading p,
.wallet-earnings-heading strong {
  margin: 0;
}

.wallet-earnings-heading strong {
  font-size: 1.3rem;
}

.wallet-period-toggle button {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  padding: 6px 9px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
}

.wallet-period-toggle button.is-active,
.wallet-period-toggle button:hover,
.wallet-period-toggle button:focus-visible {
  border-color: rgba(34, 211, 238, 0.46);
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-2);
  outline: 0;
}

.wallet-chart-shell {
  height: 230px;
  margin-top: 18px;
  border-bottom: 1px solid rgba(142, 151, 168, 0.18);
  background: repeating-linear-gradient(to bottom, transparent 0 45px, rgba(142, 151, 168, 0.11) 46px);
}

.wallet-chart-shell svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wallet-chart-area {
  fill: url(#walletChartFill);
  transition: d 0.25s ease;
}

.wallet-chart-line {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 8px rgba(34, 211, 238, 0.24));
  transition: points 0.25s ease;
}

.wallet-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.wallet-payout-panel {
  display: grid;
  gap: 10px;
  border-color: rgba(139, 92, 246, 0.28);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.04)), var(--surface);
}

.wallet-payout-panel h3,
.wallet-payout-panel p {
  margin: 0;
}

.wallet-payout-panel h3 {
  font-size: 1rem;
}

.wallet-payout-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.content-column {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.hero-panel {
  min-height: 230px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.07)),
    var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.hero-carousel {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.hero-carousel-track {
  min-height: 168px;
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.hero-carousel .hero-actions {
  align-self: end;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 30px;
  height: 116px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.72;
  transform: translateY(-50%);
  transition: color 0.18s ease, opacity 0.18s ease, text-shadow 0.18s ease;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
  background: transparent;
  color: var(--accent-2);
  opacity: 1;
  outline: none;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.82), 0 0 20px rgba(34, 211, 238, 0.38);
}

.hero-carousel-control-prev {
  left: 2px;
}

.hero-carousel-control-next {
  right: 2px;
}

.hero-carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.hero-carousel-indicators button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-carousel-indicators button.is-active {
  width: 22px;
  background: var(--accent-2);
}

.hero-carousel-indicators button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.ghost-btn[href],
.primary-btn[href],
.secondary-btn[href],
.small-btn[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.hero-copy h2,
.section-heading h2,
.target-copy h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  max-width: 760px;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Help Page */

.help-page {
  min-height: calc(100vh - 78px);
  padding: 40px 28px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 24px;
}

.faq-header {
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.faq-header h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.faq-header p {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 750;
}

.faq-search {
  width: min(620px, 100%);
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(34, 211, 238, 0.42);
  border-radius: 999px;
  background: rgba(17, 20, 27, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-search span {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.faq-search input::placeholder {
  color: var(--muted-2);
}

.faq-board {
  width: min(980px, 100%);
  padding: 20px;
  border: 1px solid rgba(217, 251, 255, 0.2);
  border-radius: 10px;
  background: #0d7fb3;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 12px;
}

.faq-accordion,
.faq-question {
  min-width: 0;
}

.faq-accordion > summary,
.faq-question > summary {
  list-style: none;
}

.faq-accordion > summary::-webkit-details-marker,
.faq-question > summary::-webkit-details-marker {
  display: none;
}

.faq-accordion > summary {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(217, 251, 255, 0.24);
  border-radius: 4px;
  background: rgba(9, 11, 16, 0.92);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.faq-accordion > summary:hover,
.faq-accordion > summary:focus-visible {
  border-color: rgba(217, 251, 255, 0.52);
  outline: 0;
}

.faq-accordion > summary b {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 4px;
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
}

.faq-accordion[open] > summary b {
  transform: rotate(45deg);
}

.faq-accordion-body {
  padding: 12px 0 4px;
  display: grid;
  gap: 8px;
}

.faq-question {
  border: 1px solid rgba(9, 11, 16, 0.2);
  border-radius: 4px;
  background: rgba(241, 245, 249, 0.98);
  color: #111827;
  overflow: hidden;
}

.faq-question > summary {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 850;
}

.faq-question > summary:hover,
.faq-question > summary:focus-visible {
  background: #e2eef6;
  outline: 0;
}

.faq-question > p {
  margin: 0;
  padding: 0 16px 16px;
  color: #334155;
  line-height: 1.5;
}

.faq-tutorial-question > summary small {
  padding: 4px 8px;
  border: 1px solid rgba(3, 105, 161, 0.28);
  border-radius: 4px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-tutorial-question > summary:hover small,
.faq-tutorial-question > summary:focus-visible small {
  border-color: rgba(3, 105, 161, 0.48);
  background: rgba(14, 165, 233, 0.2);
}

.faq-term-link {
  color: #0369a1;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.faq-term-link:hover,
.faq-term-link:focus-visible {
  color: #075985;
  outline: 0;
}

.faq-question[open] > summary {
  color: #075985;
}

.faq-empty {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(217, 251, 255, 0.26);
  border-radius: 4px;
  background: rgba(9, 11, 16, 0.82);
  color: #d9fbff;
  text-align: center;
  font-weight: 850;
}

.tutorial-scroll-gate {
  width: min(980px, 100%);
  min-height: 126px;
  padding: 16px 0 0;
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 12px;
}

.tutorial-scroll-gate p {
  margin: 0;
  color: rgba(243, 245, 247, 0.42);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-weight: 950;
  letter-spacing: 0;
}

.tutorial-index-jump {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(217, 251, 255, 0.18);
  border-radius: 4px 4px 0 0;
  background: rgba(13, 127, 179, 0.42);
  color: rgba(217, 251, 255, 0.72);
  display: grid;
  place-items: center;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.tutorial-index-jump:hover,
.tutorial-index-jump:focus-visible {
  border-color: rgba(217, 251, 255, 0.42);
  background: rgba(13, 127, 179, 0.7);
  color: #d9fbff;
  outline: 0;
}

.tutorial-index-jump span {
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
}

.tutorial-index {
  width: min(980px, 100%);
  min-height: 82vh;
  padding: 34px 0 44px;
  display: grid;
  align-content: start;
  gap: 18px;
  scroll-margin-top: 96px;
}

.tutorial-index-heading {
  display: grid;
  gap: 6px;
}

.tutorial-index-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.65rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.tutorial-index-sections {
  display: grid;
  gap: 24px;
}

.tutorial-index-section {
  display: grid;
  gap: 10px;
}

.tutorial-index-section > h3 {
  margin: 0;
  color: rgba(217, 251, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tutorial-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tutorial-index-card {
  min-height: 168px;
  padding: 18px;
  border: 1px solid rgba(217, 251, 255, 0.2);
  border-radius: 4px;
  background: rgba(17, 20, 27, 0.9);
  display: grid;
  align-content: start;
  gap: 9px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.tutorial-index-card[role="button"] {
  cursor: pointer;
}

.tutorial-index-card[role="button"]:hover {
  border-color: rgba(34, 211, 238, 0.46);
  background: rgba(17, 20, 27, 0.96);
}

.tutorial-index-card[data-tutorial-slide-group]::after {
  content: attr(data-tutorial-slide-count) " slides";
  align-self: end;
  justify-self: start;
  padding: 4px 8px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.09);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 900;
}

.tutorial-index-card:focus,
.tutorial-index-card.is-highlighted {
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(17, 20, 27, 0.98);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
  outline: 0;
}

.tutorial-index-card span {
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 950;
}

.tutorial-index-card h3,
.tutorial-index-card h4,
.tutorial-index-card p {
  margin: 0;
}

.tutorial-index-card h3,
.tutorial-index-card h4 {
  font-size: 1.1rem;
  line-height: 1.18;
}

.tutorial-index-card p {
  color: var(--muted);
  line-height: 1.45;
}

body.quick-start-open {
  overflow: hidden;
}

body.quick-start-open .app-shell {
  filter: blur(8px);
  transform: scale(0.995);
  pointer-events: none;
  user-select: none;
}

body.tutorial-slide-open {
  overflow: hidden;
}

body.tutorial-slide-open[data-tutorial-spotlight="page"] .app-shell {
  filter: blur(7px);
  transform: scale(0.995);
  opacity: 0.48;
  pointer-events: none;
  user-select: none;
}

body.tutorial-slide-open[data-tutorial-spotlight="sidebar"] .main-area {
  filter: blur(7px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

body.tutorial-slide-open[data-tutorial-spotlight="sidebar"] .sidebar {
  z-index: 240;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.42), 18px 0 48px rgba(34, 211, 238, 0.12);
}

body.tutorial-slide-open[data-tutorial-spotlight="sidebar"] .sidebar::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(217, 251, 255, 0.2);
  border-radius: 18px;
  pointer-events: none;
}

.tutorial-live-tour {
  position: fixed;
  inset: 0;
  z-index: 230;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(2, 6, 23, 0.22);
  display: grid;
  place-items: center;
}

.tutorial-live-tour[hidden] {
  display: none;
}

.tutorial-live-tour.is-scroll-exit {
  pointer-events: none;
}

body.tutorial-slide-open[data-tutorial-transition="next"] .tutorial-live-tour.is-scroll-exit {
  animation: tutorialScrollExitNext 0.34s ease both;
}

body.tutorial-slide-open[data-tutorial-transition="previous"] .tutorial-live-tour.is-scroll-exit {
  animation: tutorialScrollExitPrevious 0.34s ease both;
}

body.tutorial-slide-open[data-tutorial-transition="next"] .tutorial-live-tour.is-scroll-enter {
  animation: tutorialScrollEnterNext 0.36s ease both;
}

body.tutorial-slide-open[data-tutorial-transition="previous"] .tutorial-live-tour.is-scroll-enter {
  animation: tutorialScrollEnterPrevious 0.36s ease both;
}

.tutorial-live-stage {
  position: relative;
  width: min(940px, 100%);
  min-height: min(560px, calc(100vh - 112px));
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(217, 251, 255, 0.24);
  border-radius: 8px;
  background: rgba(9, 11, 16, 0.94);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  backdrop-filter: blur(18px);
}

body.tutorial-slide-open[data-tutorial-slide="what-is"] .tutorial-live-stage,
body.tutorial-slide-open[data-tutorial-slide="bounty-htr-definition"] .tutorial-live-stage {
  width: min(1280px, 100%);
  min-height: min(720px, calc(100vh - 80px));
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.tutorial-slide-open[data-tutorial-spotlight="sidebar"] .tutorial-live-tour {
  place-items: center end;
}

body.tutorial-slide-open[data-tutorial-spotlight="sidebar"] .tutorial-live-stage {
  width: min(780px, calc(100vw - 392px));
  min-height: min(500px, calc(100vh - 112px));
}

.tutorial-live-exit {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 24px);
  z-index: 4;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(217, 251, 255, 0.26);
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.76);
  color: #f8fafc;
  font-weight: 900;
}

.tutorial-live-exit:hover,
.tutorial-live-exit:focus-visible {
  border-color: rgba(34, 211, 238, 0.62);
  background: rgba(17, 20, 27, 0.94);
  outline: 0;
}

.tutorial-live-slide {
  display: none;
  align-content: center;
  gap: 18px;
}

.tutorial-live-slide.is-active {
  display: grid;
}

.tutorial-live-slide h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2.6rem, 7vw, 6.25rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
}

.tutorial-live-image-slide {
  min-height: 100vh;
}

body.tutorial-slide-open[data-tutorial-slide="what-is"] .tutorial-live-tour {
  padding: 0;
  overflow: hidden;
}

.tutorial-live-image-hero {
  position: fixed;
  inset: 0 -12vw -12vh -12vw;
  width: auto;
  min-height: auto;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.08)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.tutorial-live-image-hero h2 {
  position: fixed;
  inset: clamp(24px, 5vw, 64px);
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(36px, 7vw, 96px);
  text-align: center;
}

.tutorial-live-image-hero h2 span {
  display: block;
  font-size: clamp(2.6rem, 8vw, 7rem);
}

.tutorial-live-image-hero h2 strong {
  display: block;
  color: #ffffff;
  font-size: clamp(3.1rem, 10vw, 8.4rem);
  font-weight: 950;
  line-height: 0.92;
  animation: tutorialTitleFade 1.15s ease 0.45s both;
}

.tutorial-live-hidden-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.tutorial-live-definition-slide {
  align-content: start;
  min-height: min(660px, calc(100vh - 120px));
  padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 72px);
}

.tutorial-live-definition-slide h2 {
  align-self: start;
  font-size: clamp(3rem, 9vw, 7.4rem);
}

.tutorial-live-founder-slide {
  align-content: center;
  min-height: min(660px, calc(100vh - 120px));
  padding: clamp(42px, 7vw, 86px) clamp(24px, 6vw, 72px);
}

.tutorial-live-founder-slide h2 {
  font-size: clamp(2.6rem, 8vw, 6rem);
}

.founder-quote-copy {
  max-width: min(960px, 100%);
}

.founder-quote {
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
  border-left: 3px solid rgba(34, 211, 238, 0.48);
  border-radius: 0 8px 8px 0;
  background: rgba(2, 6, 23, 0.56);
  box-shadow: inset 0 1px 0 rgba(217, 251, 255, 0.06);
  display: grid;
  gap: 10px;
}

.founder-quote .type-line {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  color: rgba(248, 250, 252, 0.9);
  font-family: "Courier New", Consolas, monospace;
  font-size: clamp(1.04rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.42;
}

.founder-quote .type-line::after {
  content: "";
  position: absolute;
  top: 0.12em;
  right: -0.18em;
  width: 0.12em;
  height: 1.1em;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.42);
  opacity: 0;
}

.founder-quote footer {
  margin-top: 8px;
  color: var(--accent-2);
  font-family: "Courier New", Consolas, monospace;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-style: italic;
  font-weight: 760;
  opacity: 0;
  animation: tutorialFounderCreditIn 0.4s ease 7.95s both;
}

.tutorial-definition-copy {
  position: relative;
  max-width: min(920px, 100%);
  min-height: 300px;
  padding-top: 6px;
}

.traditional-definition,
.site-definition {
  grid-area: 1 / 1;
}

.traditional-definition {
  max-width: 760px;
  color: rgba(217, 226, 236, 0.74);
}

.definition-part {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.definition-term {
  margin-bottom: 16px;
  color: rgba(217, 226, 236, 0.68);
  animation: tutorialDefinitionFadeText 0.9s ease 5.45s both;
}

.definition-term em {
  color: rgba(217, 226, 236, 0.46);
  font-style: italic;
}

.definition-muted {
  animation: tutorialDefinitionFadeText 0.9s ease 5.45s both;
}

.definition-pursues,
.definition-reward {
  font-weight: 950;
}

.definition-pursues {
  animation: tutorialPursuesHighlightDelete 9.4s ease both;
}

.definition-reward {
  animation: tutorialRewardHighlightDelete 9.4s ease 0.15s both;
}

.site-definition {
  max-width: 900px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(217, 251, 255, 0.08);
  opacity: 0;
  animation: tutorialSiteDefinitionAppear 0.22s linear 9.65s both;
}

.site-definition p:not(.type-line) {
  display: none;
}

.site-definition .type-line {
  position: relative;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  color: rgba(248, 250, 252, 0.94);
  font-family: "Courier New", Consolas, monospace;
  font-size: clamp(1.05rem, 2vw, 1.48rem);
  line-height: 1.38;
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.12);
}

.site-definition .type-line::after {
  content: "";
  position: absolute;
  top: 0.12em;
  right: -0.18em;
  width: 0.12em;
  height: 1.1em;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.48);
  opacity: 0;
}

.site-definition .type-line:nth-of-type(1) {
  animation: tutorialTypeLine 0.55s steps(24, end) 9.8s both;
}

.site-definition .type-line:nth-of-type(1)::after {
  animation: tutorialCursorActive 0.55s steps(1, end) 9.8s both;
}

.site-definition .type-line:nth-of-type(2) {
  animation: tutorialTypeLine 1s steps(62, end) 10.5s both;
}

.site-definition .type-line:nth-of-type(2)::after {
  animation: tutorialCursorActive 1s steps(1, end) 10.5s both;
}

.site-definition .type-line:nth-of-type(3) {
  animation: tutorialTypeLine 0.65s steps(32, end) 11.65s both;
}

.site-definition .type-line:nth-of-type(3)::after {
  animation: tutorialCursorActive 0.65s steps(1, end) 11.65s both;
}

.site-definition .type-line:nth-of-type(4) {
  animation: tutorialTypeLine 0.95s steps(58, end) 12.45s both;
}

.site-definition .type-line:nth-of-type(4)::after {
  animation: tutorialCursorActive 0.95s steps(1, end) 12.45s both;
}

.site-definition .type-line:nth-of-type(5) {
  animation: tutorialTypeLine 0.48s steps(22, end) 13.55s both;
}

.site-definition .type-line:nth-of-type(5)::after {
  animation: tutorialCursorActive 0.48s steps(1, end) 13.55s both;
}

.site-definition .type-line:nth-of-type(6) {
  color: var(--accent-2);
  font-weight: 900;
  animation: tutorialTypeLine 0.72s steps(44, end) 14.18s both;
}

.site-definition .type-line:nth-of-type(6)::after {
  animation: tutorialCursorActive 0.72s steps(1, end) 14.18s both;
}

.site-definition .type-line:nth-of-type(7) {
  color: var(--accent-2);
  font-weight: 900;
  animation: tutorialTypeLine 0.34s steps(8, end) 15.65s both;
}

.site-definition .type-line:nth-of-type(7)::after {
  animation: tutorialCursorActive 0.34s steps(1, end) 15.65s both;
}

.site-definition .type-line:nth-of-type(8) {
  color: var(--accent-2);
  font-weight: 760;
  animation: tutorialTypeLine 0.72s steps(30, end) 16.45s both;
}

.site-definition .type-line:nth-of-type(8)::after {
  animation: tutorialCursorActive 0.72s steps(1, end) 16.45s both, tutorialCursorBlink 0.8s steps(1, end) 17.17s infinite;
}

.site-definition .type-line strong {
  font-weight: 950;
}

.site-definition .type-line-final strong {
  font-weight: 760;
}

.founder-quote .type-line:nth-of-type(1) {
  animation: tutorialTypeLine 0.9s steps(54, end) 0.25s both;
}

.founder-quote .type-line:nth-of-type(1)::after {
  animation: tutorialCursorActive 0.9s steps(1, end) 0.25s both;
}

.founder-quote .type-line:nth-of-type(2) {
  animation: tutorialTypeLine 1.05s steps(68, end) 1.3s both;
}

.founder-quote .type-line:nth-of-type(2)::after {
  animation: tutorialCursorActive 1.05s steps(1, end) 1.3s both;
}

.founder-quote .type-line:nth-of-type(3) {
  animation: tutorialTypeLine 0.95s steps(56, end) 2.5s both;
}

.founder-quote .type-line:nth-of-type(3)::after {
  animation: tutorialCursorActive 0.95s steps(1, end) 2.5s both;
}

.founder-quote .type-line:nth-of-type(4) {
  animation: tutorialTypeLine 1s steps(66, end) 3.6s both;
}

.founder-quote .type-line:nth-of-type(4)::after {
  animation: tutorialCursorActive 1s steps(1, end) 3.6s both;
}

.founder-quote .type-line:nth-of-type(5) {
  animation: tutorialTypeLine 0.9s steps(52, end) 4.75s both;
}

.founder-quote .type-line:nth-of-type(5)::after {
  animation: tutorialCursorActive 0.9s steps(1, end) 4.75s both;
}

.founder-quote .type-line:nth-of-type(6) {
  animation: tutorialTypeLine 0.72s steps(32, end) 5.8s both;
}

.founder-quote .type-line:nth-of-type(6)::after {
  animation: tutorialCursorActive 0.72s steps(1, end) 5.8s both, tutorialCursorBlink 0.8s steps(1, end) 6.52s 2;
}

@keyframes tutorialTitleFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tutorialScrollExitNext {
  to {
    opacity: 0;
    transform: translateY(-54px);
  }
}

@keyframes tutorialScrollEnterNext {
  from {
    opacity: 0;
    transform: translateY(54px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tutorialScrollExitPrevious {
  to {
    opacity: 0;
    transform: translateY(54px);
  }
}

@keyframes tutorialScrollEnterPrevious {
  from {
    opacity: 0;
    transform: translateY(-54px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tutorialDefinitionFadeText {
  to {
    color: rgba(217, 226, 236, 0.18);
    opacity: 0.3;
    filter: blur(5px);
  }
}

@keyframes tutorialPursuesHighlightDelete {
  0%,
  34% {
    color: rgba(217, 226, 236, 0.74);
    opacity: 1;
    filter: blur(0);
  }

  48%,
  87% {
    color: #c2413b;
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 20px rgba(194, 65, 59, 0.34);
  }

  100% {
    color: #c2413b;
    opacity: 0;
    filter: blur(8px);
    text-shadow: 0 0 4px rgba(194, 65, 59, 0.12);
  }
}

@keyframes tutorialRewardHighlightDelete {
  0%,
  34% {
    color: rgba(217, 226, 236, 0.74);
    opacity: 1;
    filter: blur(0);
  }

  48%,
  87% {
    color: #f4c542;
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 20px rgba(244, 197, 66, 0.34);
  }

  100% {
    color: #f4c542;
    opacity: 0;
    filter: blur(8px);
    text-shadow: 0 0 4px rgba(244, 197, 66, 0.12);
  }
}

@keyframes tutorialSiteDefinitionAppear {
  to {
    opacity: 1;
  }
}

@keyframes tutorialTypeLine {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes tutorialCursorActive {
  0%,
  100% {
    opacity: 1;
  }
}

@keyframes tutorialCursorBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes tutorialFounderCreditIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tutorial-live-copy {
  max-width: 72ch;
  display: grid;
  gap: 14px;
}

.tutorial-live-copy p {
  margin: 0;
  color: rgba(217, 226, 236, 0.86);
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.tutorial-live-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tutorial-live-actions .secondary-btn,
.tutorial-live-actions .primary-btn {
  min-width: 116px;
}

.tutorial-live-actions .secondary-btn:disabled,
.tutorial-live-actions .primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quick-start-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.quick-start-modal[hidden] {
  display: none;
}

.quick-start-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.58);
}

.quick-start-panel {
  position: relative;
  width: min(860px, 100%);
  padding: 24px;
  border: 1px solid rgba(217, 251, 255, 0.24);
  border-radius: 8px;
  background: #0d7fb3;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  display: grid;
  gap: 20px;
}

.quick-start-heading {
  display: grid;
  gap: 6px;
  text-align: center;
}

.quick-start-heading h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.7rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.quick-start-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-start-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(217, 251, 255, 0.24);
  border-radius: 4px;
  background: rgba(9, 11, 16, 0.92);
  color: var(--text);
  display: grid;
  place-items: center;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.quick-start-card:hover,
.quick-start-card:focus-visible {
  border-color: rgba(217, 251, 255, 0.58);
  background: rgba(15, 23, 42, 0.98);
  outline: 0;
  transform: translateY(-2px);
}

.quick-start-card strong {
  max-width: 18ch;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.18;
}

.quick-start-back-card {
  background: rgba(241, 245, 249, 0.96);
  color: #0f172a;
}

.quick-start-back-card:hover,
.quick-start-back-card:focus-visible {
  background: #ffffff;
  color: #075985;
}

/* Saved Page */

.saved-page {
  min-height: calc(100vh - 78px);
  padding: 14px 28px 28px;
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    radial-gradient(circle at 16% 4%, rgba(34, 211, 238, 0.08), transparent 36%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.055), transparent 44%);
}

.saved-auth-required {
  margin-top: 18px;
}

.saved-protected {
  display: grid;
  gap: 18px;
}

.saved-hero {
  min-height: 94px;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(142, 151, 168, 0.16);
}

.saved-hero h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5.4vw, 4.85rem);
  line-height: 0.9;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 12%, #c8ced8 52%, #697386 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.saved-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.saved-control-bar {
  margin: 8px 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 14px;
}

.saved-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  gap: 0;
  border: 1px solid rgba(142, 151, 168, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 13, 19, 0.38);
}

.saved-tabs button {
  min-height: 74px;
  padding: 13px 14px;
  border: 0;
  border-right: 1px solid rgba(142, 151, 168, 0.14);
  background: rgba(17, 20, 27, 0.74);
  color: var(--muted);
  font: inherit;
  text-align: left;
  display: grid;
  align-content: space-between;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.saved-tab-spacer {
  min-height: 74px;
  border-left: 1px solid rgba(142, 151, 168, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 46%),
    rgba(10, 13, 19, 0.28);
}

.saved-tabs button:last-child {
  border-right: 0;
}

.saved-tabs button span {
  font-size: 1.05rem;
  font-weight: 900;
}

.saved-tabs button strong {
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 900;
}

.saved-tabs button:hover,
.saved-tabs button:focus-visible,
.saved-tabs button.is-active {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(168, 85, 247, 0.08)),
    rgba(17, 20, 27, 0.94);
  color: var(--text);
  outline: 0;
}

.saved-tabs button.is-active {
  box-shadow: inset 0 -2px 0 var(--accent-2);
}

.saved-view-controls {
  display: grid;
  grid-template-columns: repeat(2, 64px);
  gap: 8px;
}

.saved-view-controls button {
  width: 64px;
  min-height: 74px;
  border: 1px solid rgba(142, 151, 168, 0.18);
  border-radius: 8px;
  background: rgba(17, 20, 27, 0.74);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.saved-view-controls button:hover,
.saved-view-controls button:focus-visible,
.saved-view-controls button.is-active {
  border-color: rgba(34, 211, 238, 0.44);
  background: rgba(34, 211, 238, 0.1);
  outline: 0;
}

.saved-view-controls button:hover {
  transform: translateY(-1px);
}

.view-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
}

.view-icon-grid {
  background:
    linear-gradient(var(--accent-2), var(--accent-2)) 0 0 / 11px 11px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) 17px 0 / 11px 11px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) 0 17px / 11px 11px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) 17px 17px / 11px 11px no-repeat;
}

.view-icon-list {
  background:
    linear-gradient(var(--accent-2), var(--accent-2)) 0 3px / 28px 4px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) 0 12px / 28px 4px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) 0 21px / 28px 4px no-repeat;
}

.saved-board {
  display: grid;
  gap: 16px;
}

.saved-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.saved-panel[hidden] {
  display: none !important;
}

.saved-board[data-saved-view-mode="list"] .saved-panel {
  grid-template-columns: 1fr;
}

.saved-panel[data-saved-panel="works"] {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  align-items: start;
}

.saved-board[data-saved-view-mode="list"] .saved-panel[data-saved-panel="works"] {
  grid-template-columns: 1fr;
}

.saved-bounty-card,
.saved-creator-card,
.saved-work-card,
.saved-collection-card {
  min-height: 252px;
  padding: 20px;
  border: 1px solid rgba(142, 151, 168, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(17, 20, 27, 0.82);
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.saved-bounty-card {
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.saved-bounty-card:hover,
.saved-bounty-card:focus-within {
  transform: translateY(-2px);
}

.saved-bounty-card.is-featured {
  border-color: rgba(34, 211, 238, 0.32);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), transparent 54%),
    rgba(17, 20, 27, 0.9);
}

.saved-bounty-card.open-type:hover,
.saved-bounty-card.open-type:focus-within {
  border-color: rgba(187, 247, 208, 0.36);
  background:
    linear-gradient(135deg, rgba(187, 247, 208, 0.12), transparent 54%),
    rgba(17, 20, 27, 0.94);
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.08);
}

.saved-bounty-card.target-type:hover,
.saved-bounty-card.target-type:focus-within {
  border-color: rgba(34, 211, 238, 0.5);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.18), transparent 54%),
    rgba(17, 20, 27, 0.94);
  box-shadow: 0 18px 38px rgba(34, 211, 238, 0.1);
}

.saved-bounty-card.application-type:hover,
.saved-bounty-card.application-type:focus-within {
  border-color: rgba(252, 211, 77, 0.42);
  background:
    linear-gradient(135deg, rgba(252, 211, 77, 0.14), transparent 54%),
    rgba(17, 20, 27, 0.94);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.09);
}

.saved-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.saved-bounty-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: -4px;
}

.saved-type-stamp,
.saved-target-creator {
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(142, 151, 168, 0.18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.saved-type-stamp.open-type {
  border-color: rgba(187, 247, 208, 0.3);
  background: rgba(187, 247, 208, 0.08);
  color: #bbf7d0;
}

.saved-type-stamp.target-type {
  border-color: rgba(34, 211, 238, 0.32);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-2);
}

.saved-type-stamp.application-type {
  border-color: rgba(252, 211, 77, 0.3);
  background: rgba(252, 211, 77, 0.08);
  color: #fcd34d;
}

.saved-target-creator {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.1);
  color: #ddd6fe;
  text-transform: none;
}

.saved-card-topline span,
.saved-work-card > span {
  padding: 5px 8px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  color: #d9fbff;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.saved-card-topline strong {
  color: #d9fbff;
  font-size: 1.45rem;
}

.saved-bounty-card h3,
.saved-creator-card h3,
.saved-work-card h3,
.saved-collection-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.05;
}

.saved-bounty-card p,
.saved-creator-card p,
.saved-work-card p,
.saved-collection-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.saved-bounty-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.saved-card-action {
  justify-self: end;
  color: #d9fbff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.saved-card-action:hover,
.saved-card-action:focus-visible {
  color: var(--accent-2);
  outline: 0;
}

.saved-note-card {
  min-height: 306px;
}

.saved-note-lines {
  display: grid;
  gap: 12px;
}

.saved-note-lines span {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 151, 168, 0.24), rgba(142, 151, 168, 0.06));
}

.saved-note-lines span:nth-child(2) {
  width: 82%;
}

.saved-note-lines span:nth-child(3) {
  width: 72%;
}

.saved-note-lines span:nth-child(4) {
  width: 92%;
}

.saved-creator-card {
  min-height: 0;
  padding: 16px 16px 5px;
  grid-template-columns: 1fr;
  align-content: start;
  align-items: stretch;
  gap: 10px;
}

.saved-creator-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.saved-creator-avatar {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--saved-avatar) 48%, rgba(217, 251, 255, 0.16));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--saved-avatar) 44%, transparent), rgba(10, 13, 19, 0.7)),
    rgba(10, 13, 19, 0.82);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 950;
}

.saved-creator-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: end;
  margin-top: 4px;
}

.saved-highlight-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.saved-highlight-header span,
.saved-highlight-header small {
  color: #d9fbff;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.saved-highlight-header small {
  color: var(--muted-2);
}

.saved-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.saved-highlight-grid:has(.saved-highlight-tile:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.saved-highlight-grid:not(:has(.saved-highlight-tile:nth-child(3))) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.saved-highlight-tile {
  min-height: 68px;
  border: 1px solid rgba(142, 151, 168, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    rgba(17, 20, 27, 0.82);
}

.saved-highlight-tile.is-cyan {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.42), transparent 54%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.2), rgba(8, 47, 73, 0.72));
}

.saved-highlight-tile.is-violet {
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.42), transparent 52%),
    linear-gradient(160deg, rgba(24, 24, 27, 0.3), rgba(76, 29, 149, 0.66));
}

.saved-highlight-tile.is-slate {
  background:
    linear-gradient(135deg, rgba(226, 232, 240, 0.22), transparent 50%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.82), rgba(51, 65, 85, 0.48));
}

.saved-highlight-tile.is-gold {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.42), transparent 52%),
    linear-gradient(160deg, rgba(69, 26, 3, 0.38), rgba(146, 64, 14, 0.62));
}

.saved-highlight-tile.is-ink {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.18), transparent 54%),
    linear-gradient(160deg, rgba(2, 6, 23, 0.94), rgba(30, 41, 59, 0.78));
}

.saved-creator-card .tag-row {
  align-self: stretch;
  align-content: start;
  justify-content: flex-start;
  margin-top: 1px;
  padding-bottom: 0;
}

.saved-board[data-saved-view-mode="list"] .saved-creator-card {
  grid-template-columns: 1fr;
  align-items: start;
}

.saved-board[data-saved-view-mode="list"] .saved-creator-showcase {
  margin-top: 4px;
}

.saved-work-card,
.saved-collection-card {
  min-height: 190px;
}

.saved-work-card {
  overflow: hidden;
}

.saved-work-card.is-image-work {
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 9px;
  align-content: stretch;
  gap: 8px;
  grid-template-rows: minmax(0, 1fr) auto;
}

.saved-work-media {
  min-height: 0;
  border: 1px solid rgba(142, 151, 168, 0.18);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.78);
}

.saved-work-media.is-glitch {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.46), transparent 22%),
    linear-gradient(28deg, transparent 0 28%, rgba(168, 85, 247, 0.72) 29% 36%, transparent 37% 100%),
    linear-gradient(155deg, rgba(15, 23, 42, 0.2), rgba(2, 6, 23, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 11px);
}

.saved-work-media.is-product {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.18) 0 30%, transparent 31%),
    linear-gradient(135deg, rgba(226, 232, 240, 0.2), transparent 44%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(51, 65, 85, 0.56));
}

.saved-work-credit {
  display: grid;
  gap: 5px;
}

.saved-work-credit h3 {
  font-size: 1rem;
}

.saved-work-credit p,
.saved-work-card.is-audio-work p,
.saved-work-card.is-text-work p {
  font-size: 0.78rem;
  line-height: 1.35;
}

.saved-work-credit strong,
.saved-work-card.is-audio-work strong,
.saved-work-card.is-text-work strong {
  color: #d9fbff;
}

.saved-work-card.is-audio-work,
.saved-work-card.is-text-work {
  min-height: 184px;
}

.saved-audio-wave,
.saved-text-lines {
  display: grid;
  gap: 8px;
}

.saved-audio-wave {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  min-height: 56px;
  padding: 6px 0;
}

.saved-audio-wave span {
  opacity: 0.72;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.82), rgba(168, 85, 247, 0.34));
}

.saved-audio-wave::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 34px;
  transform: translateY(-50%);
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 21 C16 5 28 37 42 21 S68 5 82 21 S108 38 122 21 S148 4 162 21 S188 37 202 21 S226 7 238 21' fill='none' stroke='%23d9fbff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 7px rgba(34, 211, 238, 0.34));
  opacity: 0.92;
}

.saved-audio-wave span:nth-child(1) {
  height: 42%;
}

.saved-audio-wave span:nth-child(2) {
  height: 86%;
}

.saved-audio-wave span:nth-child(3) {
  height: 58%;
}

.saved-audio-wave span:nth-child(4) {
  height: 100%;
}

.saved-audio-wave span:nth-child(5) {
  height: 66%;
}

.saved-text-lines span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217, 251, 255, 0.28), rgba(217, 251, 255, 0.05));
}

.saved-text-lines span:nth-child(2) {
  width: 78%;
}

.saved-text-lines span:nth-child(3) {
  width: 58%;
}

.saved-board[data-saved-view-mode="list"] .saved-work-card.is-image-work {
  aspect-ratio: auto;
  min-height: 220px;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
}

.saved-board[data-saved-view-mode="list"] .saved-work-media {
  min-height: 180px;
}


/* Quick Actions */

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.action-card,
.panel {
  border: 1px solid var(--border);
  background: rgba(17, 20, 27, 0.92);
  border-radius: 24px;
}

.action-card {
  padding: 20px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.action-card:hover,
.action-card:focus-visible {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(17, 20, 27, 0.98);
  outline: 0;
  transform: translateY(-2px);
}

.action-card h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
}

.action-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  font-size: 0.9rem;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--accent-2);
  border: 1px solid var(--border);
}

.panel {
  padding: 22px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading.tight {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: 1.25rem;
}

.text-link {
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-row button {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}

.filter-row button:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.35);
}

.filter-row button.is-selected {
  color: var(--accent-2);
  border-color: rgba(34, 211, 238, 0.48);
  background: rgba(34, 211, 238, 0.1);
}

.bounty-list {
  display: grid;
  gap: 12px;
}

.bounty-card {
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 18px;
}

.bounty-card.featured {
  border-color: rgba(139, 92, 246, 0.45);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent),
    var(--surface-2);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.status {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 999px;
}

.status.targeted {
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.2);
}

.status.open {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
}

.status.application {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
}

.status.claim {
  color: #bae6fd;
  background: rgba(34, 211, 238, 0.14);
}

.muted {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.bounty-main h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.bounty-main p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.tag-row span {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.bounty-side {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 8px;
}

.bounty-side strong {
  font-size: 1.4rem;
}

.bounty-side span {
  color: var(--muted);
  font-size: 0.8rem;
}

.small-btn {
  padding: 8px 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
}

.small-btn.full {
  width: 100%;
}

/* Explore Page */

.explore-page-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  transition:
    grid-template-columns 0.24s ease,
    gap 0.24s ease;
}

.explore-page-grid.rail-collapsed {
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
}

html.rail-state-collapsed .explore-page-grid {
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
}

.explore-page-grid.is-restoring {
  transition: none;
}

.explore-layout {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.explore-hero {
  min-height: 190px;
  padding: 22px 0 6px;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.explore-hero .hero-copy {
  max-width: 740px;
}

.explore-hero .hero-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 8%, #c8ced8 46%, #697386 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.explore-hero .hero-copy p {
  color: var(--muted);
  max-width: 620px;
  margin: 16px auto 0;
  line-height: 1.6;
}

.explore-stats-shell {
  width: min(720px, 100%);
  position: relative;
}

.explore-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.explore-stats:not(.is-active) {
  display: none;
}

.stat-card {
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 20, 27, 0.72);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--text);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.stat-card:hover,
.stat-card.is-selected {
  border-color: rgba(34, 211, 238, 0.42);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.1)),
    var(--surface-2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.stat-card:hover {
  transform: translateY(-1px);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
  color: var(--muted);
  order: 2;
  margin-top: 8px;
}

.stat-card span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.stat-card.is-selected span {
  color: #ffffff;
}

.stat-card.is-selected strong {
  color: var(--accent-2);
}

.stats-toggle-dot {
  position: absolute;
  right: -20px;
  top: 50%;
  width: 9px;
  height: 9px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 255, 255, 0.36);
}

.stats-toggle-dot:hover {
  background: #ffffff;
  box-shadow:
    0 0 0 6px rgba(34, 211, 238, 0.12),
    0 0 22px rgba(255, 255, 255, 0.46);
}

.main-search-wrap {
  width: min(820px, 100%);
  min-height: 58px;
  margin: -4px auto 0;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(17, 20, 27, 0.9);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: var(--accent-2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.main-search-wrap span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.main-search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.main-search-wrap input::placeholder {
  color: var(--muted-2);
}

.explore-toolbar {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 20, 27, 0.72);
  display: grid;
  gap: 12px;
}

.explore-toolbar h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.explore-toolbar .filter-row {
  margin-bottom: 0;
}

.explore-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.explore-card {
  min-height: 220px;
  align-content: space-between;
  background: rgba(23, 27, 36, 0.88);
}

/* Right Social Rail */

.right-rail {
  display: grid;
  gap: 18px;
  position: fixed;
  top: 78px;
  right: 28px;
  width: 340px;
  max-height: calc(100vh - 78px);
  align-self: start;
  z-index: 20;
}

.social-rail {
  position: fixed;
  top: 78px;
  right: 28px;
  width: 340px;
  height: calc(100vh - 78px);
  padding-left: 18px;
  border-left: 1px solid var(--border);
  transition: transform 0.24s ease;
}
.panel.compact {
  padding: 18px;
}

.rail-pull-tab {
  position: absolute;
  left: 0;
  top: 24px;
  width: var(--rail-tab-width);
  height: 88px;
  min-height: 0;
  padding: 0;
  transform: translateX(-100%);
  border-radius: 12px 0 0 12px;
  border: 1px solid var(--border);
  border-right-color: transparent;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  z-index: 2;
}

.rail-pull-tab::after {
  content: "";
  position: absolute;
  top: 1px;
  right: -2px;
  bottom: 1px;
  width: 4px;
  background: var(--surface-2);
  transition: background 0.18s ease;
}

.dashboard-grid .social-rail .rail-pull-tab {
  left: 0;
}

.social-rail .panel {
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease;
}

.social-rail .live-panel {
  max-height: calc(100vh - 78px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.social-rail .live-panel::-webkit-scrollbar {
  display: none;
}

.social-rail.is-restoring,
.social-rail.is-restoring .panel,
.social-rail.is-restoring .rail-pull-tab {
  transition: none;
}

.social-rail.is-collapsed .panel {
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 28px));
  visibility: hidden;
}

html.rail-state-collapsed .social-rail .panel {
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 28px));
  visibility: hidden;
}

.social-rail.is-collapsed .rail-pull-tab {
  color: var(--accent-2);
  border-color: rgba(34, 211, 238, 0.35);
  border-right-color: transparent;
  z-index: 60;
}

html.rail-state-collapsed .social-rail .rail-pull-tab {
  color: var(--accent-2);
  border-color: rgba(34, 211, 238, 0.35);
  border-right-color: transparent;
  z-index: 60;
}

.social-rail.is-collapsed {
  border-left-color: transparent;
  pointer-events: none;
  transform: translateX(calc(100% + 28px));
}

html.rail-state-collapsed .social-rail {
  border-left-color: transparent;
  pointer-events: none;
  transform: translateX(calc(100% + 28px));
}

.social-rail.is-collapsed .rail-pull-tab {
  pointer-events: auto;
}

html.rail-state-collapsed .social-rail .rail-pull-tab {
  pointer-events: auto;
}

.social-rail.is-collapsed::before {
  opacity: 0;
}

html.rail-state-collapsed .social-rail::before {
  opacity: 0;
}

.explore-live-rail {
  min-width: 0;
  min-height: calc(100vh - 78px);
}

.explore-live-rail .live-panel {
  min-height: calc(100vh - 78px);
}

.explore-page-grid.rail-collapsed .explore-live-rail {
  overflow: visible;
}

.social-rail::before {
  content: none;
  position: absolute;
  left: 0;
  top: -24px;
  height: 24px;
  bottom: auto;
  width: 1px;
  background: var(--border);
  transition: opacity 0.24s ease;
}

.social-rail::after {
  content: "";
  position: absolute;
  top: -24px;
  bottom: -24px;
  left: -6px;
  width: 13px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(142, 151, 168, 0.18) 45%,
    rgba(142, 151, 168, 0.18) 55%,
    transparent
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.social-rail:has(.rail-pull-tab:hover)::after {
  opacity: 1;
}

.social-rail.is-collapsed:has(.rail-pull-tab:hover)::after {
  opacity: 0;
}

.social-rail.is-collapsed .rail-pull-tab:hover {
  border-right-color: transparent;
  box-shadow: inset -7px 0 0 -5px rgba(142, 151, 168, 0.24);
}
.social-rail .panel {
  border-left-color: rgba(139, 92, 246, 0.24);
}
.rail-pull-tab:hover {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border);
  border-right-color: transparent;
}

.rail-pull-tab:hover::after {
  background: var(--surface-3);
}

.live-panel {
  position: relative;
  overflow: hidden;
}

.live-dot {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.24);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 999px;
}

.social-feed {
  display: grid;
  gap: 14px;
}

.social-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
}

.social-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.social-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.social-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

.social-item strong {
  color: var(--text);
}

.social-item span {
  display: block;
  color: var(--muted-2);
  font-size: 0.76rem;
  margin-top: 4px;
}

.social-summary {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent),
    var(--surface);
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pulse-grid div {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 16px;
  padding: 13px;
}

.pulse-grid strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.pulse-grid span {
  color: var(--muted);
  font-size: 0.78rem;
}

.announcement p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Create Bounty Page */

.create-page-grid {
  padding: 8px 28px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  transition:
    grid-template-columns 0.24s ease,
    gap 0.24s ease,
    margin-left 0.24s ease;
}

.create-page-grid.rail-collapsed {
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
}

html.rail-state-collapsed .create-page-grid {
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
}

.create-page-grid.is-restoring {
  transition: none;
}

.create-layout {
  --create-step-junction-height: 78px;
  --create-step-control-height: 34px;
  --create-selected-peek: clamp(34px, 4.6vh, 44px);
  --create-step-counter-space: min(180px, 28%);
  --create-step-counter-half: min(90px, 14%);
  --create-top-control-right: 22px;
  --create-top-control-gap: 14px;
  --create-top-control-height: 34px;
  --create-top-counter-width: 164px;
  --create-top-toggle-width: 188px;
  --create-type-pill-width: 188px;
  --create-stamp-width: 132px;
  --create-stamp-right: calc(var(--create-top-control-right) + var(--create-top-counter-width) + ((var(--create-top-control-gap) - var(--create-stamp-width)) / 2));
  height: calc(100vh - 114px);
  min-height: 650px;
  min-width: 0;
  overflow: hidden;
}

.create-flow-track {
  display: grid;
  grid-template-rows: 100% var(--create-step-junction-height) 100% 100% 100% 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.create-layout.has-selected-type:not(.is-detailing) .create-flow-track {
  transform: translateY(calc(var(--create-selected-peek) * -1));
}

.create-layout.is-detailing .create-flow-track {
  transform: translateY(calc(-100% - var(--create-step-junction-height)));
}

.create-layout.is-finalizing .create-flow-track {
  transform: translateY(calc(-200% - var(--create-step-junction-height)));
}

.create-layout.is-advanced .create-flow-track {
  transform: translateY(calc(-300% - var(--create-step-junction-height)));
}

.create-layout.is-previewing .create-flow-track {
  transform: translateY(calc(-400% - var(--create-step-junction-height)));
}

.create-flow-page {
  min-height: 0;
}

.create-choice-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 22px;
  min-height: 0;
}

.create-intro {
  min-height: 210px;
  padding: 16px 24px 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  position: relative;
  text-align: center;
  transition: transform 0.32s ease;
}

.create-layout.has-selected-type:not(.is-detailing) .create-intro {
  transform: translateY(var(--create-selected-peek));
}

.create-intro h1 {
  margin: 0 0 22px;
  color: #bbf7d0;
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.create-intro .create-progress-pill {
  position: absolute;
  top: 6px;
  right: var(--create-top-control-right);
  width: max-content;
  min-width: var(--create-top-counter-width);
  min-height: var(--create-top-control-height);
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  transition: top 0.32s ease;
}

.create-intro .create-progress-pill > span {
  display: inline;
  margin-left: 0.25em;
  white-space: nowrap;
}

.create-intro > .create-advanced-toggle {
  position: absolute;
  top: 6px;
  right: calc(var(--create-top-control-right) + var(--create-top-counter-width) + var(--create-top-control-gap));
  z-index: 3;
  width: var(--create-top-toggle-width);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 9px;
  min-height: var(--create-top-control-height);
  padding: 7px 9px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 14px;
  background: rgba(10, 13, 19, 0.64);
  overflow: visible;
  cursor: pointer;
}

.create-layout.has-selected-type:not(.is-detailing) .create-intro .create-progress-pill {
  top: 6px;
}

.create-intro .eyebrow {
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: #bbf7d0;
}

.create-intro h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.25rem, 3.8vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.create-intro h2 span {
  display: inline-block;
}

.create-intro p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
}

.create-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 0;
}

.create-type-card {
  min-height: 0;
  padding: 26px 28px 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(17, 20, 27, 0.92);
  color: var(--text);
  display: grid;
  grid-template-rows: 28% auto auto;
  align-content: stretch;
  justify-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.create-type-icon {
  width: min(42%, 142px);
  height: 100%;
  color: #a8adb6;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  opacity: 0.78;
  transition:
    opacity 0.2s ease,
    transform 0.24s ease,
    width 0.24s ease;
}

.target-type .create-type-icon {
  transform: translateY(3px);
}

.create-type-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.create-type-icon path,
.create-type-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.create-type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(5, 8, 13, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.create-type-card:hover,
.create-type-card:focus-visible,
.create-type-card.is-selected {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.create-type-card:hover::after,
.create-type-card:focus-visible::after {
  opacity: 1;
}

.create-type-card:hover .create-type-icon,
.create-type-card:focus-visible .create-type-icon {
  width: 72%;
  opacity: 0.16;
  transform: translateY(58%) scale(1.88);
  z-index: 0;
}

.target-type:hover .create-type-icon,
.target-type:focus-visible .create-type-icon {
  transform: translateY(calc(58% - 8px)) scale(1.88);
}

.create-type-card.is-selected .create-type-icon {
  width: min(34%, 124px);
  height: min(28%, 128px);
  position: absolute;
  top: 40%;
  left: 50%;
  opacity: 0.86;
  transform: translate(-50%, -50%);
}

.create-type-card strong {
  display: block;
  transition:
    opacity 0.18s ease,
    filter 0.18s ease,
    transform 0.18s ease;
}

.create-type-card strong {
  width: min(calc(100% - 56px), 360px);
  max-width: 360px;
  font-size: clamp(1.35rem, 1.82vw, 2rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: 0;
  position: absolute;
  top: calc(50% + 68px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text);
  text-align: center;
}

.create-type-card ul {
  position: absolute;
  inset: 126px 30px 30px;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.create-type-card:hover ul,
.create-type-card:focus-visible ul {
  opacity: 1;
  transform: translateY(0);
}

.create-type-card:hover strong,
.create-type-card:focus-visible strong {
  opacity: 0.08;
  filter: blur(4px);
  transform: translateX(-50%) scale(0.98);
}

.create-type-card li {
  position: relative;
  padding-left: 22px;
  color: #f4f7fb;
  line-height: 1.45;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 750;
}

.create-type-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.create-card-kicker {
  width: min(100%, 340px);
  padding: 19px 26px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-2);
  font-size: clamp(1.2rem, 1.7vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.2s ease,
    width 0.2s ease,
    padding 0.2s ease,
    font-size 0.2s ease,
    top 0.2s ease;
  transform: translate(-50%, -50%);
}

.create-type-card:hover .create-card-kicker,
.create-type-card.is-selected .create-card-kicker,
.create-type-card:focus-visible .create-card-kicker {
  background: rgba(17, 20, 27, 0.92);
  border-color: currentColor;
  width: min(100%, 250px);
  padding: 12px 18px;
  font-size: clamp(0.82rem, 1vw, 1.05rem);
  top: 22px;
  transform: translateX(-50%);
}

.open-type:hover .create-card-kicker,
.open-type.is-selected .create-card-kicker,
.open-type:focus-visible .create-card-kicker {
  color: #bbf7d0;
}

.target-type:hover .create-card-kicker,
.target-type.is-selected .create-card-kicker,
.target-type:focus-visible .create-card-kicker {
  color: var(--accent-2);
}

.application-type:hover .create-card-kicker,
.application-type.is-selected .create-card-kicker,
.application-type:focus-visible .create-card-kicker {
  color: #fcd34d;
}

.open-type:hover,
.open-type.is-selected {
  border-color: rgba(34, 197, 94, 0.5);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.16), transparent 72%),
    rgba(17, 20, 27, 0.95);
}

.target-type:hover,
.target-type.is-selected {
  border-color: rgba(34, 211, 238, 0.52);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.16), transparent 72%),
    rgba(17, 20, 27, 0.95);
}

.application-type:hover,
.application-type.is-selected {
  border-color: rgba(245, 158, 11, 0.52);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.16), transparent 72%),
    rgba(17, 20, 27, 0.95);
}

.create-progress-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.09);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.create-details-step,
.create-final-step,
.create-advanced-step,
.create-preview-step {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--create-step-counter-space);
  grid-template-rows: 18px minmax(0, 1fr);
  gap: 2px;
  min-height: 0;
  padding-top: 0;
  position: relative;
}

.create-step-junction {
  height: var(--create-step-junction-height);
  display: grid;
  align-items: start;
  padding-top: 8px;
  box-sizing: border-box;
}

.create-step-return {
  width: 100%;
  height: var(--create-step-control-height);
  justify-self: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-2);
  cursor: pointer;
  position: relative;
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.create-step-next {
  opacity: 0;
  pointer-events: none;
  transform: none;
}

.create-layout.has-selected-type:not(.is-detailing) .create-step-next {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(calc(var(--create-step-control-height) * -0.14));
}

.create-step-next[aria-disabled="true"] {
  color: var(--muted);
  cursor: default;
  opacity: 0.46;
}

.create-step-return::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.create-details-step > .create-step-return,
.create-final-step > .create-step-return,
.create-advanced-step > .create-step-return,
.create-preview-step > .create-step-return {
  grid-column: 1;
  height: 18px;
  width: 100%;
}

.create-details-step > .create-step-return .create-return-arrow,
.create-final-step > .create-step-return .create-return-arrow,
.create-advanced-step > .create-step-return .create-return-arrow,
.create-preview-step > .create-step-return .create-return-arrow {
  left: calc(50% + var(--create-step-counter-half));
}

.create-return-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, calc(-50% + 2px));
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease;
}

.create-step-stamp {
  width: var(--create-stamp-width);
  height: 92px;
  position: absolute;
  top: 38px;
  right: var(--create-stamp-right);
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.create-step-return:hover,
.create-step-return:focus-visible {
  color: #f4f7fb;
  outline: 0;
}

.create-step-next[aria-disabled="true"]:hover,
.create-step-next[aria-disabled="true"]:focus-visible {
  color: var(--muted);
}

.create-step-return:hover::before,
.create-step-return:focus-visible::before {
  opacity: 1;
}

.create-step-next[aria-disabled="true"]:hover::before,
.create-step-next[aria-disabled="true"]:focus-visible::before {
  opacity: 0;
}

.create-step-return:hover .create-return-arrow,
.create-step-return:focus-visible .create-return-arrow {
  animation: create-return-bob 0.86s ease-in-out infinite;
}

.create-step-next[aria-disabled="true"]:hover .create-return-arrow,
.create-step-next[aria-disabled="true"]:focus-visible .create-return-arrow {
  animation: none;
}

@keyframes create-return-bob {
  0% {
    transform: translate(-50%, calc(-50% + 2px));
  }

  32% {
    transform: translate(-50%, calc(-50% - 4px));
  }

  68% {
    transform: translate(-50%, calc(-50% + 5px));
  }

  100% {
    transform: translate(-50%, calc(-50% + 2px));
  }
}

.create-details-panel {
  grid-column: 1 / -1;
  border-color: rgba(139, 92, 246, 0.24);
  overflow-y: auto;
  overflow-x: visible;
  min-height: 0;
  position: relative;
}

.create-details-panel .section-heading {
  margin-bottom: 12px;
}

.create-details-counter {
  position: absolute;
  top: 8px;
  right: var(--create-top-control-right);
  z-index: 4;
  width: max-content;
  min-width: var(--create-top-counter-width);
  min-height: var(--create-top-control-height);
  margin: 0;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  text-align: center;
  transform: none;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.create-details-counter > span {
  display: inline;
  margin-left: 0.25em;
  white-space: nowrap;
}

.create-bounty-type-pill {
  position: absolute;
  top: 8px;
  right: calc(var(--create-top-control-right) + var(--create-top-counter-width) + var(--create-top-control-gap));
  z-index: 4;
  width: var(--create-type-pill-width);
  min-height: var(--create-top-control-height);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.create-bounty-type-pill:hover,
.create-bounty-type-pill:focus-visible {
  outline: 0;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.create-bounty-type-pill.open-type {
  border-color: rgba(187, 247, 208, 0.3);
  background: rgba(187, 247, 208, 0.08);
  color: #bbf7d0;
}

.create-bounty-type-pill.target-type {
  border-color: rgba(34, 211, 238, 0.32);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-2);
}

.create-bounty-type-pill.application-type {
  border-color: rgba(252, 211, 77, 0.3);
  background: rgba(252, 211, 77, 0.08);
  color: #fcd34d;
}

.create-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.create-next-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.create-next-grid p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.create-form-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 24px;
  background: rgba(10, 13, 19, 0.34);
  position: relative;
}

.create-form-preview label {
  display: grid;
  gap: 6px;
  align-content: start;
}

.create-field-block {
  display: grid;
  gap: 3px;
  align-content: start;
}

.create-form-preview label.wide {
  grid-column: 1 / -1;
}

.create-form-preview .wide {
  grid-column: 1 / -1;
}

.create-category-field {
  grid-column: 1;
}

.create-media-field {
  grid-column: 2;
}

.create-category-field[hidden] + .create-media-field {
  grid-column: 1 / -1;
}

.create-form-preview span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.create-form-preview input,
.create-form-preview select,
.create-form-preview textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
  font: inherit;
}

.create-form-preview select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: var(--text);
}

.create-form-preview textarea {
  min-height: 68px;
  resize: vertical;
}

.create-requirements-field textarea {
  min-height: 58px;
}

.create-requirements-field {
  margin-top: -12px;
}

.create-form-preview .create-checkbox-row {
  display: flex;
  align-items: start;
  gap: 8px;
  margin-top: -1px;
}

.create-checkbox-row input {
  appearance: none;
  width: 13px;
  height: 13px;
  min-width: 13px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
  background: rgba(10, 13, 19, 0.62);
}

.create-checkbox-row input:checked {
  background: rgba(34, 211, 238, 0.82);
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow: inset 0 0 0 3px var(--surface-2);
}

.create-checkbox-row span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.28;
  max-width: none;
}

.create-details-panel > .create-advanced-toggle {
  position: absolute;
  top: 8px;
  right: calc(var(--create-top-control-right) + var(--create-top-counter-width) + var(--create-top-control-gap) + var(--create-type-pill-width) + var(--create-top-control-gap));
  z-index: 3;
  width: var(--create-top-toggle-width);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  min-height: var(--create-top-control-height);
  padding: 7px 9px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 14px;
  background: rgba(10, 13, 19, 0.74);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  overflow: visible;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.create-advanced-toggle:hover,
.create-advanced-toggle:focus-within,
.create-advanced-toggle.is-expanded {
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(10, 13, 19, 0.86);
}

.create-intro > .create-advanced-toggle:hover,
.create-intro > .create-advanced-toggle:focus-within {
  width: 188px;
}

.create-advanced-toggle span {
  display: grid;
  gap: 2px;
}

.advanced-teaser {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: none;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 900;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: opacity 0.16s ease, transform 0.2s ease;
}

.create-advanced-toggle:hover .advanced-teaser,
.create-advanced-toggle:focus-within .advanced-teaser,
.create-advanced-toggle.is-expanded .advanced-teaser {
  opacity: 1;
  transform: none;
}

.advanced-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(250px, calc(100vw - 48px));
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  padding: 10px 12px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 12px;
  background: rgba(10, 13, 19, 0.94);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  white-space: normal;
  transition: opacity 0.18s ease, transform 0.2s ease;
}

.create-advanced-toggle:hover .advanced-panel,
.create-advanced-toggle:focus-within .advanced-panel,
.create-advanced-toggle.is-expanded .advanced-panel {
  opacity: 1;
  transform: translateY(0);
}

.create-advanced-toggle strong {
  color: var(--text);
  font-size: 0.78rem;
}

.create-advanced-toggle small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.create-advanced-toggle input {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  appearance: none;
  width: 34px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 13, 19, 0.72);
  position: relative;
}

.create-advanced-toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.18s ease, background 0.18s ease;
}

.create-advanced-toggle input:checked {
  border-color: rgba(34, 211, 238, 0.72);
  background: rgba(34, 211, 238, 0.18);
}

.create-advanced-toggle input:checked::after {
  background: var(--accent-2);
  transform: translateX(16px);
}

.create-criteria-field textarea {
  min-height: 58px;
}

.create-final-form {
  gap: 16px;
}

.create-final-form textarea {
  min-height: 66px;
}

.create-final-form [hidden] {
  display: none;
}

.create-final-step .create-details-counter {
  right: var(--create-top-control-right);
  margin-right: 0;
}

.create-final-step {
  grid-template-columns: 1fr;
}

.create-final-step > .create-step-return .create-return-arrow {
  left: 50%;
}

.create-final-step .create-details-panel {
  padding: 4px 8px 0;
  border-color: transparent;
  background: transparent;
  overflow-y: auto;
  scrollbar-width: none;
}

.create-final-step .create-details-panel::-webkit-scrollbar {
  display: none;
}

.create-final-step .create-step-stamp {
  display: none;
}

.create-final-step .section-heading {
  margin-bottom: 8px;
}

.create-final-step .section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.create-final-step .create-next-grid {
  display: none;
}

.create-final-step .create-next-grid p {
  max-width: 760px;
}

.create-final-step .create-form-preview {
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.create-draft-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  padding: 15px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 18px;
  background: rgba(10, 13, 19, 0.22);
}

.create-draft-primary {
  border-color: rgba(187, 247, 208, 0.16);
  background: rgba(187, 247, 208, 0.04);
}

.create-draft-reference {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.create-draft-reference label {
  min-width: 0;
}

.create-upload-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px dashed rgba(34, 211, 238, 0.28);
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.05);
}

.create-upload-strip span {
  font-size: 0.76rem;
  line-height: 1.32;
}

.create-panel-scroll-dot {
  position: absolute;
  right: 6px;
  top: var(--create-panel-dot-top, 84px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(142, 151, 168, 0.9);
  box-shadow: 0 0 0 4px rgba(142, 151, 168, 0.1);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: top 0.08s linear, opacity 0.18s ease;
}

.create-details-panel.has-overflow .create-panel-scroll-dot {
  opacity: 1;
}

.create-advanced-step {
  grid-template-columns: 1fr;
}

.create-advanced-step > .create-step-return .create-return-arrow {
  left: 50%;
}

.create-advanced-step .create-details-counter {
  right: var(--create-top-control-right);
  transform: none;
  margin-right: 0;
}

.create-advanced-stage {
  min-height: 0;
  padding: 4px 8px 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.create-advanced-stage .section-heading {
  margin-bottom: 0;
}

.create-advanced-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "rights match"
    "style match"
    "drop drop";
  gap: 14px;
}

.create-advanced-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 18px;
  background: rgba(10, 13, 19, 0.26);
}

.create-advanced-card h3 {
  margin: 0;
  font-size: 0.96rem;
}

.rights-card {
  grid-area: rights;
}

.match-card {
  grid-area: match;
}

.style-card {
  grid-area: style;
}

.media-drop-card {
  grid-area: drop;
}

.rights-option-grid,
.match-avoid-grid {
  display: grid;
  gap: 10px;
}

.rights-option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rights-option-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.create-step-menu-toggle {
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.create-step-menu-toggle:hover,
.create-step-menu-toggle:focus-visible,
.create-step-menu-toggle[aria-expanded="true"] {
  border-color: rgba(34, 211, 238, 0.56);
  background: rgba(34, 211, 238, 0.16);
  color: #d9fbff;
  outline: 0;
}

.create-step-menu {
  position: absolute;
  top: calc(8px + var(--create-top-control-height) + 26px);
  right: var(--create-top-control-right);
  z-index: 12;
  width: 214px;
  padding: 7px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 14px;
  background: rgba(10, 13, 19, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.create-step-menu.is-intro-menu {
  top: calc(6px + var(--create-top-control-height) + 8px);
}

.create-step-menu button {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
}

.create-step-menu button:hover,
.create-step-menu button:focus-visible,
.create-step-menu button.is-current {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.1);
  color: var(--text);
  outline: 0;
}

.create-step-menu button.is-current::after {
  content: "Current";
  color: var(--accent-2);
  font-size: 0.68rem;
}

.create-step-menu button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.42;
}

.create-step-menu button[aria-disabled="true"]:hover {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.create-step-menu-hint {
  position: fixed;
  z-index: 130;
  padding: 7px 9px;
  border: 1px solid #aeb7c5;
  border-radius: 4px;
  background: #f8fafc;
  color: #172033;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  pointer-events: none;
  white-space: nowrap;
}

.create-advanced-card textarea {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  padding: 12px 13px;
  outline: 0;
  resize: vertical;
  font: inherit;
}

.match-avoid-grid textarea {
  min-height: 136px;
}

.advanced-media-drop {
  min-height: 82px;
  border: 1px dashed rgba(34, 211, 238, 0.28);
  border-radius: 16px;
  background: rgba(34, 211, 238, 0.05);
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 16px;
  text-align: center;
}

.advanced-media-drop span {
  color: var(--muted);
  font-size: 0.8rem;
}

.advanced-actions {
  margin-top: 0;
}

.create-preview-step {
  grid-template-columns: 1fr;
}

.create-preview-step > .create-step-return .create-return-arrow {
  left: 50%;
}

.create-contract-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 18px;
  align-items: stretch;
  padding: 4px 8px 0;
}

.create-contract-paper {
  min-height: 0;
  overflow-y: auto;
  padding: 26px 30px 28px;
  border: 1px solid rgba(244, 247, 251, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.98), rgba(223, 229, 238, 0.96));
  color: #151922;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.contract-paper-header {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(21, 25, 34, 0.16);
}

.contract-paper-header .eyebrow {
  margin: 0;
  color: #475569;
}

.contract-paper-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: 0;
}

.contract-paper-header span {
  color: #64748b;
  font-weight: 800;
}

.contract-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.contract-summary-grid div,
.contract-clause {
  border: 1px solid rgba(21, 25, 34, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.54);
}

.contract-summary-grid div {
  display: grid;
  gap: 4px;
  padding: 10px;
}

.contract-summary-grid span,
.contract-payment-row span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-summary-grid strong,
.contract-payment-row strong {
  color: #111827;
  font-size: 0.92rem;
}

.contract-clause {
  margin-top: 12px;
  padding: 14px 16px;
}

.contract-clause h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.contract-clause p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.contract-payment-continue,
.contract-sign-zone {
  width: 100%;
  min-height: 112px;
  margin-top: 20px;
  border: 2px solid #111827;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(40, 48, 63, 0.96));
  color: #f8fafc;
  display: grid;
  place-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.28);
}

.contract-payment-continue {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(168, 85, 247, 0.88));
  border-color: rgba(217, 251, 255, 0.6);
}

.contract-payment-continue:hover,
.contract-payment-continue:focus-visible {
  box-shadow: 0 20px 42px rgba(34, 211, 238, 0.26);
  transform: translateY(-1px);
}

.contract-payment-continue span,
.contract-sign-zone span {
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 950;
}

.contract-payment-continue strong,
.contract-sign-zone strong {
  max-width: 460px;
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.35;
}

.contract-side-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.45);
}

.contract-side-panel.is-payment-locked::before {
  content: "Review your bounty preview before continuing to payment.";
  position: absolute;
  inset: 72px 18px auto;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(217, 251, 255, 0.16);
  border-radius: 6px;
  background: rgba(4, 7, 12, 0.88);
  color: #d9fbff;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.contract-side-panel.is-payment-locked:hover::before {
  opacity: 1;
}

.contract-checkpoint-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contract-side-panel .create-details-counter {
  position: static;
  width: auto;
  min-width: 0;
  min-height: 30px;
  padding: 5px 8px;
  font-size: 0.7rem;
}

.create-step-menu.is-preview-menu {
  top: 60px;
  right: 14px;
}

.contract-side-panel h3,
.contract-side-panel p {
  margin: 0;
}

.contract-side-panel p {
  color: var(--muted);
  line-height: 1.44;
}

.contract-payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.contract-side-panel.is-payment-locked .contract-payment-row,
.contract-side-panel.is-payment-locked .contract-signature-panel {
  opacity: 0.36;
  filter: grayscale(1);
}

.contract-signature-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.contract-signature-panel > span {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-signature-panel .contract-sign-zone {
  min-height: 142px;
  margin-top: 0;
  border-color: rgba(217, 251, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(34, 211, 238, 0.18)),
    rgba(10, 13, 19, 0.72);
}

.contract-sign-zone:disabled {
  cursor: not-allowed;
}

.create-type-stamp {
  width: 122px;
  height: 78px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a8adb6;
  display: grid;
  place-items: center;
  opacity: 0.86;
  box-shadow: none;
  transform: none;
}

.create-type-stamp svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.create-type-stamp path,
.create-type-stamp circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.create-type-stamp.open-type {
  border-color: transparent;
}

.create-type-stamp.application-type {
  border-color: transparent;
}

.create-step-stamp .create-progress-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: min(132px, calc(100% - 18px));
  max-width: 132px;
  padding: 6px 9px;
  font-size: 0.68rem;
  text-align: center;
  text-shadow:
    -1px -1px 0 rgba(20, 24, 31, 0.95),
    1px -1px 0 rgba(20, 24, 31, 0.95),
    -1px 1px 0 rgba(20, 24, 31, 0.95),
    1px 1px 0 rgba(20, 24, 31, 0.95);
  background: rgba(17, 20, 27, 0.88);
  border-color: rgba(43, 48, 58, 0.96);
  box-shadow:
    0 0 0 2px rgba(43, 48, 58, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.create-type-stamp.open-type + .create-progress-pill {
  border-color: rgba(187, 247, 208, 0.3);
  background: rgba(187, 247, 208, 0.08);
  color: #bbf7d0;
}

.create-type-stamp.application-type + .create-progress-pill {
  border-color: rgba(252, 211, 77, 0.3);
  background: rgba(252, 211, 77, 0.08);
  color: #fcd34d;
}

.create-form-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.create-back-pill {
  justify-self: start;
  grid-column: 1;
}

.create-next-pill {
  justify-self: center;
  grid-column: 2;
}

.create-form-preview input:focus,
.create-form-preview select:focus,
.create-form-preview textarea:focus {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.09);
}

.create-focus-rail .social-summary {
  border-color: rgba(34, 211, 238, 0.18);
}

/* Hub */

body[data-page="hub"] {
  background: #06080d;
}

body[data-page="hub"] .scroll-position-dot {
  display: none;
}

.hub-shell {
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(6, 8, 13, 0), #06080d 92vh),
    #06080d;
}

.hub-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: 74px;
  padding: 18px clamp(18px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 13, 0.62);
  backdrop-filter: blur(18px);
}

.hub-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 900;
}

.hub-topbar-brand > span:last-child {
  font-size: 0.92rem;
  color: rgba(243, 245, 247, 0.78);
}

.hub-topbar-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(243, 245, 247, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
}

.hub-topbar-links a:hover {
  color: #ffffff;
}

.hub-console-link {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.hub-hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: flex-end;
  gap: clamp(28px, 5vw, 72px);
  padding: 120px clamp(22px, 6vw, 92px) clamp(92px, 10vh, 128px);
  overflow: hidden;
  isolation: isolate;
}

.hub-hero::before {
  content: "";
  position: absolute;
  inset: -6vh -6vw -14vh;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.9) 0%, rgba(6, 8, 13, 0.38) 42%, rgba(6, 8, 13, 0.78) 100%),
    linear-gradient(180deg, rgba(6, 8, 13, 0.08) 0%, rgba(6, 8, 13, 0.78) 86%, #06080d 100%),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=2400&q=85") center / cover;
  filter: saturate(1.06) contrast(1.08);
  transform: scale(1.02);
}

.hub-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42vh;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0), #06080d);
}

.hub-hero-copy {
  width: min(980px, 100%);
}

.hub-hero-funding {
  width: min(440px, 100%);
  justify-self: end;
  display: grid;
  gap: 14px;
}

.hub-hero-funding-kicker {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(248, 193, 92, 0.38);
  border-radius: 999px;
  color: #ffe7ad;
  background: rgba(245, 158, 11, 0.13);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-platform-bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hub-platform-bubble {
  aspect-ratio: 1;
  min-height: 184px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  color: #ffffff;
  text-decoration: none;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.075);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hub-platform-bubble:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.hub-platform-kickstarter {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(5, 161, 99, 0.82), rgba(6, 8, 13, 0.78));
}

.hub-platform-gofundme {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(34, 211, 238, 0.76), rgba(28, 56, 106, 0.8));
}

.hub-platform-bubble span {
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 950;
  line-height: 1;
}

.hub-platform-bubble strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.2;
}

.hub-platform-bubble em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-irony-link {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.075);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  font-weight: 950;
  text-decoration: none;
}

.hub-irony-link:hover {
  border-color: rgba(248, 193, 92, 0.42);
  background: rgba(245, 158, 11, 0.12);
}

.hub-kicker {
  display: inline-flex;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hub-hero h1,
.hub-section h2 {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: clamp(3.8rem, 12vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hub-hero p {
  width: min(760px, 100%);
  margin: 26px 0 0;
  color: rgba(243, 245, 247, 0.78);
  font-size: clamp(1.06rem, 2.2vw, 1.44rem);
  line-height: 1.6;
}

.hub-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hub-scroll-cue {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 32px;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: rgba(243, 245, 247, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hub-scroll-cue strong {
  width: 1px;
  height: 58px;
  display: block;
  background: linear-gradient(180deg, var(--accent-2), transparent);
}

.hub-section {
  padding: clamp(78px, 11vw, 150px) clamp(22px, 6vw, 92px);
  position: relative;
}

.hub-section-heading {
  width: min(900px, 100%);
}

.hub-section h2 {
  max-width: 940px;
  font-size: clamp(2.6rem, 7vw, 6.8rem);
}

.hub-section-heading p,
.hub-feature-copy p {
  width: min(760px, 100%);
  margin: 22px 0 0;
  color: rgba(243, 245, 247, 0.68);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.hub-overview {
  min-height: 860px;
  overflow: hidden;
  isolation: isolate;
}

.hub-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(210, 244, 255, 0.08), rgba(6, 8, 13, 0) 76%),
    radial-gradient(circle at 73% 30%, rgba(217, 251, 255, 0.28), transparent 25%),
    radial-gradient(circle at 84% 42%, rgba(34, 211, 238, 0.2), transparent 30%),
    radial-gradient(circle at 38% 70%, rgba(245, 158, 11, 0.14), transparent 27%);
  pointer-events: none;
}

.hub-overview .hub-section-heading,
.hub-overview .hub-info-grid {
  position: relative;
  z-index: 2;
}

.hub-console-reference {
  position: absolute;
  inset: 6% -8vw auto 18%;
  z-index: 0;
  width: min(1420px, 96vw);
  aspect-ratio: 2.15 / 1;
  border: 1px solid rgba(217, 251, 255, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(232, 250, 255, 0.22), rgba(97, 121, 158, 0.1)),
    rgba(12, 19, 30, 0.86);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 0 92px rgba(34, 211, 238, 0.18);
  opacity: 0.82;
  overflow: hidden;
  transform: rotate(-2deg) translateY(28px);
  filter: saturate(1.12);
  pointer-events: none;
}

.hub-console-reference::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.7), rgba(232, 250, 255, 0.06) 48%, rgba(6, 8, 13, 0.68)),
    linear-gradient(180deg, rgba(217, 251, 255, 0.08), rgba(6, 8, 13, 0.58));
  z-index: 3;
}

.hub-console-reference::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 4;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0), rgba(6, 8, 13, 0.2) 52%, #06080d 94%);
}

.hub-console-topbar {
  height: 72px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(217, 251, 255, 0.18);
  background: rgba(224, 242, 254, 0.08);
  display: grid;
  grid-template-columns: 44px 112px minmax(260px, 1fr) 120px 132px 40px;
  gap: 14px;
  align-items: center;
}

.hub-console-brand,
.hub-console-profile {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
}

.hub-console-stamp,
.hub-console-search,
.hub-console-button,
.hub-console-hero,
.hub-console-cards span,
.hub-console-sidebar span {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(224, 242, 254, 0.12);
}

.hub-console-stamp {
  width: 108px;
  height: 38px;
  border-color: rgba(34, 211, 238, 0.44);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #d9fbff;
  background: rgba(217, 251, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hub-console-search,
.hub-console-button {
  height: 38px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.12);
}

.hub-console-button.is-hot {
  background: linear-gradient(135deg, #8b5cf6, #6d5dfc);
  border-color: rgba(139, 92, 246, 0.48);
}

.hub-console-body {
  height: calc(100% - 72px);
  display: grid;
  grid-template-columns: 238px 1fr;
}

.hub-console-sidebar {
  padding: 22px;
  border-right: 1px solid rgba(217, 251, 255, 0.16);
  background: rgba(15, 23, 42, 0.26);
  display: grid;
  align-content: start;
  gap: 16px;
}

.hub-console-sidebar span {
  height: 40px;
  border-radius: 10px;
}

.hub-console-sidebar span:not(.is-active) {
  width: 72%;
  background: rgba(226, 232, 240, 0.18);
}

.hub-console-sidebar .is-active {
  width: 100%;
  background: rgba(226, 232, 240, 0.26);
}

.hub-console-main {
  padding: 26px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.hub-console-hero {
  min-height: 260px;
  padding: 32px;
  border-color: rgba(139, 92, 246, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(95, 78, 166, 0.58), rgba(47, 97, 112, 0.58)),
    rgba(226, 232, 240, 0.12);
  display: grid;
  align-content: center;
  gap: 14px;
}

.hub-console-hero span,
.hub-console-hero strong,
.hub-console-hero em {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hub-console-hero span {
  width: 160px;
  height: 10px;
  background: var(--accent-2);
}

.hub-console-hero strong {
  height: 34px;
}

.hub-console-hero strong:nth-of-type(1) {
  width: 46%;
}

.hub-console-hero strong:nth-of-type(2) {
  width: 38%;
}

.hub-console-hero strong:nth-of-type(3) {
  width: 24%;
}

.hub-console-hero em {
  width: 44%;
  height: 12px;
  margin-top: 10px;
  background: rgba(226, 232, 240, 0.34);
}

.hub-console-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hub-console-cards span {
  min-height: 128px;
  border-radius: 16px;
  background: rgba(226, 232, 240, 0.16);
}

.hub-info-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hub-info-card,
.hub-media-strip article,
.hub-roadmap li,
.hub-funding-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.hub-info-card {
  min-height: 260px;
  padding: 24px;
  border-color: rgba(217, 251, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(226, 232, 240, 0.12), rgba(17, 20, 27, 0.74)),
    rgba(255, 255, 255, 0.065);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hub-info-card span,
.hub-media-strip span,
.hub-roadmap span,
.hub-funding-panel span {
  color: #f8c15c;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hub-info-card h3,
.hub-media-strip h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(1.42rem, 2.8vw, 2.35rem);
  line-height: 1.05;
}

.hub-info-card p {
  margin: 18px 0 0;
  color: rgba(243, 245, 247, 0.64);
  line-height: 1.6;
}

.hub-info-card-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hub-info-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 251, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(226, 232, 240, 0.17), rgba(17, 20, 27, 0.72)),
    rgba(255, 255, 255, 0.075);
}

.hub-idea {
  overflow: hidden;
  isolation: isolate;
}

.hub-idea::before {
  content: "";
  position: absolute;
  inset: 8% -8vw auto auto;
  z-index: -1;
  width: min(56vw, 760px);
  height: min(48vw, 620px);
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(6, 8, 13, 0.16), rgba(6, 8, 13, 0.92)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=84") center / cover;
  opacity: 0.36;
}

.hub-idea-board {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: stretch;
}

.hub-idea-lede,
.hub-idea-points article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.hub-idea-lede {
  min-height: 460px;
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(150deg, rgba(245, 158, 11, 0.18), rgba(34, 211, 238, 0.12)),
    rgba(255, 255, 255, 0.055);
}

.hub-idea-lede span,
.hub-idea-points span {
  color: #f8c15c;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hub-idea-lede h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4.8vw, 4.6rem);
  line-height: 0.95;
}

.hub-idea-lede p {
  margin: 24px 0 0;
  color: rgba(243, 245, 247, 0.76);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hub-idea-points {
  display: grid;
  gap: 14px;
}

.hub-idea-points article {
  min-height: 142px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.hub-idea-points h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.24rem, 2.2vw, 1.8rem);
  line-height: 1.12;
}

.hub-idea-points p {
  margin: 0;
  color: rgba(243, 245, 247, 0.62);
  line-height: 1.55;
}

.hub-creators {
  overflow: hidden;
}

.hub-creators::before {
  content: "";
  position: absolute;
  inset: 8% auto auto -10vw;
  z-index: -1;
  width: min(62vw, 820px);
  height: min(54vw, 640px);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(6, 8, 13, 0.82), rgba(6, 8, 13, 0.14)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1900&q=84") center / cover;
  opacity: 0.38;
}

.hub-creator-stage {
  margin-top: 50px;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: stretch;
}

.hub-creator-promise,
.hub-creator-boons article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.hub-creator-promise {
  min-height: 440px;
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(150deg, rgba(34, 211, 238, 0.2), rgba(245, 158, 11, 0.12)),
    rgba(255, 255, 255, 0.055);
}

.hub-creator-promise span,
.hub-creator-boons span {
  color: #f8c15c;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hub-creator-promise h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4.8vw, 4.8rem);
  line-height: 0.95;
}

.hub-creator-promise p {
  margin: 24px 0 0;
  color: rgba(243, 245, 247, 0.76);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hub-creator-boons {
  display: grid;
  gap: 14px;
}

.hub-creator-boons article {
  min-height: 136px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.hub-creator-boons h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.24rem, 2.2vw, 1.8rem);
  line-height: 1.12;
}

.hub-creator-boons p {
  margin: 0;
  color: rgba(243, 245, 247, 0.62);
  line-height: 1.55;
}

.hub-funding,
.hub-development {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
}

.hub-feature-copy .primary-btn {
  width: fit-content;
  margin-top: 30px;
  display: inline-flex;
}

.hub-funding-panel {
  padding: clamp(22px, 4vw, 44px);
  display: grid;
  gap: 22px;
  background:
    linear-gradient(140deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.hub-funding-panel div {
  display: grid;
  gap: 8px;
}

.hub-funding-panel strong {
  color: #ffffff;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.hub-media {
  min-height: 92vh;
}

.hub-media::before {
  content: "";
  position: absolute;
  inset: 12% -5vw auto auto;
  width: min(58vw, 760px);
  height: min(44vw, 520px);
  z-index: -1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.12), rgba(6, 8, 13, 0.92)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=84") center / cover;
  opacity: 0.42;
}

.hub-media-strip {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-media-strip article {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hub-roadmap {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hub-roadmap li {
  padding: 22px;
}

.hub-roadmap strong {
  margin-top: 10px;
  display: block;
  color: #ffffff;
  font-size: 1.26rem;
}

.hub-roadmap p {
  margin: 10px 0 0;
  color: rgba(243, 245, 247, 0.62);
  line-height: 1.55;
}

/* Responsive */

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 230px 1fr;
  }

  .app-shell.sidebar-collapsed {
    grid-template-columns: 76px 1fr;
  }

  .dashboard-grid,
  .explore-page-grid,
  .account-page-grid,
  .create-page-grid,
  .saved-page,
  .my-stuff-page,
  .help-page {
    margin-left: 0;
  }

  .app-shell.sidebar-collapsed .dashboard-grid,
  .app-shell.sidebar-collapsed .explore-page-grid,
  .app-shell.sidebar-collapsed .account-page-grid,
  .app-shell.sidebar-collapsed .create-page-grid,
  .app-shell.sidebar-collapsed .saved-page,
  .app-shell.sidebar-collapsed .my-stuff-page,
  .app-shell.sidebar-collapsed .help-page {
    margin-left: 0;
  }

  .dashboard-grid,
  .explore-page-grid,
  .account-content,
  .account-stuff-content,
  .account-profile-scroll,
  .create-page-grid,
  .saved-control-bar,
  .my-stuff-board {
    grid-template-columns: 1fr;
  }

  .saved-panel {
    grid-template-columns: 1fr;
  }

  .saved-board[data-saved-view-mode="list"] .saved-creator-card {
    grid-template-columns: 1fr;
  }

  .saved-board[data-saved-view-mode="list"] .saved-creator-showcase {
    margin-top: 4px;
  }

  .my-stuff-hero {
    padding-right: 270px;
  }

  .creator-submissions-panel {
    grid-row: auto;
  }

  .my-stuff-page {
    --my-stuff-switcher-right: 18px;
    padding-right: 18px;
  }

  .sponsor-attention-panel {
    margin-top: 0;
  }

  .account-public-profile {
    grid-template-columns: 1fr;
  }

  .account-page-grid {
    padding: 18px;
  }

  .explore-hero {
    grid-template-columns: 1fr;
  }

  .right-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-rail {
    position: static;
  }

  .explore-live-rail {
    display: none;
  }

  .create-focus-rail {
    display: none;
  }

  .my-stuff-page .social-rail {
    display: none;
  }

  .rail-pull-tab {
    display: none;
  }

  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-info-grid,
  .hub-media-strip {
    grid-template-columns: 1fr;
  }

  .hub-hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hub-hero-funding {
    justify-self: start;
  }

  .hub-console-reference {
    inset: 10% -22vw auto 12%;
    width: min(1120px, 122vw);
  }

  .hub-idea-board {
    grid-template-columns: 1fr;
  }

  .hub-creator-stage {
    grid-template-columns: 1fr;
  }

  .hub-funding,
  .hub-development {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    width: auto;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-toggle {
    display: none;
  }

  .app-shell.sidebar-collapsed .sidebar {
    padding: 24px;
    align-items: stretch;
    width: auto;
    top: 0;
    height: auto;
    min-height: 0;
    grid-row: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .app-shell.sidebar-collapsed .brand-block > div:not(.brand-mark),
  .app-shell.sidebar-collapsed .sidebar-footer {
    display: block;
  }

  .app-shell.sidebar-collapsed .brand-mark {
    display: grid;
  }

  .app-shell.sidebar-collapsed .brand-block p {
    margin: 3px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
  }

  .app-shell.sidebar-collapsed .brand-block p::before {
    content: none;
  }

  .app-shell.sidebar-collapsed .side-nav {
    display: grid;
    width: 100%;
    justify-items: stretch;
    gap: 6px;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .app-shell.sidebar-collapsed .side-nav a {
    width: auto;
    height: auto;
    padding: 11px 12px;
    border-radius: 12px;
    justify-content: space-between;
    font-size: inherit;
  }

  .app-shell.sidebar-collapsed .side-nav-desk {
    gap: 6px;
  }

  .app-shell.sidebar-collapsed .desk-nav-row {
    width: auto;
    height: auto;
    padding: 11px 12px;
    border-radius: 12px;
    justify-content: space-between;
    font-size: inherit;
  }

  .app-shell.sidebar-collapsed .desk-nav-row::before {
    content: none;
  }

  .app-shell.sidebar-collapsed .desk-nav-row .nav-my-stuff {
    position: static;
    inset: auto;
    z-index: auto;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
  }

  .app-shell.sidebar-collapsed .desk-subnav-toggle {
    display: inline-grid;
  }

  .app-shell.sidebar-collapsed .side-nav-desk .desk-subnav {
    display: grid;
  }

  .app-shell.sidebar-collapsed .side-nav-desk .desk-subnav[hidden] {
    display: none;
  }

  .app-shell.sidebar-collapsed .side-nav a::before {
    content: none;
  }

  .app-shell.sidebar-collapsed .side-nav a span {
    display: inline;
  }

  .app-shell.sidebar-collapsed .side-nav a.nav-dashboard {
    position: static;
    z-index: auto;
    margin-top: 0;
    background: transparent;
    color: var(--muted);
    font-weight: inherit;
  }

  .app-shell.sidebar-collapsed .side-nav a.nav-dashboard.active {
    background: var(--surface-2);
    color: var(--text);
  }

  .app-shell.sidebar-collapsed .nav-badge {
    position: static;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    height: auto;
    align-items: stretch;
    flex-direction: column;
    position: static;
  }

  .dashboard-grid,
  .explore-page-grid,
  .account-page-grid,
  .create-page-grid,
  .saved-page,
  .my-stuff-page,
  .help-page,
  .app-shell.sidebar-collapsed .dashboard-grid,
  .app-shell.sidebar-collapsed .explore-page-grid,
  .app-shell.sidebar-collapsed .account-page-grid,
  .app-shell.sidebar-collapsed .create-page-grid,
  .app-shell.sidebar-collapsed .saved-page,
  .app-shell.sidebar-collapsed .my-stuff-page,
  .app-shell.sidebar-collapsed .help-page {
    margin-left: 0;
  }

  .app-shell.sidebar-collapsed .main-area {
    grid-row: auto;
  }

  .main-area {
    padding-top: 0;
  }

  .app-shell.sidebar-collapsed .topbar {
    padding-left: 28px;
  }

  .app-shell.sidebar-collapsed .topbar-brand {
    display: inline-flex;
  }

  .search-wrap {
    width: 100%;
  }

  .hub-stamp {
    width: fit-content;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }

  .dashboard-grid {
    padding: 18px;
  }

  .explore-page-grid {
    padding: 18px;
  }

  .help-page {
    min-height: auto;
    padding: 18px;
  }

  .app-shell.sidebar-collapsed .help-page {
    padding: 18px;
  }

  .hub-topbar {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
  }

  .hub-topbar-links {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hub-topbar-links a {
    min-height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
  }

  .hub-console-link {
    margin-left: auto;
  }

  .hub-hero {
    min-height: 100svh;
    padding: 172px 18px 78px;
  }

  .hub-platform-bubbles {
    grid-template-columns: 1fr 1fr;
  }

  .hub-platform-bubble {
    min-height: 150px;
    padding: 18px;
  }

  .hub-irony-link {
    justify-self: stretch;
  }

  .hub-hero h1 {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .hub-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hub-hero-actions .primary-btn,
  .hub-hero-actions .secondary-btn,
  .hub-feature-copy .primary-btn {
    width: 100%;
    justify-content: center;
  }

  .hub-scroll-cue {
    right: 18px;
    bottom: 18px;
  }

  .hub-section {
    padding: 70px 18px;
  }

  .hub-info-card,
  .hub-media-strip article {
    min-height: 190px;
  }

  .hub-overview {
    min-height: 980px;
  }

  .hub-console-reference {
    inset: 8% auto auto 12%;
    width: 170vw;
    opacity: 0.52;
    transform: rotate(-4deg) translateY(42px);
  }

  .hub-console-topbar {
    grid-template-columns: 40px 96px minmax(160px, 1fr) 88px 96px 36px;
  }

  .hub-console-body {
    grid-template-columns: 188px 1fr;
  }

  .hub-console-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-creator-promise {
    min-height: 360px;
  }

  .hub-creator-boons article {
    min-height: 160px;
  }

  .hub-creators::before {
    inset: 18% auto auto -44vw;
    width: 120vw;
    height: 62vh;
  }

  .hub-media::before {
    inset: auto -22vw 7% auto;
    width: 92vw;
    height: 48vh;
  }

  .tutorial-live-tour {
    padding: 14px;
    place-items: end center;
  }

  .tutorial-live-stage,
  body.tutorial-slide-open[data-tutorial-spotlight="sidebar"] .tutorial-live-stage {
    width: 100%;
    min-height: min(520px, calc(100vh - 28px));
    padding: 22px;
  }

  body.tutorial-slide-open[data-tutorial-spotlight="sidebar"] .tutorial-live-tour {
    place-items: end center;
  }

  .tutorial-live-slide h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .tutorial-live-actions {
    flex-wrap: wrap;
  }

  .tutorial-live-actions .secondary-btn,
  .tutorial-live-actions .primary-btn {
    flex: 1 1 112px;
  }

  .faq-board {
    padding: 14px;
  }

  .faq-accordion > summary {
    min-height: 54px;
    padding: 0 14px;
  }

  .faq-search {
    min-height: 50px;
  }

  .quick-start-panel {
    padding: 18px;
  }

  .tutorial-index-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-index-card {
    min-height: 132px;
  }

  .quick-start-options {
    grid-template-columns: 1fr;
  }

  .quick-start-card {
    min-height: 118px;
  }

  .saved-page {
    min-height: auto;
    padding: 18px;
  }

  .saved-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saved-view-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saved-view-controls button {
    width: auto;
  }

  .saved-creator-showcase {
    grid-template-columns: 1fr;
  }

  .saved-board[data-saved-view-mode="list"] .saved-work-card.is-image-work {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(180px, 1fr) auto;
  }

  .account-page-grid {
    padding: 18px;
  }

  .my-stuff-page {
    min-height: auto;
    padding: 18px;
  }

  .my-stuff-desk {
    min-height: 0;
  }

  .my-stuff-hero {
    padding-right: 0;
  }

  .my-stuff-role-gate {
    padding: 18px;
  }

  .my-stuff-role-cards {
    grid-template-columns: 1fr;
  }

  .my-stuff-page.has-role .my-stuff-role-gate {
    position: sticky;
    top: 10px;
    inset: auto;
    justify-items: end;
    margin-bottom: 12px;
  }

  .my-stuff-page.has-role .my-stuff-role-panel {
    width: min(246px, 100%);
    animation: none;
  }

  .my-stuff-page.has-role .my-stuff-role-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-header {
    align-items: start;
    flex-direction: column;
  }

  .account-tabs,
  .account-profile-grid,
  .account-featured-list,
  .account-gallery-grid,
  .account-settings-panel,
  .account-fields {
    grid-template-columns: 1fr;
  }

  .account-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(104px, 104px));
  }

  .account-settings-list {
    padding-right: 0;
  }

  .account-settings-detail {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(34, 211, 238, 0.34);
    box-shadow: inset 0 14px 22px -24px rgba(34, 211, 238, 0.8);
  }

  .account-dispute-preview-list {
    grid-template-columns: 1fr;
  }

  .create-page-grid {
    padding: 6px 18px 18px;
  }

  .create-details-panel > .create-advanced-toggle {
    position: static;
    width: 188px;
    margin-bottom: 12px;
  }

  .create-intro > .create-advanced-toggle {
    position: static;
    width: 188px;
    margin: 0 auto 14px;
  }

  .create-advanced-toggle:hover,
  .create-advanced-toggle:focus-within,
  .create-advanced-toggle.is-expanded {
    width: 188px;
  }

  .explore-layout {
    padding: 0;
  }

  .create-intro {
    min-height: 220px;
    padding: 44px 8px 8px;
  }

  .create-intro h2 {
    font-size: clamp(2.2rem, 9vw, 3.3rem);
  }

  .create-intro .create-progress-pill {
    top: 0;
    right: 50%;
    transform: translateX(50%);
  }

  .create-type-grid {
    grid-template-columns: 1fr;
  }

  .create-type-card {
    min-height: 360px;
  }

  .create-next-grid {
    grid-template-columns: 1fr;
  }

  .create-form-preview {
    grid-template-columns: 1fr;
  }

  .create-category-field,
  .create-media-field {
    grid-column: 1 / -1;
  }

  .create-contract-stage,
  .contract-summary-grid,
  .create-draft-group,
  .create-draft-reference,
  .create-advanced-grid,
  .rights-option-grid {
    grid-template-columns: 1fr;
  }

  .create-advanced-grid {
    grid-template-areas:
      "rights"
      "match"
      "style"
      "drop";
  }

  .hero-panel {
    align-items: start;
    flex-direction: column;
  }

  .hero-slide {
    align-items: start;
    flex-direction: column;
  }

  .hero-carousel .hero-actions {
    align-self: start;
  }

  .right-rail {
    grid-template-columns: 1fr;
  }

  .bounty-card {
    grid-template-columns: 1fr;
  }

  .explore-card-grid {
    grid-template-columns: 1fr;
  }

  .bounty-side {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .action-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 {
    font-size: 2rem;
  }

  .explore-stats {
    grid-template-columns: 1fr;
  }

  .topbar-actions > * {
    flex: 1;
  }

  .profile-dot {
    flex: 0 0 40px;
  }

}
