:root {
  color-scheme: dark;
  --bg: #08070c;
  --bg-soft: #111018;
  --panel: #17131d;
  --panel-strong: #201827;
  --panel-line: #33243d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #fbf7ff;
  --muted: #b7adbf;
  --faint: #7f7289;
  --field-text: #ffffff;
  --header-bg: rgba(8, 7, 12, 0.88);
  --body-gradient:
    linear-gradient(180deg, rgba(255, 45, 103, 0.1), transparent 260px),
    linear-gradient(180deg, #0b0810 0%, #08070c 46%, #0d0a12 100%);
  --grid-line-a: rgba(255, 255, 255, 0.025);
  --grid-line-b: rgba(255, 255, 255, 0.02);
  --pink: #ff2d67;
  --pink-strong: #ff0f59;
  --teal: #1fd0c2;
  --amber: #ffbf47;
  --green: #45de83;
  --blue: #5e8dff;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --header-height: 74px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6fb;
  --bg-soft: #eef1f7;
  --panel: #ffffff;
  --panel-strong: #f8f9fd;
  --panel-line: #d9deea;
  --border: rgba(25, 23, 34, 0.1);
  --border-strong: rgba(25, 23, 34, 0.16);
  --text: #17131f;
  --muted: #5e6472;
  --faint: #8991a1;
  --field-text: #17131f;
  --header-bg: rgba(255, 255, 255, 0.88);
  --body-gradient:
    linear-gradient(180deg, rgba(255, 45, 103, 0.09), transparent 270px),
    linear-gradient(180deg, #ffffff 0%, #f5f6fb 48%, #edf1f8 100%);
  --grid-line-a: rgba(25, 23, 34, 0.04);
  --grid-line-b: rgba(25, 23, 34, 0.035);
  --shadow: 0 18px 36px rgba(30, 32, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--body-gradient);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

main {
  width: min(1520px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 58px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) auto minmax(0, 2fr);
  align-items: center;
  gap: 18px;
  min-height: var(--header-height);
  padding: 12px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink), #7714ce);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.06rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.online-counter {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  min-width: max-content;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.88rem;
}

.online-counter strong {
  color: var(--text);
  font-size: 1rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(69, 222, 131, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.category-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  white-space: nowrap;
}

button.category-nav__item {
  appearance: none;
}

.category-nav__item span {
  color: var(--faint);
  font-size: 0.78rem;
}

.category-nav__item--utility {
  border-style: dashed;
  color: var(--faint);
}

.category-nav__item--tool {
  border-color: rgba(31, 208, 194, 0.28);
  color: var(--teal);
}

.category-nav__item.is-active,
.category-nav__item:hover {
  border-color: rgba(255, 45, 103, 0.6);
  background: rgba(255, 45, 103, 0.16);
  color: #fff;
}

.category-nav__item.is-active span,
.category-nav__item:hover span {
  color: rgba(255, 255, 255, 0.72);
}

.theme-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  color: var(--pink);
}

.theme-toggle:hover {
  border-color: rgba(255, 45, 103, 0.54);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: end;
  padding: 34px 0 20px;
}

.hero__content {
  max-width: 780px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 5vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.hero-search__studio {
  min-height: 52px;
  padding: 0 14px;
  white-space: nowrap;
}

.search-box,
.select-control,
.date-control {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--panel);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 8px 0 14px;
}

.search-box svg,
.icon-button svg,
.button svg,
.back-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.search-box svg {
  color: var(--pink);
}

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

.search-box input::placeholder {
  color: var(--faint);
}

.search-box__submit {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--pink) 48%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--pink) 12%, transparent);
  color: var(--pink);
  cursor: pointer;
}

.search-box__submit:hover {
  border-color: var(--pink);
  background: color-mix(in srgb, var(--pink) 20%, transparent);
}

.icon-button,
.button,
.text-button,
.filter-chip {
  min-width: 0;
  border: 0;
  color: inherit;
}

.icon-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
}

