.blueva-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #000;
}

.blueva-background__gradient,
.blueva-background__mesh {
  position: absolute;
  inset: 0;
}

.blueva-background__gradient {
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 30%),
    radial-gradient(circle at bottom center, rgba(29, 78, 216, 0.18), transparent 36%),
    linear-gradient(180deg, #000 0%, #04070d 48%, #000 100%);
}

.blueva-background__mesh {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.2;
}

.site-main {
  position: relative;
  padding-bottom: var(--space-24);
}

.site-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.page-section {
  padding: var(--space-8) 0;
}

.catalog-hero {
  padding-top: var(--space-8);
}

.catalog-hero__copy {
  max-width: 760px;
}

.store-detail {
  padding: var(--space-10) 0 var(--space-16);
}

.store-detail__shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.store-frame {
  padding: var(--space-5);
  border-radius: 28px;
  border: 1px solid var(--theme-border-subtle);
  background: var(--theme-bg-secondary);
  box-shadow: var(--theme-shadow-md);
}

.ui.container.store-ui-container {
  width: 100%;
  max-width: none;
}

.ui.padded.segment {
  padding: var(--space-5);
}

.ui.stackable.grid {
  display: grid;
  gap: var(--space-6);
}

.ui.aligned.segment {
  text-align: left;
}

.ui.header {
  color: var(--theme-text-primary);
  font-weight: var(--font-bold);
}

.ui.divider {
  height: 1px;
  margin: var(--space-4) 0;
  background: var(--theme-border-subtle);
}

.ui.list {
  display: grid;
  gap: var(--space-3);
}

.ui.list .item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

.ui.relaxed.list .item {
  justify-content: flex-start;
  align-items: center;
}

.ui.relaxed.list .item .content {
  min-width: 0;
}

.ui.relaxed.list .item .header {
  color: var(--theme-text-primary);
  font-weight: var(--font-semibold);
  text-decoration: none;
}

.ui.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: var(--font-semibold);
  transition: transform var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

.ui.button:hover {
  transform: translateY(-1px);
}

.ui.button:disabled,
.ui.button.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.ui.blue.button {
  background: linear-gradient(135deg, #2185d0, #1d6fb8);
  color: #fff;
}

.ui.green.button {
  background: linear-gradient(135deg, #21ba45, #1b9a39);
  color: #fff;
}

.ui.button:not(.blue):not(.green) {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--theme-border-subtle);
  color: var(--theme-text-primary);
}

.ui.button.mini {
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  font-size: var(--text-xs);
}

.ui.secondary.menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.ui.secondary.menu .item {
  text-decoration: none;
}

.ui.top.attached.header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.ui.bottom.attached.segment {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ui.top.attached.header,
.ui.bottom.attached.segment {
  border: 1px solid var(--theme-border-subtle);
}

.ui.small.segment {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--theme-border-subtle);
  background: rgba(2, 6, 23, 0.35);
}

.ui.tiny.label {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

.res.right.floated {
  margin-left: auto;
}

.store-detail__grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}

.column {
  min-width: 0;
}

.store-detail__main.twelve.wide.column,
.store-detail__sidebar.four.wide.column {
  width: 100%;
}

.store-panel {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--theme-border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: none;
}

.store-panel--flat {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.store-panel__inner {
  padding: var(--space-5);
}

.store-frame--tabs {
  margin-top: var(--space-6);
}

.store-detail__main .store-panel--flat > .store-panel__inner {
  padding: 0;
}

.store-panel--spaced {
  margin-top: var(--space-6);
}

.store-panel__heading h4 {
  margin: 0;
}

.navbar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.profile-shell {
  padding: var(--space-8) 0 var(--space-16);
}

.account-page {
  padding-top: var(--space-8);
  padding-bottom: var(--space-16);
}

.account-page--under-header {
  padding-top: var(--space-6);
}

.unified-page-header {
  padding: var(--space-20) 0 var(--space-12);
  text-align: center;
  background: linear-gradient(180deg, var(--theme-bg-secondary) 0%, var(--theme-bg-primary) 100%);
}

.unified-page-header__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  margin: 0 0 var(--space-4);
  color: var(--theme-text-primary);
}

.unified-page-header__description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: var(--leading-relaxed);
  color: var(--theme-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.unified-page-header__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-header p {
  margin: 0;
  color: var(--theme-text-secondary);
  max-width: 48rem;
}

.page-header__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.content-box {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--theme-border-subtle);
  background: rgba(7, 12, 24, 0.82);
  box-shadow: var(--theme-shadow-md);
}

.resource-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.resource-nav .tab {
  border: 1px solid var(--theme-border-subtle);
  background: rgba(15, 23, 42, 0.6);
  color: var(--theme-text-secondary);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.resource-nav .tab.active {
  color: #fff;
  border-color: rgba(6, 182, 212, 0.34);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(6, 182, 212, 0.45));
}

.account-tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.account-tab-head h2 {
  margin: 0 0 6px;
}

.account-tab-head p {
  margin: 0;
  color: var(--theme-text-secondary);
}

.account-settings-shell {
  width: 100%;
}

.account-settings-stack {
  display: grid;
  gap: 24px;
}

.account-settings-section {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
}

.account-settings-section__head h3 {
  margin: 0 0 6px;
}

.account-settings-section__head p {
  margin: 0;
  color: var(--theme-text-secondary);
}

.account-settings-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.account-settings-media {
  display: grid;
  gap: 16px;
}

.account-settings-media-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
}

.account-settings-media-card p {
  margin: 4px 0 0;
  color: var(--theme-text-secondary);
}

.account-settings-avatar-preview {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
}

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

.account-settings-fields--security {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-settings-field--full {
  grid-column: 1 / -1;
}

.account-settings-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.account-settings-field input,
.account-settings-field select,
.account-settings-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--theme-text-primary);
}

.account-settings-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.78) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.account-settings-field select option {
  background: #0f172a;
  color: #e5eef9;
}

.account-settings-preferences {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.account-security-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.account-security-card__head {
  margin-bottom: 16px;
}

.account-security-card__head strong {
  display: block;
  margin-bottom: 6px;
}

.account-security-card__head p {
  margin: 0;
  color: var(--theme-text-secondary);
}

.account-security-card__success {
  margin: 0 0 16px;
  color: #9be7a6;
  font-weight: 600;
}

.account-security-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.account-two-factor-setup {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.account-two-factor-setup__copy {
  margin: 0;
  color: var(--theme-text-secondary);
}

.account-two-factor-setup__grid {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.account-two-factor-setup__qr {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}

.account-two-factor-setup__meta {
  flex: 1 1 260px;
}

.account-two-factor-setup__meta p {
  margin: 0 0 10px;
  color: var(--theme-text-secondary);
}

.account-two-factor-setup__meta code {
  display: block;
  padding: 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  word-break: break-all;
}

.account-settings-preferences--footer {
  margin-top: 0;
}

.account-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.account-check input {
  accent-color: #38bdf8;
}

.account-notification-preferences {
  display: grid;
  gap: 14px;
}

.account-notification-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.account-notification-row p {
  margin: 6px 0 0;
  color: var(--theme-text-secondary);
}

.account-notification-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-browser-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.account-browser-notice strong {
  display: block;
  margin-bottom: 6px;
}

.account-browser-notice__status {
  margin: 0;
  color: var(--theme-text-secondary);
}

.account-browser-notice__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.messages-thread-list {
  display: grid;
  gap: 12px;
}

.messages-thread-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: inherit;
  text-decoration: none;
}

.messages-thread-copy {
  min-width: 0;
}

.messages-thread-topline strong {
  color: var(--theme-text-primary);
}

.messages-thread-excerpt,
.messages-thread-meta {
  color: var(--theme-text-secondary);
}

.messages-thread-excerpt {
  margin-top: 4px;
}

.messages-thread-meta {
  margin-top: 6px;
  font-size: 0.82rem;
}

.profile-activity-icon.notifications-type-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.1);
  color: #67e8f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.profile-activity-icon.notifications-type-icon svg {
  width: 18px;
  height: 18px;
}

.account-flash {
  margin-bottom: var(--space-5);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--theme-border-subtle);
  background: rgba(15, 23, 42, 0.85);
}

.account-flash--success {
  border-color: rgba(34, 197, 94, 0.3);
}

.account-flash--error {
  border-color: rgba(239, 68, 68, 0.3);
}

.account-flash p {
  margin: 0;
}

.account-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-7);
  border: 1px solid var(--theme-border-subtle);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.08)),
    rgba(2, 6, 23, 0.8);
  box-shadow: var(--theme-shadow-md);
}

.account-hero--compact {
  margin-bottom: var(--space-6);
}

.account-hero__eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #67e8f9;
}

.account-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.account-hero__text {
  margin: 0.9rem 0 0;
  max-width: 52rem;
  color: var(--theme-text-secondary);
}

.account-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.account-panel {
  padding: var(--space-6);
  border: 1px solid var(--theme-border-subtle);
  border-radius: 28px;
  background: rgba(7, 12, 24, 0.82);
  box-shadow: var(--theme-shadow-md);
}

.account-panel--spaced {
  margin-top: var(--space-6);
}

.account-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--space-5);
}

.account-panel__heading--subsection {
  margin-top: var(--space-7);
}

.account-panel__heading h2,
.account-panel__heading h3 {
  margin: 0;
}

.account-inline-link {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 700;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.account-stat {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(15, 23, 42, 0.72);
}

.account-stat span {
  display: block;
  color: var(--theme-text-secondary);
  font-size: 0.88rem;
}

.account-stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.5rem;
}

.account-profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-profile-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.account-profile-card h2,
.account-profile-card p,
.account-profile-card span {
  margin: 0;
}

.account-profile-card p,
.account-profile-card span {
  color: var(--theme-text-secondary);
}

.profile-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}

.profile-subpanel {
  margin-bottom: 0;
  padding: 20px;
  background: rgba(255,255,255,0.02);
}