.icon-button:hover {
  border-color: rgba(255, 45, 103, 0.6);
  color: var(--pink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.button--primary {
  background: linear-gradient(135deg, var(--pink), #ff6a3d);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 45, 103, 0.22);
}

.button--ghost {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

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

.button--load {
  width: min(260px, 100%);
  margin: 26px auto 0;
  border: 1px solid rgba(255, 45, 103, 0.42);
  background: rgba(255, 45, 103, 0.12);
  color: #fff;
}

.text-button {
  padding: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 46px;
  height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 45, 103, 0.62);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ff6a3d);
  box-shadow: 0 18px 34px rgba(255, 45, 103, 0.24), 0 8px 18px rgba(0, 0, 0, 0.32);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  box-shadow: 0 20px 40px rgba(255, 45, 103, 0.3), 0 10px 22px rgba(0, 0, 0, 0.36);
  transform: translateY(-2px) scale(1);
}

.back-to-top svg,
.back-to-top i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

body.filters-open .back-to-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
}

.quick-stats,
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 24px;
}

.quick-stat,
.metric-tile {
  min-height: 92px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
}

.quick-stat span,
.metric-tile span {
  color: var(--muted);
  font-size: 0.84rem;
}

.quick-stat strong,
.metric-tile strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1;
}

#lastSnapshot {
  color: var(--teal);
}

.page-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.filters-panel,
.chart-panel,
.sessions-panel,
.activity-windows,
.similar-panel,
.studio-form,
.roster-panel,
.claim-checker,
.claim-summary,
.claim-badge-panel,
.claim-guide {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  box-shadow: var(--shadow);
}

.filters-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  max-height: calc(100vh - var(--header-height) - 34px);
  padding: 16px;
  overflow: auto;
}

.filters-backdrop,
.filters-panel__handle,
.filters-panel__close,
.filters-panel__footer,
.mobile-filter-button {
  display: none;
}

.filters-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.filters-panel h2 {
  margin: 0;
  font-size: 1.18rem;
}

.filter-group {
  display: grid;
  gap: 11px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-strong) 68%, transparent);
}

.filter-group h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.2;
}

.filter-select {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.filter-select select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: 0;
  padding: 0 11px;
  background: var(--panel-strong);
  color: var(--field-text);
  font-weight: 800;
}

.filter-select select:hover {
  border-color: var(--border-strong);
}

.filter-select select:focus {
  border-color: rgba(31, 208, 194, 0.55);
  box-shadow: 0 0 0 3px rgba(31, 208, 194, 0.12);
}

.filter-select option {
  background: #160f1d;
  color: #ffffff;
}

:root[data-theme="light"] .filter-select option {
  background: #ffffff;
  color: var(--text);
}

.side-rank {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-strong) 68%, transparent);
}

.side-rank__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.side-rank__heading h3 {
  margin: 0;
  font-size: 0.95rem;
}

.side-rank__heading span {
  color: var(--faint);
  font-size: 0.74rem;
}

.side-rank__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.side-rank__item span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 45, 103, 0.16);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.side-rank__item strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-rank__item em {
  color: var(--amber);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.side-rank__item:hover strong {
  color: var(--pink);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 6px 7px 0;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--muted);
  font-size: 0.84rem;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: rgba(31, 208, 194, 0.55);
  background: rgba(31, 208, 194, 0.12);
  color: var(--text);
}

.model-area {
  min-width: 0;
}

.model-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.model-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-toolbar h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.select-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  white-space: nowrap;
}

.date-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  white-space: nowrap;
}

.date-control span {
  font-size: 0.86rem;
}

.select-control select,
.date-control input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--field-text);
}

.select-control option {
  background: #160f1d;
}

:root[data-theme="light"] .select-control option {
  background: #ffffff;
  color: var(--text);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.model-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.model-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 45, 103, 0.48);
}

.model-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--panel-strong);
}