.profile-subpanel h3 {
  margin: 0 0 18px;
}

.profile-hero-lite {
  overflow: hidden;
  padding: 0;
}

.profile-summary-strip {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-summary-strip__avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
}

.profile-summary-strip__copy strong {
  display: block;
  font-size: 1.1rem;
}

.profile-summary-strip__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  color: var(--theme-text-secondary);
}

.profile-hero-lite__banner {
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--theme-border-subtle);
}

.profile-hero-lite__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-lite__body {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 24px;
}

.profile-hero-lite__avatar {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  object-fit: cover;
  margin-top: -54px;
  border: 4px solid rgba(7, 12, 24, 0.95);
  background: rgba(7, 12, 24, 0.95);
}

.profile-hero-lite__copy h1 {
  margin: 4px 0 0;
}

.profile-hero-lite__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #67e8f9;
}

.profile-hero-lite__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: var(--theme-text-secondary);
}

.profile-hero-lite__headline {
  margin: 12px 0 0;
  color: var(--theme-text-secondary);
}

.profile-resource-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(15, 23, 42, 0.6);
  text-decoration: none;
  color: inherit;
}

.profile-resource-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-resource-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.profile-resource-card p {
  margin: 0;
  color: var(--theme-text-secondary);
  font-size: 0.92rem;
}

.account-empty {
  margin: 0;
  color: var(--theme-text-secondary);
}

.account-settings-form {
  display: grid;
  gap: var(--space-5);
}

.account-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.account-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.account-field input,
.account-field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--theme-text-primary);
}

.account-field textarea {
  resize: vertical;
}

.account-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.account-toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(15, 23, 42, 0.6);
}

.account-toggle input {
  accent-color: #38bdf8;
}

.account-preferences {
  display: grid;
  gap: 1rem;
}

.account-preference {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(15, 23, 42, 0.6);
}

.account-preference p {
  margin: 0.35rem 0 0;
  color: var(--theme-text-secondary);
}

.account-preference__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.account-settings-actions {
  display: flex;
  justify-content: flex-end;
}

.public-profile-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--theme-border-subtle);
  border-radius: 34px;
  background: rgba(7, 12, 24, 0.88);
  box-shadow: var(--theme-shadow-md);
}

.public-profile-hero__banner {
  position: relative;
  height: 280px;
}

.public-profile-hero__banner img,
.public-profile-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.public-profile-hero__banner img {
  object-fit: cover;
}

.public-profile-hero__overlay {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.88));
}

.public-profile-hero__content {
  position: relative;
  display: flex;
  align-items: end;
  gap: 1.25rem;
  padding: 0 var(--space-7) var(--space-7);
  margin-top: -72px;
}

.public-profile-hero__avatar {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  object-fit: cover;
  border: 4px solid rgba(7, 12, 24, 0.9);
  background: rgba(7, 12, 24, 0.9);
}

.public-profile-hero__copy h1 {
  margin: 0.15rem 0 0;
}

.public-profile-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.8rem;
  color: var(--theme-text-secondary);
}

.public-profile-hero__headline {
  margin: 0.85rem 0 0;
  color: var(--theme-text-secondary);
  max-width: 50rem;
}

.public-profile-copy {
  color: var(--theme-text-secondary);
  line-height: 1.7;
}

.profile-activity-list {
  display: grid;
  gap: 0.85rem;
}

.profile-activity-item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(15, 23, 42, 0.55);
  text-decoration: none;
  color: inherit;
}

.profile-activity-item__icon,
.notification-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.22);
  color: #bfdbfe;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-activity-item p {
  margin: 0.3rem 0 0;
  color: var(--theme-text-secondary);
}

.notification-list {
  display: grid;
  gap: 0.95rem;
}

.notification-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background: rgba(15, 23, 42, 0.62);
  text-decoration: none;
  color: inherit;
}

.notification-card--read {
  opacity: 0.78;
}

.notification-card__copy {
  min-width: 0;
  flex: 1;
}

.notification-card__topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.notification-card__topline span,
.notification-card__copy p {
  color: var(--theme-text-secondary);
}

.notification-card__copy p {
  margin: 0.35rem 0 0;
}

.notification-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--space-5);
}

.notification-tone--success {
  background: rgba(34, 197, 94, 0.22);
  color: #bbf7d0;
}

.notification-tone--warning {
  background: rgba(245, 158, 11, 0.22);
  color: #fde68a;
}

.notification-tone--danger {
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

@media (min-width: 1024px) {
  .account-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .account-sidebar {
    display: grid;
    gap: var(--space-5);
  }
}

@media (max-width: 860px) {
  .account-hero,
  .public-profile-hero__content,
  .account-preference,
  .notification-card__topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-profile-hero__content {
    margin-top: -48px;
  }

  .public-profile-hero__avatar {
    width: 104px;
    height: 104px;
  }

  .notification-pagination {
    flex-direction: column;
  }

  .profile-overview-grid,
  .account-settings-grid,
  .account-settings-fields,
  .account-settings-fields--security,
  .account-notification-row {
    grid-template-columns: 1fr;
  }

  .account-browser-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-summary-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-hero-lite__body {
    flex-direction: column;
    align-items: flex-start;
  }
}

.store-panel__divider {
  height: 1px;
  margin: var(--space-4) 0;
  background: var(--theme-border-subtle);
}

.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.store-tab {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--theme-bg-tertiary);
  border: 1px solid var(--theme-border-subtle);
  color: var(--theme-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-decoration: none;
}

.store-tab--active {
  color: var(--theme-text-primary);
  border-color: var(--theme-border-medium);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(59, 130, 246, 0.14));
}

.store-description {
  color: var(--theme-text-secondary);
}

.store-detail__sidebar {
  display: grid;
  gap: var(--space-6);
}

.store-channel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
}

.store-channel-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--theme-border-subtle);
  background: rgba(2, 6, 23, 0.35);
  color: var(--theme-text-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
}

.store-channel-tab--active {
  color: var(--theme-text-primary);
  border-color: var(--theme-border-medium);
  background: rgba(15, 23, 42, 0.95);
}

.store-channel-tab__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
}

.store-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
}

.store-meta-row__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.store-summary {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-4);
}

.store-summary__meta {
  display: grid;
  gap: 0.35rem;
}

.store-summary__meta strong {
  color: var(--theme-text-primary);
  font-size: var(--text-lg);
}

.store-summary__meta span {
  color: var(--theme-text-secondary);
  font-size: var(--text-sm);
}

.store-summary__price {
  color: var(--theme-text-primary) !important;
  font-weight: var(--font-bold);
}

.release-history-card {
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid var(--theme-border-subtle);
  background: rgba(2, 6, 23, 0.4);
}

.release-history-card__head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: flex-start;
}

.release-history-card__head p {
  margin: 0.35rem 0 0;
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
}

.release-history-card__body {
  margin-top: var(--space-4);
  color: var(--theme-text-secondary);
}

.release-history-card__body p {
  margin: 0;
  white-space: pre-line;
}

.release-history-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--theme-border-subtle);
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
}

.release-history-card__lock {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-lg);
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--theme-border-subtle);
  color: var(--theme-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.release-entry {
  border: 1px solid var(--theme-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: rgba(15, 23, 42, 0.55);
}

.release-entry:last-child {
  margin-bottom: 0;
}

.release-entry__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--theme-border-subtle);
  background: rgba(2, 6, 23, 0.5);
  font-size: var(--text-base);
}

.release-entry__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.release-entry__action {
  margin-left: auto;
  flex-shrink: 0;
}

.release-entry__title a {
  color: var(--theme-text-primary);
  text-decoration: none;
}

.release-entry__date {
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
}

.release-entry__body {
  padding: var(--space-5);
}


.release-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
}

.resource-download-modal {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100vw - 2rem));
  max-height: min(80vh, 680px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-2xl);
  background: transparent;
  color: var(--theme-text-primary);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.resource-download-modal::backdrop {
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.resource-download-modal.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.resource-download-modal.is-open::backdrop {
  opacity: 1;
}

.resource-download-modal__surface {
  overflow: hidden;
  border: 1px solid var(--theme-border-subtle);
  border-radius: var(--radius-2xl);
  background: var(--theme-bg-elevated);
  box-shadow: var(--theme-shadow-2xl);
  max-height: min(80vh, 680px);
}

.resource-download-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 1px solid var(--theme-border-subtle);
}

.resource-download-modal__header h3 {
  margin: 0;
  color: var(--theme-text-primary);
  font-size: var(--text-xl);
}

.resource-download-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--theme-border-subtle);
  border-radius: 999px;
  background: var(--theme-bg-secondary);
  color: var(--theme-text-primary);
  cursor: pointer;
}

.resource-download-modal__content {
  padding: var(--space-4);
  overflow-y: auto;
}

.resource-download-list {
  display: grid;
  gap: var(--space-3);
}

.resource-download-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--theme-border-subtle);
  border-radius: var(--radius-xl);
  background: var(--theme-bg-secondary);
}

.resource-download-list__copy {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.resource-download-list__copy p {
  margin: 0;
  color: var(--theme-text-secondary);
  font-size: var(--text-sm);
}

.store-description ul,
.store-description ol {
  padding-left: var(--space-6);
}

.detail-action-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.detail-action-stack .btn {
  width: 100%;
  justify-content: center;
}

.detail-action-note {
  font-size: var(--text-sm);
  color: var(--theme-text-tertiary);
  margin-bottom: 0;
}

.detail-list {
  display: grid;
  gap: 0;
}

.detail-list__item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 0 var(--space-3);
  border-bottom: 1px solid var(--theme-border-subtle);
}

.detail-list__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-list__label {
  color: var(--theme-text-secondary);
}

.detail-list__value {
  text-align: right;
  color: var(--theme-text-primary);
  font-weight: var(--font-semibold);
}