.model-card__media img,
.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-preview__image {
  position: relative;
  z-index: 0;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.media-preview.is-loaded .media-preview__image {
  opacity: 1;
}

.media-preview.is-failed .media-preview__image {
  display: none;
}

.model-card__media::after,
.detail-hero__media::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 46%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.media-preview__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(31, 208, 194, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 45, 103, 0.08)),
    color-mix(in srgb, var(--panel-strong) 82%, #777 18%);
  color: var(--muted);
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.media-preview.is-loaded .media-preview__placeholder {
  visibility: hidden;
  opacity: 0;
}

.media-preview.is-failed .media-preview__placeholder,
.media-preview.is-loading .media-preview__placeholder {
  visibility: visible;
  opacity: 1;
}

.media-preview__signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.media-preview__node {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid rgba(31, 208, 194, 0.62);
  border-radius: 999px;
  background: rgba(9, 7, 12, 0.44);
  color: var(--teal);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.media-preview__node--camera {
  border-color: rgba(255, 180, 44, 0.74);
  color: var(--amber);
}

.media-preview__node svg {
  width: 21px;
  height: 21px;
}

.media-preview__dots {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.media-preview__dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.5;
  animation: media-dot-pulse 900ms ease-in-out infinite;
}

.media-preview__dots i:nth-child(3),
.media-preview__dots i:nth-child(4),
.media-preview__dots i:nth-child(5) {
  color: var(--amber);
}

.media-preview__dots i:nth-child(2) {
  animation-delay: 110ms;
}

.media-preview__dots i:nth-child(3) {
  animation-delay: 220ms;
}

.media-preview__dots i:nth-child(4) {
  animation-delay: 330ms;
}

.media-preview__dots i:nth-child(5) {
  animation-delay: 440ms;
}

.media-preview__text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 66%, var(--muted));
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes media-dot-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.status-badge,
.viewer-pill {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-badge {
  top: 10px;
  left: 10px;
  gap: 6px;
  min-height: auto;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.88);
  text-transform: uppercase;
}

.status-badge.is-live::before,
.roster-status.is-live::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #23d66f;
  box-shadow: 0 0 0 2px rgba(35, 214, 111, 0.2), 0 0 10px rgba(35, 214, 111, 0.55);
  content: "";
  flex: 0 0 auto;
}

.viewer-pill {
  right: 10px;
  bottom: 10px;
  gap: 5px;
  padding: 0 9px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.trophy-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #181018;
  font-size: 0.78rem;
  font-weight: 900;
}