.detail-list__value--author {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.detail-list__value--rating {
  align-items: center;
}

.detail-author-badge {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(59, 130, 246, 0.2));
  border: 1px solid var(--theme-border-subtle);
  color: var(--theme-text-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}

.store-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.store-rating__star {
  color: rgba(148, 163, 184, 0.45);
  font-size: 0.95rem;
  line-height: 1;
}

.store-rating__star.is-active {
  color: #facc15;
}

.versions-table-wrap {
  overflow-x: auto;
  margin-top: 0;
}

.versions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.versions-table th,
.versions-table td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid var(--theme-border-subtle);
  text-align: left;
}

.versions-table th {
  color: var(--theme-text-tertiary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.versions-table td {
  color: var(--theme-text-secondary);
}

.versions-table__actions {
  text-align: right;
}

.versions-table__locked {
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
}

.channel-badge--inline {
  margin-left: 0.5rem;
}

.reviews-empty {
  padding: var(--space-4) 0 0;
  color: var(--theme-text-secondary);
}

.channel-card {
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid var(--theme-border-subtle);
  background: rgba(2, 6, 23, 0.35);
}

.channel-card__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

.mini-list {
  display: grid;
  gap: var(--space-2);
}

.mini-list__item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--theme-text-secondary);
  font-size: var(--text-sm);
}

.mini-list__item strong {
  color: var(--theme-text-primary);
}

.module-mini-list {
  display: grid;
  gap: var(--space-4);
}

.module-mini-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.module-mini-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--theme-bg-tertiary);
  display: grid;
  place-items: center;
  font-weight: var(--font-bold);
}

.module-mini-item__icon--legacy {
  flex: 0 0 44px;
  margin-right: var(--space-3);
}

.module-mini-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-mini-item__meta {
  min-width: 0;
}

.module-mini-item__meta a {
  color: var(--theme-text-primary);
  font-weight: var(--font-semibold);
}

.module-mini-item__meta p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--theme-text-tertiary);
}

.hero-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--theme-border-subtle);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.74)),
    linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(59, 130, 246, 0.1));
  box-shadow: var(--theme-shadow-xl);
}

.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.14), transparent 30%);
  pointer-events: none;
}

.hero-block--home::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22), rgba(59, 130, 246, 0.08) 45%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-block__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--color-brand-cyan);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: var(--space-4);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.92;
}

.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 760px;
  font-size: var(--text-lg);
}

.hero-actions,
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.metrics-grid,
.resource-grid,
.category-grid,
.detail-grid,
.release-list {
  display: grid;
  gap: var(--space-4);
}

.metric-card,
.spotlight-card,
.category-card,
.resource-card,
.side-card,
.release-card,
.auth-card {
  border: 1px solid var(--theme-border-subtle);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: var(--theme-shadow-md);
}

.metric-card,
.category-card,
.resource-card,
.side-card,
.release-card,
.auth-card {
  padding: var(--space-6);
}

.metric-label,
.section-kicker,
.detail-label {
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-value {
  display: block;
  margin-top: var(--space-2);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: var(--font-extrabold);
  color: var(--theme-text-primary);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.section-block {
  width: 84px;
  height: 4px;
  margin-bottom: var(--space-6);
  border-radius: 999px;
  background: var(--gradient-brand);
  opacity: 0.9;
}

.section-header h2,
.section-header h3 {
  margin-bottom: var(--space-2);
}

.section-note {
  max-width: 720px;
  margin-bottom: 0;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-6);
}

.resource-icon,
.resource-icon--large {
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.24), rgba(59, 130, 246, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: white;
  font-weight: var(--font-extrabold);
  text-transform: uppercase;
}

.resource-icon {
  width: 88px;
  height: 88px;
  font-size: 1.5rem;
}

.resource-icon--large {
  width: 120px;
  height: 120px;
  font-size: 2.2rem;
}

.resource-icon img,
.resource-icon--large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-pillars,
.quick-link-grid {
  display: grid;
  gap: var(--space-4);
}

.brand-pillar,
.quick-link-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-6);
  border-radius: 24px;
  border: 1px solid var(--theme-border-subtle);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--theme-shadow-md);
}

.brand-pillar::before,
.quick-link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), transparent 52%);
  pointer-events: none;
}

.quick-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.quick-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-border-medium);
  box-shadow: var(--theme-shadow-lg);
}

.quick-link-card h3,
.brand-pillar h3 {
  position: relative;
  z-index: 1;
}

.quick-link-card p,
.brand-pillar p {
  position: relative;
  z-index: 1;
}

.quick-link-card__arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  color: var(--color-brand-cyan);
  font-weight: var(--font-semibold);
}

.product-grid-home {
  display: grid;
  gap: var(--space-5);
}

.product-card-home {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--theme-border-subtle);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.68));
  box-shadow: var(--theme-shadow-md);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.product-card-home:hover {
  transform: translateY(-6px);
  border-color: var(--theme-border-medium);
  box-shadow: var(--theme-shadow-xl);
}

.product-card-home__media {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.5), rgba(2, 6, 23, 0.92));
}