.trophy-badge.is-gold {
  background: linear-gradient(135deg, #ffe08a, var(--amber));
}

.trophy-badge.is-silver {
  background: linear-gradient(135deg, #f7f9ff, #a9b2c6);
}

.viewer-pill svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.model-card__body {
  padding: 14px;
}

.model-card__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-bottom: 12px;
}

.model-card__title--link,
.model-card__metrics--link {
  color: inherit;
  text-decoration: none;
}

.model-card__title--link:hover h3,
.model-card__metrics--link:hover strong {
  color: var(--pink);
}

.model-card__title h3 {
  max-width: 100%;
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-card__title span,
.detail-username {
  color: var(--muted);
  font-size: 0.84rem;
}

.model-card__title strong {
  color: var(--amber);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.signal-list span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(31, 208, 194, 0.28);
  border-radius: 999px;
  background: rgba(31, 208, 194, 0.1);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
}

.signal-list .signal-list__locale {
  border-color: rgba(255, 191, 71, 0.34);
  background: rgba(255, 191, 71, 0.1);
}

.model-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.model-card__metrics div,
.model-card__metric {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.model-card__metrics--link:hover .model-card__metric {
  border-color: rgba(255, 45, 103, 0.4);
  background: rgba(255, 45, 103, 0.08);
}

.model-card__metrics span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
}

.model-card__metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.tag-list span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.76rem;
}

.trend-positive {
  color: var(--green) !important;
}

.trend-negative {
  color: var(--pink) !important;
}

.goal-meter {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid rgba(255, 191, 71, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 191, 71, 0.08);
}

.goal-meter div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.goal-meter span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goal-meter strong {
  min-width: 0;
  color: var(--amber);
  font-size: 0.78rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.goal-meter__message {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.goal-meter .goal-meter__amount {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.goal-meter > i {
  display: block;
  height: 6px;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--pink));
}

.goal-meter--detail {
  width: 100%;
  max-width: 760px;
  margin: 0 0 22px;
}

.model-card__actions,
.detail-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.model-card__actions .button {
  flex: 1;
}

.timezone-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.timezone-control label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timezone-control select {
  min-width: 140px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px;
  margin: -4px 0 16px;
}

.active-filters__summary,
.active-filter {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.active-filters__summary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.active-filter {
  border: 1px solid rgba(255, 45, 103, 0.32);
  background: rgba(255, 45, 103, 0.1);
  color: var(--text);
}

.active-filter--button {
  border: 1px solid rgba(31, 208, 194, 0.34);
  background: rgba(31, 208, 194, 0.1);
  color: var(--teal);
}

.empty-state {
  padding: 46px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.info-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 22px;
  margin-top: 46px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.info-band h2 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.info-band p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-band__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.info-band__list span {
  min-height: 44px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
}

.static-page {
  width: min(1180px, calc(100% - 32px));
}

.static-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 45, 103, 0.16), transparent 44%),
    var(--panel);
  box-shadow: var(--shadow);
}

.static-hero h1 {
  max-width: 760px;
}

.static-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.static-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.static-nav {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.static-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.static-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.static-content {
  display: grid;
  gap: 16px;
}

.static-section {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.static-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.static-section p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.75;
}

.static-section p + p {
  margin-top: 12px;
}

.static-section ul {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.static-section li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.55;
}

.static-section li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1520px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a:hover,
.back-link:hover {
  color: var(--pink);
}

.detail-page {
  padding-top: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  margin-bottom: 16px;
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.detail-hero__media {
  position: relative;
  display: block;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.detail-hero__media:hover,
.detail-hero__media:focus-visible {
  border-color: rgba(255, 45, 103, 0.54);
}

.detail-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 45, 103, 0.13), rgba(31, 208, 194, 0.07)), var(--panel);
}

.detail-hero__content h1 {
  max-width: 900px;
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.detail-hero__content p:not(.eyebrow, .detail-username) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 4px 0 22px;
}

.detail-facts span {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 800;
}

.detail-facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
}

.detail-facts em {
  font-style: normal;
}

.detail-username {
  margin-bottom: 20px;
}

.metric-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
}

.detail-layout > *,
.review-grid > * {
  min-width: 0;
}

.activity-windows {
  margin: 0 0 16px;
  padding: 20px;
}

.activity-window-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.activity-window {
  display: grid;
  min-width: 0;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-strong) 78%, transparent);
}

.activity-window div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.activity-window span,
.activity-window em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.activity-window strong {
  color: var(--text);
  font-size: 1rem;
  white-space: nowrap;
}

.activity-window > i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.activity-window > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--pink), var(--amber));
}

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

.chart-panel,
.sessions-panel {
  padding: 20px;
}

.section-heading {
  margin-bottom: 18px;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 12px;
  min-height: 260px;
  align-items: end;
}

.bar-chart__item {
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto;
  gap: 9px;
  min-width: 0;
  text-align: center;
}

.bar-chart__item span,
.bar-chart__item strong {
  font-size: 0.78rem;
}

.bar-chart__item span {
  color: var(--muted);
}

.bar-chart__track {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.bar-chart__track i {
  position: absolute;
  inset: auto 0 0;
  display: block;
  min-height: 12px;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--amber), var(--pink));
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(12, minmax(16px, 1fr));
  gap: 8px;
}

.schedule-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.schedule-heatmap {
  display: grid;
  grid-template-columns: 36px repeat(24, minmax(18px, 1fr));
  gap: 6px;
  min-width: 860px;
  align-items: center;
}