.product-card-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-home__media--fallback {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-extrabold);
  color: white;
  letter-spacing: 0.08em;
}

.product-card-home__body {
  padding: var(--space-6);
}

.product-card-home__body h3 {
  margin-bottom: var(--space-3);
}

.product-card-home__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.copy-reset p:last-child,
.resource-card p:last-child,
.side-card p:last-child,
.release-card p:last-child,
.auth-card p:last-child {
  margin-bottom: 0;
}

.category-card,
.resource-card,
.side-card,
.release-card {
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.category-card:hover,
.resource-card:hover,
.release-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-border-medium);
  box-shadow: var(--theme-shadow-lg);
}

.resource-card__header,
.release-card__header,
.inline-stat-list,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
}

.inline-stat-list {
  margin-top: var(--space-4);
}

.inline-stat {
  min-width: 120px;
}

.inline-stat strong {
  display: block;
  color: var(--theme-text-primary);
  font-size: var(--text-lg);
}

.resource-card__title,
.release-card__title {
  margin-bottom: var(--space-2);
}

.resource-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.resource-card__meta,
.muted-text {
  color: var(--theme-text-tertiary);
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--theme-text-tertiary);
  font-size: var(--text-sm);
  padding-left: var(--space-1);
}

.page-breadcrumb a {
  color: var(--theme-text-secondary);
}

.detail-grid__content {
  display: grid;
  gap: var(--space-4);
}

.description-panel {
  padding: var(--space-6);
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.description-panel pre {
  white-space: pre-wrap;
}

.auth-shell {
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) 0;
}

.auth-card {
  padding: clamp(24px, 4vw, 40px);
}

.auth-card--wide {
  width: min(680px, 100%);
}

.auth-field {
  margin-top: var(--space-5);
}

.auth-help,
.auth-muted,
.auth-switch {
  margin-top: var(--space-3);
  color: var(--theme-text-tertiary);
}

.auth-switch a,
.auth-help a,
.auth-muted a {
  color: var(--theme-accent-primary);
}

.auth-field label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--theme-text-primary);
  font-weight: var(--font-semibold);
}

.auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.auth-row--stack {
  align-items: flex-start;
  flex-direction: column;
}

.auth-row--stack label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.auth-error {
  margin: var(--space-4) 0 0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(127, 29, 29, 0.2);
  color: #fecaca;
}

.auth-success {
  margin: var(--space-4) 0 0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(20, 83, 45, 0.18);
  color: #bbf7d0;
}

.auth-submit {
  margin-top: var(--space-6);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.site-shell--notice {
  padding-top: var(--space-4);
}

.auth-notice-banner {
  padding: var(--space-4) 0 0;
}

.auth-notice-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(250, 204, 21, 0.2);
  background: rgba(113, 63, 18, 0.22);
  color: #fde68a;
}

.auth-notice-banner__inner p {
  margin: 0;
}

.auth-notice-banner--integrated {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.82));
  box-shadow: var(--theme-shadow-md);
}

.auth-notice-banner__copy {
  min-width: 0;
  flex: 1 1 420px;
}

.auth-notice-banner__eyebrow {
  margin: 0 0 6px;
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-notice-banner__title {
  margin: 0;
  color: var(--theme-text-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
}

.auth-notice-banner__text {
  margin: 8px 0 0;
  color: var(--theme-text-tertiary);
  line-height: 1.7;
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--theme-border-subtle);
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(18px);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-8) 0;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--theme-text-primary);
  font-weight: var(--font-bold);
}

.site-footer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-footer__copy {
  max-width: 560px;
  margin-bottom: 0;
}

.site-footer__links {
  display: grid;
  gap: var(--space-3);
  min-width: 200px;
}

.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.checkout-shell {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.cart-checkout-window {
  padding-top: var(--space-6);
  padding-bottom: var(--space-10);
}

.cart-checkout-window__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.cart-checkout-window__hero h1 {
  margin: 10px 0 12px;
}

.cart-checkout-window__hero p {
  margin: 0;
  max-width: 48rem;
  color: var(--theme-text-secondary);
}

.cart-checkout-window__total {
  min-width: 190px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  background: linear-gradient(180deg, rgba(6, 20, 34, 0.98), rgba(5, 13, 24, 0.94));
  text-align: right;
}

.cart-checkout-window__total span {
  display: block;
  color: var(--theme-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.cart-checkout-window__total strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.cart-checkout-window__layout {
  align-items: start;
}

.checkout-main--window {
  display: grid;
  gap: 20px;
}

.checkout-window-list {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.checkout-window-list__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-window-list__row:last-child {
  border-bottom: 0;
}

.checkout-window-list__row strong,
.checkout-window-list__row span {
  color: var(--theme-text-primary);
}

.checkout-window-list__row p {
  margin: 6px 0 0;
  color: var(--theme-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.checkout-main__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.checkout-main__head h2 {
  margin: 8px 0 10px;
}

.checkout-main__head p,
.checkout-method-card__top p,
.checkout-summary-card__copy p,
.checkout-summary-card__footer p,
.checkout-method-card__state,
.checkout-method-card__feedback {
  margin: 0;
  color: var(--theme-text-secondary);
}

.checkout-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fe9ff;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.22);
}

.checkout-total-pill {
  min-width: 160px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  background: linear-gradient(180deg, rgba(8, 24, 40, 0.96), rgba(7, 18, 32, 0.88));
  text-align: right;
}

.checkout-total-pill span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--theme-text-tertiary);
}

.checkout-total-pill strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  color: var(--theme-text-primary);
}

.checkout-methods {
  display: grid;
  gap: 18px;
}

.checkout-method-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--theme-border-subtle);
  background: linear-gradient(180deg, rgba(18, 29, 48, 0.98), rgba(9, 16, 28, 0.96));
}

.checkout-method-card--window {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(11, 22, 38, 0.98), rgba(7, 14, 24, 0.98));
}

.checkout-method-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.checkout-method-card__top h3 {
  margin: 0 0 8px;
}

.checkout-method-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--theme-text-primary);
  font-size: 12px;
  font-weight: 700;
}

.checkout-method-card__button {
  min-width: 220px;
}

.checkout-method-card__state {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-method-card__paypal {
  min-height: 46px;
}

.checkout-method-card__feedback {
  margin-top: 12px;
}

.checkout-sidebar {
  min-width: 0;
}

.checkout-summary-card {
  position: sticky;
  top: 120px;
}

.checkout-summary-card--window {
  top: 24px;
}

.checkout-summary-card__resource {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.checkout-summary-card__icon {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--theme-border-subtle);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(37, 99, 235, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.checkout-summary-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-summary-card__copy h3 {
  margin: 0 0 8px;
}

.checkout-summary-card__copy p {
  font-size: 14px;
  line-height: 1.55;
}

.checkout-summary-card__list {
  margin-top: 0;
}

.checkout-summary-card__list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-summary-card__list dt,
.checkout-summary-card__list dd {
  margin: 0;
}

.checkout-summary-card__list dt {
  color: var(--theme-text-tertiary);
}

.checkout-summary-card__list dd {
  text-align: right;
  color: var(--theme-text-primary);
}

.checkout-summary-card__price-row dd {
  font-size: 18px;
  font-weight: 700;
}

.checkout-summary-card__footer {
  margin-top: 20px;
}

.checkout-summary-card__footer p {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.cart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.cart-main {
  min-width: 0;
}

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

.cart-summary-card {
  position: sticky;
  top: 120px;
  padding: 24px;
}

.cart-summary-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.cart-summary-head h2 {
  margin: 10px 0 8px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.cart-summary-head p {
  margin: 0;
  color: var(--theme-text-secondary);
}

.cart-summary-total {
  min-width: 150px;
  text-align: right;
}

.cart-summary-total span {
  display: block;
  color: var(--theme-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.cart-summary-total strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  color: var(--theme-text-primary);
}

.cart-summary-breakdown {
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-summary-row span {
  color: var(--theme-text-secondary);
}

.cart-summary-row strong {
  color: var(--theme-text-primary);
  text-align: right;
}

.cart-summary-row.is-total strong {
  font-size: 18px;
}

.cart-summary-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cart-payment-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cart-payment-actions form > .btn {
  margin-top: 16px;
}

.cart-payment-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cart-payment-choice {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
}

.cart-payment-choice.is-disabled {
  cursor: not-allowed;
}

.cart-payment-choice__box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.cart-payment-choice__box i {
  font-size: 2.15rem;
  color: var(--theme-text-primary);
  line-height: 1;
  font-style: normal !important;
  display: inline-block;
}

.cart-payment-choice:hover .cart-payment-choice__box {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
}

.cart-payment-choice.is-selected .cart-payment-choice__box {
  border-color: rgba(56, 189, 248, 0.65);
  background: linear-gradient(180deg, rgba(7, 31, 49, 0.98), rgba(5, 18, 30, 0.98));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3), 0 18px 40px rgba(2, 132, 199, 0.16);
}

.cart-payment-choice.is-disabled .cart-payment-choice__box {
  opacity: 0.45;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.cart-item__main {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.cart-item__icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--theme-border-subtle);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(37, 99, 235, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.cart-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__copy {
  min-width: 0;
}

.cart-item__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cart-item__copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.cart-item__copy h2 a {
  color: var(--theme-text-primary);
  text-decoration: none;
}

.cart-item__copy p {
  margin: 0 0 10px;
  color: var(--theme-text-secondary);
}

.cart-item__price {
  flex-shrink: 0;
  color: var(--theme-text-primary);
  font-size: 15px;
  font-weight: 800;
}

.cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-item__meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--theme-text-secondary);
  font-size: 13px;
}

.cart-item__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.cart-product-card__footer {
  align-items: center;
}

.cart-product-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--theme-text-primary);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.cart-remove-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .brand-pillars,
  .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
    align-items: start;
  }

  .store-detail__grid {
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    align-items: start;
  }
}

@media (max-width: 767px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .cart-shell {
    grid-template-columns: 1fr;
  }

  .cart-products-grid {
    grid-template-columns: 1fr;
  }

  .cart-checkout-window__hero,
  .cart-summary-head,
  .cart-item__topline {
    flex-direction: column;
  }

  .checkout-main__head {
    flex-direction: column;
  }

  .checkout-total-pill {
    width: 100%;
    text-align: left;
  }

  .checkout-summary-card {
    position: static;
  }

  .cart-summary-card {
    position: static;
  }

  .cart-item {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-product-card__footer,
  .cart-product-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-payment-picker {
    grid-template-columns: 1fr 1fr;
  }

  .cart-item__main {
    align-items: flex-start;
  }

  .cart-item__actions {
    width: 100%;
  }

  .cart-item__actions .btn,
  .cart-item__actions form {
    width: 100%;
  }

  .site-shell {
    width: min(100% - 24px, 1280px);
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .resource-icon,
  .resource-icon--large {
    margin: 0 auto;
  }

  .release-history-card__head {
    flex-direction: column;
  }

  .store-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .store-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .resource-download-list__item {
    align-items: stretch;
    flex-direction: column;
  }

  .release-entry__date {
    margin-left: 0;
  }

  .detail-list__item {
    align-items: flex-start;
  }
}

@media (max-width: 1180px) {
  .cart-products-grid {
    grid-template-columns: 1fr;
  }
}

[data-theme="light"] .content-box,
[data-theme="light"] .account-panel,
[data-theme="light"] .account-hero,
[data-theme="light"] .public-profile-hero {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(59, 130, 246, 0.14);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .account-hero {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06)),
    rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .account-hero__eyebrow,
[data-theme="light"] .profile-hero-lite__eyebrow,
[data-theme="light"] .account-inline-link {
  color: #2563eb;
}

[data-theme="light"] .account-stat,
[data-theme="light"] .profile-resource-card,
[data-theme="light"] .account-settings-section,
[data-theme="light"] .account-settings-media-card,
[data-theme="light"] .account-security-card,
[data-theme="light"] .account-check,
[data-theme="light"] .account-notification-row,
[data-theme="light"] .account-browser-notice,
[data-theme="light"] .messages-thread-item {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(59, 130, 246, 0.12);
}

[data-theme="light"] .account-settings-field input,
[data-theme="light"] .account-settings-field select,
[data-theme="light"] .account-settings-field textarea,
[data-theme="light"] .account-field input,
[data-theme="light"] .account-field textarea {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(59, 130, 246, 0.14);
  color: var(--theme-text-primary);
}

[data-theme="light"] .account-settings-field select {
  color-scheme: light;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15, 23, 42, 0.72) 50%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

[data-theme="light"] .account-settings-field select option {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .account-two-factor-setup__meta code {
  background: rgba(241, 245, 249, 0.95);
  color: var(--theme-text-primary);
}

[data-theme="light"] .profile-activity-icon.notifications-type-icon {
  background: rgba(59, 130, 246, 0.08);
  color: #2563eb;
}

[data-theme="light"] .account-flash {
  background: rgba(255, 255, 255, 0.96);
}

[data-theme="light"] .cart-summary-row {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .cart-payment-choice__box {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(59, 130, 246, 0.12);
}

[data-theme="light"] .cart-payment-choice:hover .cart-payment-choice__box {
  border-color: rgba(59, 130, 246, 0.22);
}

[data-theme="light"] .cart-payment-choice.is-selected .cart-payment-choice__box {
  border-color: rgba(37, 99, 235, 0.34);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.98));
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.18), 0 18px 40px rgba(59, 130, 246, 0.12);
}

[data-theme="light"] .cart-item__meta span,
[data-theme="light"] .cart-remove-btn {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(59, 130, 246, 0.12);
  color: var(--theme-text-primary);
}

[data-theme="light"] .cart-remove-btn:hover {
  border-color: rgba(59, 130, 246, 0.22);
  background: rgba(239, 246, 255, 0.96);
}

[data-theme="light"] .resource-nav .tab {
  background: rgba(255, 255, 255, 0.92);
  color: var(--theme-text-secondary);
  border-color: rgba(59, 130, 246, 0.14);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .resource-nav .tab:hover {
  background: rgba(248, 250, 252, 0.98);
  color: var(--theme-text-primary);
  border-color: rgba(59, 130, 246, 0.24);
}

[data-theme="light"] .resource-nav .tab.active {
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.32);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(6, 182, 212, 0.88));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.legal-shell {
  padding-top: calc(var(--navbar-height) + var(--space-10));
  padding-bottom: var(--space-16);
}

.legal-page-header {
  margin-bottom: var(--space-6);
}

.legal-content {
  line-height: 1.75;
}

.legal-last-updated {
  margin-top: 0;
  margin-bottom: var(--space-8);
  color: var(--theme-text-secondary);
}

.legal-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.legal-content h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: var(--theme-text-secondary);
}

.legal-content ul {
  margin: 0 0 var(--space-5);
  padding-left: 1.4rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.legal-closing {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--theme-border-subtle);
}