.schedule-heatmap__hour,
.schedule-heatmap__day {
  color: var(--muted);
  font-size: 0.72rem;
}

.schedule-heatmap__day {
  text-align: right;
}

.heatmap__cell,
.schedule-heatmap__cell,
.heatmap-legend i {
  aspect-ratio: 1;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.level-1 {
  background: rgba(94, 141, 255, 0.22);
}

.level-2 {
  background: rgba(31, 208, 194, 0.4);
}

.level-3 {
  background: rgba(255, 191, 71, 0.68);
}

.level-4 {
  background: rgba(255, 45, 103, 0.88);
}

.heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.heatmap-legend i {
  width: 14px;
  height: 14px;
}

:root[data-theme="light"] .bar-chart__track,
:root[data-theme="light"] .heatmap__cell,
:root[data-theme="light"] .schedule-heatmap__cell,
:root[data-theme="light"] .heatmap-legend i {
  background: rgba(25, 23, 34, 0.08);
}

.heatmap-legend .level-1,
:root[data-theme="light"] .heatmap-legend .level-1 {
  background: rgba(94, 141, 255, 0.22);
}

.heatmap-legend .level-2,
:root[data-theme="light"] .heatmap-legend .level-2 {
  background: rgba(31, 208, 194, 0.4);
}

.heatmap-legend .level-3,
:root[data-theme="light"] .heatmap-legend .level-3 {
  background: rgba(255, 191, 71, 0.68);
}

.heatmap-legend .level-4,
:root[data-theme="light"] .heatmap-legend .level-4 {
  background: rgba(255, 45, 103, 0.88);
}

.sessions-panel {
  margin-top: 16px;
}

.session-table {
  overflow-x: auto;
}

.session-table__head,
.session-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 0.7fr;
  gap: 12px;
  min-width: 720px;
  padding: 13px 0;
}

.session-table__head {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.session-table__row {
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 16px;
}

.activity-log {
  display: grid;
  gap: 12px;
}

.activity-log__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.activity-log__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.activity-log__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(31, 208, 194, 0.28);
  border-radius: var(--radius);
  background: rgba(31, 208, 194, 0.1);
  color: var(--teal);
}

.activity-log__icon svg {
  width: 18px;
  height: 18px;
}

.activity-log__item strong {
  display: block;
  margin-bottom: 5px;
}

.activity-log__item p,
.activity-log__item time {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.activity-log__item time {
  white-space: nowrap;
}

.empty-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  gap: 10px;
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-inline svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.similar-panel {
  margin-top: 16px;
  padding: 20px;
}

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

.mini-model-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.mini-model-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--panel);
}

.mini-model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-model-card__body {
  padding: 12px;
}

.mini-model-card__body h3 {
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-model-card__body span {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-model-card__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.mini-model-card__stats em {
  color: var(--amber);
  font-style: normal;
  font-weight: 900;
}

.studio-page {
  padding-top: 24px;
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.studio-hero h1 {
  margin-bottom: 12px;
}

.studio-hero p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.studio-hero__status {
  display: grid;
  gap: 9px;
}

.studio-hero__status span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
}

.studio-hero__status svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.studio-shell {
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.studio-shell,
.studio-shell > *,
.claim-shell,
.claim-shell > * {
  min-width: 0;
}

.studio-form,
.roster-panel {
  padding: 20px;
}

.studio-form {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.studio-textarea {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.studio-textarea textarea {
  width: 100%;
  min-height: 230px;
  resize: vertical;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: 0;
  padding: 13px;
  background: var(--panel-strong);
  color: var(--field-text);
  line-height: 1.5;
}

.studio-textarea textarea:focus,
.date-control:focus-within,
.select-control:focus-within {
  border-color: rgba(31, 208, 194, 0.54);
}

.studio-controls {
  justify-content: stretch;
  margin-bottom: 14px;
}

.studio-controls .select-control,
.studio-controls .date-control {
  flex: 1 1 180px;
}

.studio-actions {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.studio-message {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.quick-stats--studio {
  margin-top: 0;
}

.roster-panel {
  min-width: 0;
}

.roster-table {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.roster-table__head,
.roster-table__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) 82px repeat(4, 74px) 90px 90px 76px 98px;
  gap: 12px;
  align-items: center;
  min-width: 1060px;
  padding: 13px 0;
}

.roster-table__head {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roster-table__row {
  border-bottom: 1px solid var(--border);
}

.roster-profile {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.roster-profile img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: cover;
}

.roster-profile__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink), var(--amber));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}

.roster-profile strong,
.roster-profile em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster-profile em,
.roster-table__row em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.roster-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: auto;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roster-status.is-live {
  color: rgba(255, 255, 255, 0.94);
}

.roster-actions {
  display: flex;
  gap: 7px;
}

.roster-actions .icon-button {
  width: 38px;
  height: 38px;
}

.missing-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 191, 71, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 191, 71, 0.08);
}

.missing-panel strong {
  color: var(--amber);
}

.missing-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.missing-panel span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.82rem;
}

.claim-page {
  padding-top: 24px;
}

.claim-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.claim-hero p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.claim-hero__levels {
  display: grid;
  gap: 9px;
}

.claim-hero__levels span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
}

.claim-hero__levels svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.claim-shell {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.claim-checker,
.claim-summary,
.claim-badge-panel,
.claim-guide {
  padding: 20px;
}

.claim-checker {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.claim-form {
  display: grid;
  gap: 12px;
}

.claim-input {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.claim-input input {
  min-height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: 0;
  padding: 0 13px;
  background: var(--panel-strong);
  color: var(--field-text);
}

.claim-input input:focus {
  border-color: rgba(31, 208, 194, 0.54);
}

.claim-note,
.claim-message {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.claim-results {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.claim-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: center;
}

.claim-summary__profile {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.claim-summary__profile img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius);
  object-fit: cover;
}

.claim-summary__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink), var(--amber));
  color: #fff;
  font-weight: 900;
}

.claim-summary h2 {
  margin-bottom: 5px;
  font-size: clamp(1.35rem, 2.5vw, 2.3rem);
}

.claim-summary__profile span {
  color: var(--muted);
}

.claim-summary__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.claim-summary__stats span {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.claim-summary__stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.02rem;
}

.claim-summary__empty p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.claim-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.claim-badge-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.claim-badge-card.is-locked {
  opacity: 0.7;
}

.claim-badge-preview {
  display: grid;
  gap: 8px;
  min-height: 210px;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.claim-badge-preview--gold {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 191, 71, 0.28), transparent 36%),
    linear-gradient(135deg, #1d1216, #17131d);
}

.claim-badge-preview--silver {
  background:
    radial-gradient(circle at 78% 22%, rgba(210, 218, 236, 0.24), transparent 36%),
    linear-gradient(135deg, #111827, #17131d);
}

.claim-badge-preview--bronze {
  background:
    radial-gradient(circle at 78% 22%, rgba(205, 127, 50, 0.28), transparent 36%),
    linear-gradient(135deg, #18120f, #17131d);
}

.claim-badge-preview svg {
  width: 42px;
  height: 42px;
  color: var(--amber);
}

.claim-badge-preview strong {
  font-size: 1.25rem;
}

.claim-badge-preview span,
.claim-badge-preview em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 800;
}

.claim-badge-card__body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.claim-badge-card__body h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.claim-badge-card__body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.claim-status {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 45, 103, 0.1);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
}

.claim-status.is-ready {
  background: rgba(31, 208, 194, 0.12);
  color: var(--teal);
}

.claim-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.claim-steps article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.claim-steps strong {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 45, 103, 0.16);
  color: #fff;
}

.claim-steps span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.claim-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.claim-link-box span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
  }

  .category-nav {
    justify-content: flex-start;
    flex: 1;
  }

  .model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-shell,
  .claim-shell {
    grid-template-columns: 1fr;
  }

  .activity-window-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-form,
  .claim-checker {
    position: static;
  }

  .similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  main,
  .site-footer {
    width: min(100% - 24px, 920px);
  }

  .hero,
  .page-shell,
  .info-band,
  .static-layout,
  .detail-hero__grid,
  .detail-layout,
  .review-grid,
  .studio-hero,
  .claim-hero,
  .claim-summary,
  .detail-facts {
    grid-template-columns: 1fr;
  }

  .hero-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-search__studio {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .quick-stats,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-panel {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 30;
    display: block;
    max-height: min(82vh, 720px);
    padding: 10px 16px 16px;
    border-radius: 16px 16px var(--radius) var(--radius);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .filters-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .filters-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    background: rgba(5, 3, 9, 0.66);
    backdrop-filter: blur(3px);
  }

  body.filters-open {
    overflow: hidden;
  }

  .filters-panel__handle {
    display: block;
    width: 46px;
    height: 5px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
  }

  .filters-panel__clear {
    display: none;
  }

  .filters-panel__close {
    display: inline-grid;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .filters-panel__footer {
    position: sticky;
    bottom: -16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 8px;
    margin: 16px -16px -16px;
    padding: 12px 16px 16px;
    background: color-mix(in srgb, var(--panel) 96%, transparent);
    box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.16);
  }

  .filters-panel__footer .button {
    width: 100%;
  }

  .filters-panel__footer .button:first-child {
    background: linear-gradient(135deg, var(--pink), #ff6a3d);
    color: #fff;
  }

  .static-nav {
    position: static;
  }

  .detail-hero__media {
    min-height: auto;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  main,
  .site-footer {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .site-header {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    gap: 12px;
    padding: 10px 12px;
  }

  .header-actions {
    max-width: 100%;
    overflow: hidden;
  }

  .category-nav {
    max-width: 100%;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand small,
  .online-counter span:not(.pulse-dot),
  .theme-toggle span {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.06;
  }

  .hero__content,
  .detail-hero__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .detail-hero__content {
    padding: 22px;
  }

  .detail-hero__content h1 {
    font-size: 1.82rem;
    line-height: 1.12;
  }

  .goal-meter div {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .goal-meter strong {
    text-align: left;
    white-space: normal;
  }

  .model-toolbar__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 0.82fr);
    width: 100%;
  }

  .mobile-filter-button {
    display: inline-flex;
    border-color: rgba(255, 45, 103, 0.76);
    color: var(--text);
  }

  .mobile-filter-button svg {
    width: 17px;
    height: 17px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
  }

  .back-to-top span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .quick-stats,
  .metric-strip,
  .activity-window-grid,
  .model-grid,
  .info-band__list {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 16px;
  }

  .quick-stat {
    min-height: 68px;
    padding: 12px;
  }

  .quick-stat span {
    font-size: 0.76rem;
  }

  .quick-stat strong {
    margin-top: 6px;
    font-size: 1.28rem;
    line-height: 1.05;
  }

  .model-toolbar,
  .site-footer,
  .detail-actions,
  .studio-controls,
  .studio-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .select-control,
  .date-control,
  .button,
  .button--load {
    width: 100%;
  }

  .model-toolbar__actions .select-control {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .model-toolbar__actions .select-control span {
    display: none;
  }

  .model-toolbar__actions .select-control select {
    min-width: 0;
    width: 100%;
  }

  .model-card__media {
    aspect-ratio: 16 / 13;
  }

  .bar-chart {
    gap: 7px;
  }

  .bar-chart__item {
    grid-template-rows: auto minmax(130px, 1fr) auto;
  }

  .heatmap {
    grid-template-columns: repeat(8, minmax(18px, 1fr));
  }

  .similar-grid,
  .claim-badge-grid,
  .claim-steps,
  .quick-stats--studio {
    grid-template-columns: 1fr;
  }

  .claim-link-box {
    grid-template-columns: 1fr;
  }

  .activity-log__item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .activity-log__item time {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
